MCPcopy Create free account

hub / github.com/ajstarks/svgo / functions

Functions242 in github.com/ajstarks/svgo

↓ 61 callersMethodGend
Gend ends a group (must be paired with Gsttyle, Gtransform, Gid).
svg.go:170
↓ 54 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:243
↓ 42 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:332
↓ 32 callersMethodEnd
End the SVG document
svg.go:89
↓ 32 callersMethodStart
Structure, Metadata, Scripting, Transformation, and Links Start begins the SVG document with the width w and height h. Other attributes may be optiona
svg.go:75
↓ 29 callersMethodGstyle
Gstyle begins a group, with the specified style. Standard Reference: http://www.w3.org/TR/SVG11/struct.html#GElement
svg.go:115
↓ 28 callersMethodGid
Gid begins a group, with the specified id
svg.go:163
↓ 28 callersFunctiondeflegend
deflegend makes object legends
svgdef/svgdef.go:49
↓ 26 callersMethodTitle
Title specified the text of the title tag. Standard Reference: http://www.w3.org/TR/SVG11/struct.html#TitleElement
svg.go:193
↓ 23 callersMethodprintf
(format string, a ...interface{})
svg.go:66
↓ 18 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:224
↓ 18 callersFunctionendstyle
endstyle modifies an SVG object, with either a series of name="value" pairs, or a single string containing a style
svg.go:448
↓ 18 callersMethodprintln
(a ...interface{})
svg.go:62
↓ 16 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:313
↓ 14 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:361
↓ 13 callersFunctiondefcoordstr
defcoodstr defines coordinate strings: (x,y)
svgdef/svgdef.go:37
↓ 12 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:326
↓ 12 callersFunctiondefcoord
defcoord defines a coordinate
svgdef/svgdef.go:43
↓ 11 callersMethodGtransform
Gtransform begins a group, with the specified transform Standard Reference: http://www.w3.org/TR/SVG11/coords.html#TransformAttribute
svg.go:119
↓ 10 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:257
↓ 9 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:237
↓ 8 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:230
↓ 6 callersFunctioncoord
coord returns a coordinate string
svg.go:521
↓ 5 callersMethodRGBA
RGBA specifies a fill color in terms of a (r)ed, (g)reen, (b)lue triple and opacity.
svg.go:366
↓ 4 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:280
↓ 4 callersMethodLink
Link begins a link named "name", with the specified title. Standard Reference: http://www.w3.org/TR/SVG11/linking.html#Links
svg.go:197
↓ 4 callersMethodLinkEnd
LinkEnd ends a link.
svg.go:204
↓ 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:296
↓ 4 callersMethodTranslate
Translate begins coordinate translation, end with Gend() Standard Reference: http://www.w3.org/TR/SVG11/coords.html#TransformAttribute
svg.go:123
↓ 4 callersFunctioncolx
colx computes the x position of a column
compx/compx.go:660
↓ 4 callersMethodprint
(a ...interface{})
svg.go:58
↓ 4 callersFunctionptag
ptag returns the beginning of the path element
svg.go:524
↓ 4 callersFunctionrowy
rowy computes the y position of a row
compx/compx.go:657
↓ 4 callersFunctionshapestyle
(path string)
websvg/websvg.go:28
↓ 3 callersMethodDef
Def begins a defintion block. Standard Reference: http://www.w3.org/TR/SVG11/struct.html#DefsElement
svg.go:182
↓ 3 callersMethodDefEnd
DefEnd ends a defintion block.
svg.go:185
↓ 3 callersMethodDesc
Desc specified the text of the description tag. Standard Reference: http://www.w3.org/TR/SVG11/struct.html#DescElement
svg.go:189
↓ 3 callersMethodGrid
Grid draws a grid at the specified coordinate, dimensions, and spacing, with optional style.
svg.go:404
↓ 3 callersMethodPath
Paths Path draws an arbitrary path, the caller is responsible for structuring the path data
svg.go:269
↓ 3 callersFunctiondim
dim returns the dimension string (x, y coordinates and width, height)
svg.go:533
↓ 3 callersFunctiongc
gc computes the components coordinates
compx/compx.go:341
↓ 3 callersFunctionhref
href returns the href name and attribute
svg.go:530
↓ 3 callersFunctionpct
pct returns a percetage, capped at 100
svg.go:486
↓ 3 callersFunctionrotate
rotate returns the rotate string for the transform
svg.go:515
↓ 3 callersFunctiontranslate
translate returns the translate string for the transform
svg.go:518
↓ 2 callersMethodBezier
Bezier draws a cubic bezier curve, with optional style, beginning at sx,sy, ending at ex,ey with control points at cx,cy and px,py. Standard Reference
svg.go:288
↓ 2 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:375
↓ 2 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:387
↓ 2 callersMethodScale
Scale scales the coordinate system by n, end with Gend() Standard Reference: http://www.w3.org/TR/SVG11/coords.html#TransformAttribute
svg.go:127
↓ 2 callersMethodSkewY
SkewY skews the y coordinate system by angle a, end with Gend() Standard Reference: http://www.w3.org/TR/SVG11/coords.html#TransformAttribute
svg.go:139
↓ 2 callersMethodSquare
Square draws a square with upper left corner at x,y with sides of length l, with optional style.
svg.go:262
↓ 2 callersMethodUse
Use places the object referenced at link at the location x, y, with optional style. Standard Reference: http://www.w3.org/TR/SVG11/struct.html#UseElem
svg.go:208
↓ 2 callersFunctiongroup
group returns a group element
svg.go:500
↓ 2 callersFunctionloc
loc returns the x and y coordinate attributes
svg.go:527
↓ 2 callersMethodpoly
poly compiles the polygon element
svg.go:472
↓ 2 callersFunctionscreen
screen object
compx/compx.go:583
↓ 2 callersFunctionskewX
skewx returns the skewX string for the transform
svg.go:509
↓ 2 callersFunctionskewY
skewx returns the skewX string for the transform
svg.go:512
↓ 2 callersMethodstopcolor
stopcolor is a utility function used by the gradient functions to define a sequence of offsets (expressed as percentages) and colors
svg.go:396
↓ 2 callersMethodtt
tt creates a xml element, tag containing s
svg.go:465
↓ 1 callersMethodCenterRect
CenterRect draws a rectangle with its center at x,y, with width w, and height h, with optional style
svg.go:248
↓ 1 callersMethodClipEnd
ClipEnd ends a ClipPath
svg.go:176
↓ 1 callersMethodClipPath
ClipPath defines a clip path
svg.go:173
↓ 1 callersMethodGroup
Group begins a group with arbitrary attributes
svg.go:160
↓ 1 callersMethodPolyline
Polylne draws connected lines between coordinates, with optional style. Standard Reference: http://www.w3.org/TR/SVG11/shapes.html#PolylineElement
svg.go:319
↓ 1 callersMethodRotate
Rotate rotates the coordinate system by r degrees, end with Gend() Standard Reference: http://www.w3.org/TR/SVG11/coords.html#TransformAttribute
svg.go:147
↓ 1 callersMethodScaleXY
ScaleXY scales the coordinate system by dx and dy, end with Gend() Standard Reference: http://www.w3.org/TR/SVG11/coords.html#TransformAttribute
svg.go:131
↓ 1 callersMethodScript
Script defines a script with a specified type, (for example "application/javascript"). if the first variadic argument is a link, use only the link ref
svg.go:95
↓ 1 callersMethodSkewX
SkewX skews the x coordinate system by angle a, end with Gend() Standard Reference: http://www.w3.org/TR/SVG11/coords.html#TransformAttribute
svg.go:135
↓ 1 callersMethodSkewXY
SkewXY skews x and y coordinates by ax, ay respectively, end with Gend() Standard Reference: http://www.w3.org/TR/SVG11/coords.html#TransformAttribute
svg.go:143
↓ 1 callersMethodStartview
Startview begins the SVG document, with the specified width, height, and viewbox
svg.go:84
↓ 1 callersMethodTextlines
Textlines places a series of lines of text starting at x,y, at the specified size, fill, and alignment. Each line is spaced according to the spacing a
svg.go:348
↓ 1 callersMethodTextpath
Textpath places text optionally styled text along a previously defined path Standard Reference: http://www.w3.org/TR/SVG11/text.html#TextPathElement
svg.go:340
↓ 1 callersMethodTranslateRotate
TranslateRotate translates the coordinate system to (x,y), then rotates to r degrees, end with Gend()
svg.go:150
↓ 1 callersFunctionandroid
(x, y int, fill string, opacity float64)
android/android.go:21
↓ 1 callersFunctionarrow
arrow constructs line-ending arrows according to connecting points
compx/compx.go:809
↓ 1 callersFunctionbackground
(v int)
bubtrail/bubtrail.go:30
↓ 1 callersFunctionbackground
(v int)
flower/flower.go:66
↓ 1 callersFunctionbackground
(v int)
android/android.go:19
↓ 1 callersFunctionbackground
(v int)
lewitt/lewitt.go:35
↓ 1 callersFunctionbackground
(v int)
svgopher/svgopher.go:15
↓ 1 callersFunctionbackground
(fc string)
compx/compx.go:131
↓ 1 callersMethodbarchart
barchart draws a chart from data read at location, on a SVG canvas if the location is the empty string, read from standard input. Data items are scale
stockproduct/stockproduct.go:51
↓ 1 callersFunctioncloud
cloud object
compx/compx.go:535
↓ 1 callersFunctioncodepic
codepic makes a code+picture SVG file, given a go source file and conventionally named output -- given <name>.go, <name>.svg
codepic/codepic.go:62
↓ 1 callersFunctioncolordot
colordot makes a colored dot, with opacity
svgdef/svgdef.go:479
↓ 1 callersFunctioncompass
compass returns the coordinates of a compass point
compx/compx.go:663
↓ 1 callersFunctioncomponent
component positions and draws a components and its attributes
compx/compx.go:365
↓ 1 callersFunctionconnect
connect two components
compx/compx.go:704
↓ 1 callersFunctioncylinder
Object functions
compx/compx.go:506
↓ 1 callersFunctiondefarc
defarc defines the arc object for arbitrary placement and size
svgdef/svgdef.go:136
↓ 1 callersFunctiondefbez
defbez defines the cublic bezier object for arbitrary placement and size
svgdef/svgdef.go:146
↓ 1 callersFunctiondefcircle
defcircle defines the circle object for arbitrary placement and size
svgdef/svgdef.go:54
↓ 1 callersFunctiondefcrect
defcrect defines the centered rectangle object for arbitrary placement and size
svgdef/svgdef.go:93
↓ 1 callersFunctiondefellipse
defellipse defines the ellipse object for arbitrary placement and size
svgdef/svgdef.go:67
↓ 1 callersFunctiondefgrid
defgrid defines the grid object for arbitrary placement and size
svgdef/svgdef.go:263
↓ 1 callersFunctiondefimage
defimage defines the image object for arbitrary placement and size
svgdef/svgdef.go:114
↓ 1 callersFunctiondeflg
deflg defines the linear gradient object for arbitrary placement and size
svgdef/svgdef.go:229
↓ 1 callersFunctiondefline
defline defines the line object for arbitrary placement and size
svgdef/svgdef.go:126
↓ 1 callersFunctiondefmeta
defmeta defines the metadata objects
svgdef/svgdef.go:371
next →1–100 of 242, ranked by callers