MCPcopy Create free account

hub / github.com/tdewolff/canvas / functions

Functions1,447 in github.com/tdewolff/canvas

FunctionTestPathParseSVGPathErrors
(t *testing.T)
path_test.go:780
FunctionTestPathRelate
(t *testing.T)
path_intersection_test.go:1369
FunctionTestPathReplace
(t *testing.T)
path_test.go:445
FunctionTestPathReverse
(t *testing.T)
path_test.go:713
FunctionTestPathSame
(t *testing.T)
path_test.go:40
FunctionTestPathSettle
(t *testing.T)
path_intersection_test.go:749
FunctionTestPathSimplifyVisvalingamWhyatt
(t *testing.T)
path_simplify_test.go:9
FunctionTestPathSplit
(t *testing.T)
path_test.go:566
FunctionTestPathSplitAt
(t *testing.T)
path_test.go:599
FunctionTestPathStroke
(t *testing.T)
path_stroke_test.go:11
FunctionTestPathStrokeEllipse
(t *testing.T)
path_stroke_test.go:83
FunctionTestPathToPDF
(t *testing.T)
path_test.go:847
FunctionTestPathToPS
(t *testing.T)
path_test.go:829
FunctionTestPathToSVG
(t *testing.T)
path_test.go:805
FunctionTestPathTransform
(t *testing.T)
path_test.go:426
FunctionTestPathXor
(t *testing.T)
path_intersection_test.go:1106
FunctionTestPoint
(t *testing.T)
util_test.go:136
FunctionTestPolyline
(t *testing.T)
polyline_test.go:9
FunctionTestPolylineSmoothen
(t *testing.T)
polyline_test.go:29
FunctionTestPolynomialChebyshevApprox
(t *testing.T)
util_test.go:346
FunctionTestQuadraticBezier
(t *testing.T)
path_util_test.go:149
FunctionTestQuadraticBezierDeriv
(t *testing.T)
path_util_test.go:186
FunctionTestQuadraticBezierDistance
(t *testing.T)
path_util_test.go:225
FunctionTestQuadraticBezierFlatten
(t *testing.T)
path_util_test.go:251
FunctionTestQuadraticBezierLength
(t *testing.T)
path_util_test.go:205
FunctionTestQuadraticBezierPos
(t *testing.T)
path_util_test.go:167
FunctionTestRadialGradientAt
(t *testing.T)
colors_test.go:129
FunctionTestRect
(t *testing.T)
util_test.go:160
FunctionTestRichText
(t *testing.T)
text_test.go:138
FunctionTestRichTextPositions
(t *testing.T)
text_test.go:37
FunctionTestSVGText
(t *testing.T)
renderers/svg/svg_test.go:7
FunctionTestScriptItemizer
(t *testing.T)
text/text_test.go:9
FunctionTestShapes
(t *testing.T)
shapes_test.go:9
FunctionTestSolveCubicFormula
(t *testing.T)
util_test.go:313
FunctionTestSolveQuadraticFormula
(t *testing.T)
util_test.go:279
FunctionTestStarTex
(t *testing.T)
tests/startex/startex_test.go:13
FunctionTestTextBounds
(t *testing.T)
text_test.go:291
FunctionTestTextBox
(t *testing.T)
text_test.go:328
FunctionTestTextLine
(t *testing.T)
text_test.go:11
FunctionTestTextLinebreaking
(t *testing.T)
text_test.go:192
FunctionTestToFromFixed
(t *testing.T)
util_test.go:131
FunctionTestXMonotoneCubicBezier
(t *testing.T)
path_util_test.go:424
FunctionTestXMonotoneEllipse
(t *testing.T)
path_util_test.go:134
FunctionTestXMonotoneQuadraticBezier
(t *testing.T)
path_util_test.go:247
MethodToLinear
ToLinear encodes color to color space.
colors.go:290
MethodToLinear
ToLinear encodes color to color space.
colors.go:313
MethodToLinear
ToLinear encodes color to color space.
colors.go:346
MethodToPath
ToPath converts a string to its glyph paths.
font.go:736
MethodToSVG
ToSVG writes out the matrix in SVG notation, taking care of the proper order of transformations.
util.go:860
MethodToUnicode
(b []byte)
cmd/pdftext/encoding.go:124
MethodToUnicode
(b []byte)
cmd/pdftext/encoding.go:200
MethodTouches
Touches returns true if path p and q are not disjoint, their boundaries/interiors intersect. This is different from DE-9IM's definition of Touches.
path_intersection.go:242
MethodTouches
Touches returns true if the shapes have a point in common but their interiors do not intersect, ie. their boundaries meet/overlap.
path_intersection.go:2464
MethodTouchesLine
(a, b Point)
util.go:558
MethodTouchesPoint
TouchesPoint returns true if the rectangle touches a point (within +-Epsilon).
util.go:483
MethodTransform
Transform transforms the point by affine transformation matrix m.
util.go:346
MethodTransform
Transform sets the view. Automatically called by Canvas for coordinate system transformations.
patterns.go:81
FunctionTriangle
Triangle returns a triangle of radius r pointing upwards.
shapes.go:118
MethodTriangulate
Triangulate tessellates the path with triangles that fill the path. WIP
path_tiling.go:309
MethodValues
Values returns the current path segment values.
path_scanner.go:121
MethodWalkDecorations
WalkDecorations calls the callback for each color of decoration used per line.
text.go:1207
MethodWalkLines
WalkLines calls the callback for each text line.
text.go:1212
FunctionWebP
WebP returns a Webp writer that uses libwebp and accepts the following options: canvas.Resolution, canvas.Colorspace, github.com/kolesa-team/go-webp/e
renderers/renderers_noformats.go:12
MethodXor
Xor is the same as Path.Xor, but faster if paths are already split. Each resulting path is a single filling path followed by its holes as subpaths.
path_intersection.go:187
MethodZero
()
util.go:395
Function_
()
text/script_string.go:9
Method_makeFuncWrapper
(id)
examples/html-canvas/wasm_exec.js:551
Functionchdir
()
examples/html-canvas/wasm_exec.js:72
Functionchmod
(path, mode, callback)
examples/html-canvas/wasm_exec.js:35
Functionchown
(path, uid, gid, callback)
examples/html-canvas/wasm_exec.js:36
Methodconstructor
()
examples/html-canvas/wasm_exec.js:96
Functioncwd
()
examples/html-canvas/wasm_exec.js:71
Functionfchmod
(fd, mode, callback)
examples/html-canvas/wasm_exec.js:38
Functionfchown
(fd, uid, gid, callback)
examples/html-canvas/wasm_exec.js:39
Functionfstat
(fd, callback)
examples/html-canvas/wasm_exec.js:40
Functionfsync
(fd, callback)
examples/html-canvas/wasm_exec.js:41
Functionftruncate
(fd, length, callback)
examples/html-canvas/wasm_exec.js:42
MethodgetInt64
(addr)
examples/html-canvas/wasm_exec.js:120
Functiongetegid
()
examples/html-canvas/wasm_exec.js:66
Functiongeteuid
()
examples/html-canvas/wasm_exec.js:65
Functiongetgid
()
examples/html-canvas/wasm_exec.js:64
Functiongetgroups
()
examples/html-canvas/wasm_exec.js:67
Functiongetuid
()
examples/html-canvas/wasm_exec.js:63
Functiongraya32Model
(c color.Color)
color/color.go:101
FunctiongrayaModel
(c color.Color)
color/color.go:81
FunctionhelperCommand
from os/exec/exec_test.go
latex_bin_test.go:17
Functioninit
()
svg/svg.go:12
FunctionisRegular
(b byte)
cmd/pdftext/util.go:24
Functionlchown
(path, uid, gid, callback)
examples/html-canvas/wasm_exec.js:43
Functionlink
(path, link, callback)
examples/html-canvas/wasm_exec.js:44
MethodloadSlice
(addr)
examples/html-canvas/wasm_exec.js:189
MethodloadSliceOfValues
(addr)
examples/html-canvas/wasm_exec.js:195
MethodloadString
(addr)
examples/html-canvas/wasm_exec.js:205
MethodloadValue
(addr)
examples/html-canvas/wasm_exec.js:126
Functionlstat
(path, callback)
examples/html-canvas/wasm_exec.js:45
Functionmain
()
resources/title/main.go:12
Functionmain
()
resources/docs/paths/main.go:10
Functionmain
()
resources/docs/tiling/main.go:11
Functionmain
()
resources/docs/stroke/main.go:14
Functionmain
()
resources/docs/colors/main.go:45
← previousnext →1,301–1,400 of 1,447, ranked by callers