MCPcopy Create free account

hub / github.com/ajstarks/svgo / functions

Functions599 in github.com/ajstarks/svgo

↓ 136 callersMethodText
Text places the specified text, t at x,y according to the style specified in s Standard Reference: http://www.w3.org/TR/SVG11/text.html#TextElement
svg.go:408
↓ 118 callersMethodGend
Gend ends a group (must be paired with Gsttyle, Gtransform, Gid).
svg.go:220
↓ 109 callersMethodRect
Rect draws a rectangle with upper left-hand corner at x,y, with width w, and height h, with optional style Standard Reference: http://www.w3.org/TR/SV
svg.go:319
↓ 69 callersMethodprintf
(format string, a ...interface{})
svg.go:75
↓ 69 callersMethodprintf
(format string, a ...interface{})
float/svg.go:77
↓ 64 callersMethodCircle
Shapes Circle centered at x,y, with radius r, with optional style. Standard Reference: http://www.w3.org/TR/SVG11/shapes.html#CircleElement
svg.go:300
↓ 63 callersMethodGstyle
Gstyle begins a group, with the specified style. Standard Reference: http://www.w3.org/TR/SVG11/struct.html#GElement
svg.go:165
↓ 61 callersMethodStart
Structure, Metadata, Scripting, Style, Transformation, and Links Start begins the SVG document with the width w and height h. Other attributes may be
svg.go:91
↓ 57 callersMethodEnd
End the SVG document
svg.go:128
↓ 46 callersFunctionendstyle
endstyle modifies an SVG object, with either a series of name="value" pairs, or a single string containing a style
svg.go:954
↓ 46 callersFunctionendstyle
endstyle modifies an SVG object, with either a series of name="value" pairs, or a single string containing a style
float/svg.go:978
↓ 45 callersMethodGend
Gend ends a group (must be paired with Gsttyle, Gtransform, Gid).
float/svg.go:231
↓ 40 callersMethodTitle
Title specified the text of the title tag. Standard Reference: http://www.w3.org/TR/SVG11/struct.html#TitleElement
svg.go:269
↓ 38 callersMethodLine
Lines Line draws a straight line between two points, with optional style. Standard Reference: http://www.w3.org/TR/SVG11/shapes.html#LineElement
svg.go:389
↓ 35 callersMethodText
Text places the specified text, t at x,y according to the style specified in s Standard Reference: http://www.w3.org/TR/SVG11/text.html#TextElement
float/svg.go:430
↓ 29 callersMethodGid
Gid begins a group, with the specified id
float/svg.go:224
↓ 29 callersMethodprintln
(a ...interface{})
svg.go:71
↓ 29 callersMethodprintln
(a ...interface{})
float/svg.go:73
↓ 28 callersMethodGid
Gid begins a group, with the specified id
svg.go:213
↓ 28 callersFunctiondeflegend
deflegend makes object legends
svgdef/svgdef.go:50
↓ 28 callersFunctiondeflegend
deflegend makes object legends
float/svgdef/svgdef.go:50
↓ 27 callersMethodRect
Rect draws a rectangle with upper left-hand corner at x,y, with width w, and height h, with optional style Standard Reference: http://www.w3.org/TR/SV
float/svg.go:335
↓ 23 callersFunctiondefcoordstr
defcoodstr defines coordinate strings: (x,y)
svgdef/svgdef.go:38
↓ 23 callersFunctiondefcoordstr
defcoodstr defines coordinate strings: (x,y)
float/svgdef/svgdef.go:38
↓ 22 callersMethodPolygon
Polygon draws a series of line segments using an array of x, y coordinates, with optional style. Standard Reference: http://www.w3.org/TR/SVG11/shapes
svg.go:313
↓ 21 callersMethodRoundrect
Roundrect draws a rounded rectangle with upper the left-hand corner at x,y, with width w, and height h. The radii for the rounded portion are specifie
svg.go:333
↓ 18 callersMethodImage
Image places at x,y (upper left hand corner), the image with width w, and height h, referenced at link, with optional style. Standard Reference: http:
svg.go:402
↓ 18 callersFunctionfsattr
fsattr returns the XML attribute representation of a filterspec, ignoring empty attributes
svg.go:1044
↓ 18 callersFunctionfsattr
fsattr returns the XML attribute representation of a filterspec, ignoring empty attributes
float/svg.go:1068
↓ 18 callersFunctionqint
qfint returns the integer value of a query string, within limits
picserv/picserv.go:106
↓ 15 callersMethodEllipse
Ellipse centered at x,y, centered at x,y with radii w, and h, with optional style. Standard Reference: http://www.w3.org/TR/SVG11/shapes.html#EllipseE
svg.go:306
↓ 13 callersMethodRGB
Colors RGB specifies a fill color in terms of a (r)ed, (g)reen, (b)lue triple. Standard reference: http://www.w3.org/TR/css3-color/
svg.go:462
↓ 13 callersFunctioncoord
coord returns a coordinate string
svg.go:1027
↓ 13 callersFunctioncoord
coord returns a coordinate string
float/svg.go:1051
↓ 12 callersMethodArc
Arc draws an elliptical arc, with optional style, beginning coordinate at sx,sy, ending coordinate at ex, ey width and height of the arc are specified
svg.go:356
↓ 12 callersMethodGtransform
Gtransform begins a group, with the specified transform Standard Reference: http://www.w3.org/TR/SVG11/coords.html#TransformAttribute
svg.go:169
↓ 12 callersFunctiondefcoord
defcoord defines a coordinate
svgdef/svgdef.go:44
↓ 12 callersFunctiondefcoord
defcoord defines a coordinate
float/svgdef/svgdef.go:44
↓ 12 callersFunctionrandom
(howsmall, howbig int)
picserv/picserv.go:141
↓ 11 callersFunctionqstring
qstring returns the string value of the query string
picserv/picserv.go:72
↓ 10 callersFunctionpct
pct returns a percetage, capped at 100
svg.go:992
↓ 10 callersFunctionpct
pct returns a percetage, capped at 100
float/svg.go:1016
↓ 9 callersMethodCenterRect
CenterRect draws a rectangle with its center at x,y, with width w, and height h, with optional style
svg.go:324
↓ 9 callersMethodGtransform
Gtransform begins a group, with the specified transform Standard Reference: http://www.w3.org/TR/SVG11/coords.html#TransformAttribute
float/svg.go:176
↓ 9 callersMethodLine
Lines Line draws a straight line between two points, with optional style. Standard Reference: http://www.w3.org/TR/SVG11/shapes.html#LineElement
float/svg.go:410
↓ 8 callersMethodPath
Paths Path draws an arbitrary path, the caller is responsible for structuring the path data
svg.go:345
↓ 8 callersMethodTranslate
Translate begins coordinate translation, end with Gend() Standard Reference: http://www.w3.org/TR/SVG11/coords.html#TransformAttribute
svg.go:173
↓ 8 callersFunctionrandom
(howsmall, howbig int)
lewitt/lewitt.go:58
↓ 7 callersMethodStart
Structure, Metadata, Scripting, Transformation, and Links Start begins the SVG document with the width w and height h. Other attributes may be optiona
float/svg.go:93
↓ 7 callersFunctionhref
href returns the href name and attribute
svg.go:1036
↓ 7 callersFunctionhref
href returns the href name and attribute
float/svg.go:1060
↓ 7 callersFunctionpmcolor
pmcolor returns a random color from Mondrian's set, or a specified standard color
picserv/picserv.go:424
↓ 7 callersMethodprint
(a ...interface{})
svg.go:67
↓ 7 callersMethodprint
(a ...interface{})
float/svg.go:69
↓ 6 callersMethodDef
Def begins a defintion block. Standard Reference: http://www.w3.org/TR/SVG11/struct.html#DefsElement
svg.go:232
↓ 6 callersMethodDefEnd
DefEnd ends a defintion block.
svg.go:235
↓ 6 callersMethodEnd
End the SVG document
float/svg.go:135
↓ 6 callersMethodGstyle
Gstyle begins a group, with the specified style. Standard Reference: http://www.w3.org/TR/SVG11/struct.html#GElement
float/svg.go:172
↓ 6 callersMethodLink
Link begins a link named "name", with the specified title. Standard Reference: http://www.w3.org/TR/SVG11/linking.html#Links
svg.go:273
↓ 6 callersFunctioncolx
colx computes the x position of a column
compx/compx.go:666
↓ 6 callersMethoddefturbulence
()
turbulence/turbulence.go:28
↓ 6 callersMethodfrect
(x, y, w, h int)
turbulence/turbulence.go:35
↓ 6 callersFunctionrowy
rowy computes the y position of a row
compx/compx.go:663
↓ 5 callersMethodAnimate
Animation Animate animates the specified link, using the specified attribute The animation starts at coordinate from, terminates at to, and repeats as
svg.go:846
↓ 5 callersMethodAnimateTransform
AnimateTransform animates in the context of SVG transformations
svg.go:858
↓ 5 callersMethodAnimateTransform
AnimateTransform animates in the context of SVG transformations
float/svg.go:881
↓ 5 callersMethodCircle
Shapes Circle centered at x,y, with radius r, with optional style. Standard Reference: http://www.w3.org/TR/SVG11/shapes.html#CircleElement
float/svg.go:314
↓ 5 callersMethodDesc
Desc specified the text of the description tag. Standard Reference: http://www.w3.org/TR/SVG11/struct.html#DescElement
svg.go:265
↓ 5 callersMethodLinkEnd
LinkEnd ends a link.
svg.go:280
↓ 5 callersMethodPath
Paths Path draws an arbitrary path, the caller is responsible for structuring the path data
float/svg.go:362
↓ 5 callersMethodRGB
Colors RGB specifies a fill color in terms of a (r)ed, (g)reen, (b)lue triple. Standard reference: http://www.w3.org/TR/css3-color/
float/svg.go:485
↓ 5 callersMethodRGBA
RGBA specifies a fill color in terms of a (r)ed, (g)reen, (b)lue triple and opacity.
svg.go:467
↓ 5 callersMethodTitle
Title specified the text of the title tag. Standard Reference: http://www.w3.org/TR/SVG11/struct.html#TitleElement
float/svg.go:282
↓ 5 callersMethodTranslateRotate
TranslateRotate translates the coordinate system to (x,y), then rotates to r degrees, end with Gend()
svg.go:200
↓ 5 callersFunctioncolordot
colordot makes a colored dot, with opacity
svgdef/svgdef.go:484
↓ 5 callersFunctioncolordot
colordot makes a colored dot, with opacity
float/svgdef/svgdef.go:484
↓ 5 callersFunctiondotitle
dotitle creates the title
ltr/ltr.go:98
↓ 5 callersFunctionimgchannel
imgchannel validates the image channel indicator
svg.go:1068
↓ 5 callersFunctionimgchannel
imgchannel validates the image channel indicator
float/svg.go:1092
↓ 4 callersMethodLinearGradient
Gradients LinearGradient constructs a linear color gradient identified by id, along the vector defined by (x1,y1), and (x2,y2). The stop color sequenc
svg.go:476
↓ 4 callersMethodQbez
Qbez draws a quadratic bezier curver, with optional style beginning at sx,sy, ending at ex, sy with control points at cx, cy Standard Reference: http:
svg.go:372
↓ 4 callersMethodRadialGradient
RadialGradient constructs a radial color gradient identified by id, centered at (cx,cy), with a radius of r. (fx, fy) define the location of the focal
svg.go:488
↓ 4 callersMethodTextEnd
TextEnd ends spanned text Standard Reference: https://www.w3.org/TR/SVG11/text.html#TSpanElement
svg.go:435
↓ 4 callersMethodTranslate
Translate begins coordinate translation, end with Gend() Standard Reference: http://www.w3.org/TR/SVG11/coords.html#TransformAttribute
float/svg.go:180
↓ 4 callersFunctionarrow
arrow constructs line-ending arrows according to connecting points
compx/compx.go:815
↓ 4 callersFunctiondoline
doline draws a line between to coordinates
compx/compx.go:749
↓ 4 callersMethodgenattr
(ns []string)
svg.go:79
↓ 4 callersMethodgenattr
(ns []string)
float/svg.go:81
↓ 4 callersFunctionlinestyle
linestyle returns the style for lines
compx/compx.go:717
↓ 4 callersFunctionptag
ptag returns the beginning of the path element
svg.go:1030
↓ 4 callersFunctionptag
ptag returns the beginning of the path element
float/svg.go:1054
↓ 4 callersFunctionrandcolor
randcolor returns a random color
cube/cube.go:16
↓ 4 callersFunctionrandcolor
()
picserv/picserv.go:148
↓ 4 callersFunctionrandom
(howsmall, howbig int)
flower/flower.go:43
↓ 4 callersFunctionroundup
roundup rounds a floating point number up
barchart/barchart.go:430
↓ 4 callersFunctionshapestyle
(path string)
websvg/websvg.go:31
↓ 4 callersFunctionvmap
vmap maps one interval to another
bulletgraph/bulletgraph.go:188
↓ 3 callersMethodAnimateMotion
AnimateMotion animates the referenced object along the specified path
svg.go:852
↓ 3 callersMethodDesc
Desc specified the text of the description tag. Standard Reference: http://www.w3.org/TR/SVG11/struct.html#DescElement
float/svg.go:278
↓ 3 callersMethodFeFuncLinear
FeFunc{linear|Gamma|Table|Discrete} specify various types of feFunc{R|G|B|A} filter primitives Standard reference: http://www.w3.org/TR/SVG11/filters.
svg.go:645
next →1–100 of 599, ranked by callers