MCPcopy Create free account

hub / github.com/ajstarks/svgo / functions

Functions242 in github.com/ajstarks/svgo

↓ 1 callersFunctiondefobjects
defobjects defines a set of objects with the specified dimensions, once defined, the objects are referenced for placement
svgdef/svgdef.go:403
↓ 1 callersFunctiondefpath
defpath defines the path object for arbitrary placement and size
svgdef/svgdef.go:217
↓ 1 callersFunctiondefpolygon
defpolygon defines the polygon object for arbitrary placement and size
svgdef/svgdef.go:191
↓ 1 callersFunctiondefpolyline
defpolyline defines the polyline object for arbitrary placement and size
svgdef/svgdef.go:204
↓ 1 callersFunctiondefqbez
defqbez defines the quadratic bezier object for arbitrary placement and size
svgdef/svgdef.go:162
↓ 1 callersFunctiondefrect
defrect defines the rectangle object for arbitrary placement and size
svgdef/svgdef.go:82
↓ 1 callersFunctiondefrg
defrg defines the radial gradient object for arbitrary placement and size
svgdef/svgdef.go:239
↓ 1 callersFunctiondefrgb
defrgb defines the rgb object for arbitrary placement and size
svgdef/svgdef.go:380
↓ 1 callersFunctiondefrotate
defrotate defines the rotate object for arbitrary placement and size
svgdef/svgdef.go:353
↓ 1 callersFunctiondefroundrect
defroundrect defines the roundrect object for arbitrary placement and size
svgdef/svgdef.go:176
↓ 1 callersFunctiondefscale
defscale defines the scale object for arbitrary placement and size
svgdef/svgdef.go:293
↓ 1 callersFunctiondefscaleXY
defscaleXY defines the scaleXY object for arbitrary placement and size
svgdef/svgdef.go:305
↓ 1 callersFunctiondefskewX
defskewX defines the skewX object for arbitrary placement and size
svgdef/svgdef.go:317
↓ 1 callersFunctiondefskewXY
defskewXY defines the skewXY object for arbitrary placement and size
svgdef/svgdef.go:341
↓ 1 callersFunctiondefskewY
defskewY defines the skewY object for arbitrary placement and size
svgdef/svgdef.go:329
↓ 1 callersFunctiondefsquare
defsquare defines the square object for arbitrary placement and size
svgdef/svgdef.go:104
↓ 1 callersFunctiondeftext
deftext defines the text object for arbitrary placement and size
svgdef/svgdef.go:276
↓ 1 callersFunctiondeftextpath
deftextpath defines the textpath object for arbitrary placement and size
svgdef/svgdef.go:285
↓ 1 callersFunctiondeftrans
deftrans defines the trans object for arbitrary placement and size
svgdef/svgdef.go:249
↓ 1 callersFunctiondesktop
desktop object
compx/compx.go:596
↓ 1 callersFunctiondisplay
display a component in the context of the grid
compx/compx.go:359
↓ 1 callersFunctiondobg
dobg does file i/o
bulletgraph/bulletgraph.go:60
↓ 1 callersFunctiondocomp
docomp does XML file processing
compx/compx.go:134
↓ 1 callersFunctiondogroup
dogroup displays a colored rectangular area
compx/compx.go:255
↓ 1 callersFunctiondolegend
dolegend displays the legend
compx/compx.go:277
↓ 1 callersFunctiondoline
doline draws a line between to coordinates
compx/compx.go:743
↓ 1 callersFunctiondonote
donote displays a note
compx/compx.go:296
↓ 1 callersFunctiondopmap
(location string)
pmap/pmap.go:48
↓ 1 callersFunctiondotitle
dotitle creates the title
ltr/ltr.go:96
↓ 1 callersFunctiondotitle
(s string)
pmap/pmap.go:195
↓ 1 callersFunctiondotitle
dotitle positions the title relative to the bottom of the drawing
compx/compx.go:219
↓ 1 callersFunctiondrawbg
drawbg draws the bullet graph
bulletgraph/bulletgraph.go:87
↓ 1 callersFunctiondrawc
drawc interprets the compoment data structure, and displays it
compx/compx.go:162
↓ 1 callersFunctiondrawpmap
(m Pmap)
pmap/pmap.go:73
↓ 1 callersFunctioneaec
eaec person object
compx/compx.go:566
↓ 1 callersFunctionface
face object
compx/compx.go:602
↓ 1 callersFunctionflickrAPI
FlickrAPI calls the API given a method with single name/value pair
f50/f50.go:56
↓ 1 callersFunctionfloatfmt
(v float64)
pmap/pmap.go:187
↓ 1 callersFunctionfolder
folder object
compx/compx.go:515
↓ 1 callersFunctionfraction
fraction returns the fractions portion of a floating point number
bulletgraph/bulletgraph.go:192
↓ 1 callersFunctionfs
fs calls the Flickr API to perform a photo search
f50/f50.go:90
↓ 1 callersFunctionfunnel
(bg int, fg int, grid int, dim int)
funnel/funnel.go:13
↓ 1 callersFunctiongooglefont
(f string)
webfonts/webfonts.go:28
↓ 1 callersFunctiongordon
(x, y, w, h int)
svgopher/svgopher.go:17
↓ 1 callersFunctiongrid
grid displays a grid overlay, useful for determining optimal positioning
compx/compx.go:230
↓ 1 callersFunctionimageGrid
imageGrid reads the response from Flickr, and creates a grid of images
f50/f50.go:71
↓ 1 callersFunctionimagefiles
imagefiles returns a list of files in the specifed directory or nil on error. Each file includes the prepended directory name
ltr/ltr.go:26
↓ 1 callersFunctionislink
islink determines if a string is a script reference
svg.go:494
↓ 1 callersFunctionkb
kb (keyboard) object
compx/compx.go:589
↓ 1 callersFunctionkeyword
keyword styles keywords in a line of code
codepic/codepic.go:112
↓ 1 callersFunctionletters
(top, left int, font, color string, opacity float32)
fontcompare/fontcompare.go:20
↓ 1 callersFunctionlewitt
(x int, y int, gsize int, n int, w int)
lewitt/lewitt.go:37
↓ 1 callersFunctionlinelabel
linelabel determines the connection and arrow geometry
compx/compx.go:716
↓ 1 callersFunctionlinestyle
linestyle returns the style for lines
compx/compx.go:711
↓ 1 callersFunctionlookup
lookup returns a graphic object given an id
compx/compx.go:208
↓ 1 callersFunctionltcol
ltcol creates a single column of volley images
ltr/ltr.go:58
↓ 1 callersFunctionltoffset
ltoffset creates a view where each volley is offset from its opposing volley.
ltr/ltr.go:82
↓ 1 callersFunctionltop
ltop creates a view with each volley stacked together with semi-transparent opacity
ltr/ltr.go:67
↓ 1 callersFunctionltposter
ltposter creates poster style: a title, followed by a list of volleys
ltr/ltr.go:45
↓ 1 callersFunctionltrow
ltrow creates a row-wise view of volley images.
ltr/ltr.go:74
↓ 1 callersFunctionmakeURI
makeURI converts the elements of a photo into a Flickr photo URI
f50/f50.go:61
↓ 1 callersFunctionmessage
message object
compx/compx.go:548
↓ 1 callersFunctiononezero
onezero returns "0" or "1"
svg.go:478
↓ 1 callersFunctionplacecode
placecode places the code section on the left
codepic/codepic.go:83
↓ 1 callersFunctionplaceobjects
placeobjects places a grid of objects on the canvas as specified by a string array.
svgdef/svgdef.go:498
↓ 1 callersFunctionplacepic
placepic places the picture on the right
codepic/codepic.go:137
↓ 1 callersFunctionplacerow
placerow is a helper for placeobjects, placing to previously defined objects row-wise
svgdef/svgdef.go:490
↓ 1 callersFunctionpmap
(x, y, fs int, m Pdata)
pmap/pmap.go:98
↓ 1 callersMethodpp
pp returns a series of polygon points
svg.go:433
↓ 1 callersFunctionradial
(xp int, yp int, n int, l int, style ...string)
flower/flower.go:30
↓ 1 callersFunctionrandom
(howsmall, howbig int)
bubtrail/bubtrail.go:32
↓ 1 callersFunctionrandom
(howsmall, howbig int)
flower/flower.go:43
↓ 1 callersFunctionrandom
(howsmall, howbig int)
lewitt/lewitt.go:56
↓ 1 callersFunctionrandrad
(w int, h int, n int)
flower/flower.go:50
↓ 1 callersFunctionreadatom
readatom unmarshals the twitter search response and formats the results into a grid
tsg/tsg.go:78
↓ 1 callersFunctionreadbg
readbg reads and parses the XML specification
bulletgraph/bulletgraph.go:77
↓ 1 callersFunctionreadcomp
readcomp reads the XML into the component data structure
compx/compx.go:152
↓ 1 callersFunctionreadpmap
(r io.Reader)
pmap/pmap.go:64
↓ 1 callersFunctionrole
role object
compx/compx.go:634
↓ 1 callersFunctionscale
scale return the scale string for the transform
svg.go:503
↓ 1 callersFunctionscaleXY
scaleXY return the scale string for the transform
svg.go:506
↓ 1 callersFunctionserver
server object
compx/compx.go:613
↓ 1 callersFunctionsky
(x, y, w, h int, a float64, s string)
skewabc/skewabc.go:16
↓ 1 callersFunctionsloper
sloper computes the slope and r of a line
compx/compx.go:648
↓ 1 callersFunctionstyle
Support functions style returns a style name,attribute string
svg.go:425
↓ 1 callersFunctionsvgtext
svgtext
codepic/codepic.go:120
↓ 1 callersFunctiontgrid
tgrid makes a clickable grid of tweets from the Atom feed
tsg/tsg.go:89
↓ 1 callersFunctiontimestamp
timestamp draws a timestamp in the lower right of the drawing
compx/compx.go:224
↓ 1 callersFunctionts
ts dereferences the twitter search URL and reads the XML (Atom) response
tsg/tsg.go:61
↓ 1 callersFunctionuselibrary
uselibrary draws a previously defined object
compx/compx.go:501
↓ 1 callersFunctionvmap
vmap maps ranges
stockproduct/stockproduct.go:42
↓ 1 callersFunctionvmap
(value float64, low1 float64, high1 float64, low2 float64, high2 float64)
planets/planets.go:63
↓ 1 callersFunctionvmap
vmap maps one interval to another
bulletgraph/bulletgraph.go:187
↓ 1 callersFunctionw3c
()
paths/paths.go:12
↓ 1 callersFunctionwordstack
wordstack displays text in a left-justified stack
compx/compx.go:800
MethodMask
Mask creates a mask with a specified id, dimension, and optional style.
svg.go:213
MethodMaskEnd
MaskEnd ends a Mask.
svg.go:218
FunctionNew
New is the SVG constructor, specifying the io.Writer where the generated SVG is written.
svg.go:56
MethodQbezier
Qbezier draws a Quadratic Bezier curve, with optional style, beginning at sx, sy, ending at tx,ty with control points are at cx,cy, ex,ey. Standard Re
svg.go:304
MethodRotateTranslate
RotateTranslate rotates the coordinate system r degrees, then translates to (x,y), end with Gend()
svg.go:155
← previousnext →101–200 of 242, ranked by callers