Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tdewolff/canvas
/ functions
Functions
1,447 in github.com/tdewolff/canvas
⨍
Functions
1,447
◇
Types & classes
214
Function
TestPathParseSVGPathErrors
(t *testing.T)
path_test.go:780
Function
TestPathRelate
(t *testing.T)
path_intersection_test.go:1369
Function
TestPathReplace
(t *testing.T)
path_test.go:445
Function
TestPathReverse
(t *testing.T)
path_test.go:713
Function
TestPathSame
(t *testing.T)
path_test.go:40
Function
TestPathSettle
(t *testing.T)
path_intersection_test.go:749
Function
TestPathSimplifyVisvalingamWhyatt
(t *testing.T)
path_simplify_test.go:9
Function
TestPathSplit
(t *testing.T)
path_test.go:566
Function
TestPathSplitAt
(t *testing.T)
path_test.go:599
Function
TestPathStroke
(t *testing.T)
path_stroke_test.go:11
Function
TestPathStrokeEllipse
(t *testing.T)
path_stroke_test.go:83
Function
TestPathToPDF
(t *testing.T)
path_test.go:847
Function
TestPathToPS
(t *testing.T)
path_test.go:829
Function
TestPathToSVG
(t *testing.T)
path_test.go:805
Function
TestPathTransform
(t *testing.T)
path_test.go:426
Function
TestPathXor
(t *testing.T)
path_intersection_test.go:1106
Function
TestPoint
(t *testing.T)
util_test.go:136
Function
TestPolyline
(t *testing.T)
polyline_test.go:9
Function
TestPolylineSmoothen
(t *testing.T)
polyline_test.go:29
Function
TestPolynomialChebyshevApprox
(t *testing.T)
util_test.go:346
Function
TestQuadraticBezier
(t *testing.T)
path_util_test.go:149
Function
TestQuadraticBezierDeriv
(t *testing.T)
path_util_test.go:186
Function
TestQuadraticBezierDistance
(t *testing.T)
path_util_test.go:225
Function
TestQuadraticBezierFlatten
(t *testing.T)
path_util_test.go:251
Function
TestQuadraticBezierLength
(t *testing.T)
path_util_test.go:205
Function
TestQuadraticBezierPos
(t *testing.T)
path_util_test.go:167
Function
TestRadialGradientAt
(t *testing.T)
colors_test.go:129
Function
TestRect
(t *testing.T)
util_test.go:160
Function
TestRichText
(t *testing.T)
text_test.go:138
Function
TestRichTextPositions
(t *testing.T)
text_test.go:37
Function
TestSVGText
(t *testing.T)
renderers/svg/svg_test.go:7
Function
TestScriptItemizer
(t *testing.T)
text/text_test.go:9
Function
TestShapes
(t *testing.T)
shapes_test.go:9
Function
TestSolveCubicFormula
(t *testing.T)
util_test.go:313
Function
TestSolveQuadraticFormula
(t *testing.T)
util_test.go:279
Function
TestStarTex
(t *testing.T)
tests/startex/startex_test.go:13
Function
TestTextBounds
(t *testing.T)
text_test.go:291
Function
TestTextBox
(t *testing.T)
text_test.go:328
Function
TestTextLine
(t *testing.T)
text_test.go:11
Function
TestTextLinebreaking
(t *testing.T)
text_test.go:192
Function
TestToFromFixed
(t *testing.T)
util_test.go:131
Function
TestXMonotoneCubicBezier
(t *testing.T)
path_util_test.go:424
Function
TestXMonotoneEllipse
(t *testing.T)
path_util_test.go:134
Function
TestXMonotoneQuadraticBezier
(t *testing.T)
path_util_test.go:247
Method
ToLinear
ToLinear encodes color to color space.
colors.go:290
Method
ToLinear
ToLinear encodes color to color space.
colors.go:313
Method
ToLinear
ToLinear encodes color to color space.
colors.go:346
Method
ToPath
ToPath converts a string to its glyph paths.
font.go:736
Method
ToSVG
ToSVG writes out the matrix in SVG notation, taking care of the proper order of transformations.
util.go:860
Method
ToUnicode
(b []byte)
cmd/pdftext/encoding.go:124
Method
ToUnicode
(b []byte)
cmd/pdftext/encoding.go:200
Method
Touches
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
Method
Touches
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
Method
TouchesLine
(a, b Point)
util.go:558
Method
TouchesPoint
TouchesPoint returns true if the rectangle touches a point (within +-Epsilon).
util.go:483
Method
Transform
Transform transforms the point by affine transformation matrix m.
util.go:346
Method
Transform
Transform sets the view. Automatically called by Canvas for coordinate system transformations.
patterns.go:81
Function
Triangle
Triangle returns a triangle of radius r pointing upwards.
shapes.go:118
Method
Triangulate
Triangulate tessellates the path with triangles that fill the path. WIP
path_tiling.go:309
Method
Values
Values returns the current path segment values.
path_scanner.go:121
Method
WalkDecorations
WalkDecorations calls the callback for each color of decoration used per line.
text.go:1207
Method
WalkLines
WalkLines calls the callback for each text line.
text.go:1212
Function
WebP
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
Method
Xor
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
Method
Zero
()
util.go:395
Function
_
()
text/script_string.go:9
Method
_makeFuncWrapper
(id)
examples/html-canvas/wasm_exec.js:551
Function
chdir
()
examples/html-canvas/wasm_exec.js:72
Function
chmod
(path, mode, callback)
examples/html-canvas/wasm_exec.js:35
Function
chown
(path, uid, gid, callback)
examples/html-canvas/wasm_exec.js:36
Method
constructor
()
examples/html-canvas/wasm_exec.js:96
Function
cwd
()
examples/html-canvas/wasm_exec.js:71
Function
fchmod
(fd, mode, callback)
examples/html-canvas/wasm_exec.js:38
Function
fchown
(fd, uid, gid, callback)
examples/html-canvas/wasm_exec.js:39
Function
fstat
(fd, callback)
examples/html-canvas/wasm_exec.js:40
Function
fsync
(fd, callback)
examples/html-canvas/wasm_exec.js:41
Function
ftruncate
(fd, length, callback)
examples/html-canvas/wasm_exec.js:42
Method
getInt64
(addr)
examples/html-canvas/wasm_exec.js:120
Function
getegid
()
examples/html-canvas/wasm_exec.js:66
Function
geteuid
()
examples/html-canvas/wasm_exec.js:65
Function
getgid
()
examples/html-canvas/wasm_exec.js:64
Function
getgroups
()
examples/html-canvas/wasm_exec.js:67
Function
getuid
()
examples/html-canvas/wasm_exec.js:63
Function
graya32Model
(c color.Color)
color/color.go:101
Function
grayaModel
(c color.Color)
color/color.go:81
Function
helperCommand
from os/exec/exec_test.go
latex_bin_test.go:17
Function
init
()
svg/svg.go:12
Function
isRegular
(b byte)
cmd/pdftext/util.go:24
Function
lchown
(path, uid, gid, callback)
examples/html-canvas/wasm_exec.js:43
Function
link
(path, link, callback)
examples/html-canvas/wasm_exec.js:44
Method
loadSlice
(addr)
examples/html-canvas/wasm_exec.js:189
Method
loadSliceOfValues
(addr)
examples/html-canvas/wasm_exec.js:195
Method
loadString
(addr)
examples/html-canvas/wasm_exec.js:205
Method
loadValue
(addr)
examples/html-canvas/wasm_exec.js:126
Function
lstat
(path, callback)
examples/html-canvas/wasm_exec.js:45
Function
main
()
resources/title/main.go:12
Function
main
()
resources/docs/paths/main.go:10
Function
main
()
resources/docs/tiling/main.go:11
Function
main
()
resources/docs/stroke/main.go:14
Function
main
()
resources/docs/colors/main.go:45
← previous
next →
1,301–1,400 of 1,447, ranked by callers