Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ajstarks/svgo
/ functions
Functions
242 in github.com/ajstarks/svgo
⨍
Functions
242
◇
Types & classes
29
↓ 1 callers
Function
defobjects
defobjects defines a set of objects with the specified dimensions, once defined, the objects are referenced for placement
svgdef/svgdef.go:403
↓ 1 callers
Function
defpath
defpath defines the path object for arbitrary placement and size
svgdef/svgdef.go:217
↓ 1 callers
Function
defpolygon
defpolygon defines the polygon object for arbitrary placement and size
svgdef/svgdef.go:191
↓ 1 callers
Function
defpolyline
defpolyline defines the polyline object for arbitrary placement and size
svgdef/svgdef.go:204
↓ 1 callers
Function
defqbez
defqbez defines the quadratic bezier object for arbitrary placement and size
svgdef/svgdef.go:162
↓ 1 callers
Function
defrect
defrect defines the rectangle object for arbitrary placement and size
svgdef/svgdef.go:82
↓ 1 callers
Function
defrg
defrg defines the radial gradient object for arbitrary placement and size
svgdef/svgdef.go:239
↓ 1 callers
Function
defrgb
defrgb defines the rgb object for arbitrary placement and size
svgdef/svgdef.go:380
↓ 1 callers
Function
defrotate
defrotate defines the rotate object for arbitrary placement and size
svgdef/svgdef.go:353
↓ 1 callers
Function
defroundrect
defroundrect defines the roundrect object for arbitrary placement and size
svgdef/svgdef.go:176
↓ 1 callers
Function
defscale
defscale defines the scale object for arbitrary placement and size
svgdef/svgdef.go:293
↓ 1 callers
Function
defscaleXY
defscaleXY defines the scaleXY object for arbitrary placement and size
svgdef/svgdef.go:305
↓ 1 callers
Function
defskewX
defskewX defines the skewX object for arbitrary placement and size
svgdef/svgdef.go:317
↓ 1 callers
Function
defskewXY
defskewXY defines the skewXY object for arbitrary placement and size
svgdef/svgdef.go:341
↓ 1 callers
Function
defskewY
defskewY defines the skewY object for arbitrary placement and size
svgdef/svgdef.go:329
↓ 1 callers
Function
defsquare
defsquare defines the square object for arbitrary placement and size
svgdef/svgdef.go:104
↓ 1 callers
Function
deftext
deftext defines the text object for arbitrary placement and size
svgdef/svgdef.go:276
↓ 1 callers
Function
deftextpath
deftextpath defines the textpath object for arbitrary placement and size
svgdef/svgdef.go:285
↓ 1 callers
Function
deftrans
deftrans defines the trans object for arbitrary placement and size
svgdef/svgdef.go:249
↓ 1 callers
Function
desktop
desktop object
compx/compx.go:596
↓ 1 callers
Function
display
display a component in the context of the grid
compx/compx.go:359
↓ 1 callers
Function
dobg
dobg does file i/o
bulletgraph/bulletgraph.go:60
↓ 1 callers
Function
docomp
docomp does XML file processing
compx/compx.go:134
↓ 1 callers
Function
dogroup
dogroup displays a colored rectangular area
compx/compx.go:255
↓ 1 callers
Function
dolegend
dolegend displays the legend
compx/compx.go:277
↓ 1 callers
Function
doline
doline draws a line between to coordinates
compx/compx.go:743
↓ 1 callers
Function
donote
donote displays a note
compx/compx.go:296
↓ 1 callers
Function
dopmap
(location string)
pmap/pmap.go:48
↓ 1 callers
Function
dotitle
dotitle creates the title
ltr/ltr.go:96
↓ 1 callers
Function
dotitle
(s string)
pmap/pmap.go:195
↓ 1 callers
Function
dotitle
dotitle positions the title relative to the bottom of the drawing
compx/compx.go:219
↓ 1 callers
Function
drawbg
drawbg draws the bullet graph
bulletgraph/bulletgraph.go:87
↓ 1 callers
Function
drawc
drawc interprets the compoment data structure, and displays it
compx/compx.go:162
↓ 1 callers
Function
drawpmap
(m Pmap)
pmap/pmap.go:73
↓ 1 callers
Function
eaec
eaec person object
compx/compx.go:566
↓ 1 callers
Function
face
face object
compx/compx.go:602
↓ 1 callers
Function
flickrAPI
FlickrAPI calls the API given a method with single name/value pair
f50/f50.go:56
↓ 1 callers
Function
floatfmt
(v float64)
pmap/pmap.go:187
↓ 1 callers
Function
folder
folder object
compx/compx.go:515
↓ 1 callers
Function
fraction
fraction returns the fractions portion of a floating point number
bulletgraph/bulletgraph.go:192
↓ 1 callers
Function
fs
fs calls the Flickr API to perform a photo search
f50/f50.go:90
↓ 1 callers
Function
funnel
(bg int, fg int, grid int, dim int)
funnel/funnel.go:13
↓ 1 callers
Function
googlefont
(f string)
webfonts/webfonts.go:28
↓ 1 callers
Function
gordon
(x, y, w, h int)
svgopher/svgopher.go:17
↓ 1 callers
Function
grid
grid displays a grid overlay, useful for determining optimal positioning
compx/compx.go:230
↓ 1 callers
Function
imageGrid
imageGrid reads the response from Flickr, and creates a grid of images
f50/f50.go:71
↓ 1 callers
Function
imagefiles
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 callers
Function
islink
islink determines if a string is a script reference
svg.go:494
↓ 1 callers
Function
kb
kb (keyboard) object
compx/compx.go:589
↓ 1 callers
Function
keyword
keyword styles keywords in a line of code
codepic/codepic.go:112
↓ 1 callers
Function
letters
(top, left int, font, color string, opacity float32)
fontcompare/fontcompare.go:20
↓ 1 callers
Function
lewitt
(x int, y int, gsize int, n int, w int)
lewitt/lewitt.go:37
↓ 1 callers
Function
linelabel
linelabel determines the connection and arrow geometry
compx/compx.go:716
↓ 1 callers
Function
linestyle
linestyle returns the style for lines
compx/compx.go:711
↓ 1 callers
Function
lookup
lookup returns a graphic object given an id
compx/compx.go:208
↓ 1 callers
Function
ltcol
ltcol creates a single column of volley images
ltr/ltr.go:58
↓ 1 callers
Function
ltoffset
ltoffset creates a view where each volley is offset from its opposing volley.
ltr/ltr.go:82
↓ 1 callers
Function
ltop
ltop creates a view with each volley stacked together with semi-transparent opacity
ltr/ltr.go:67
↓ 1 callers
Function
ltposter
ltposter creates poster style: a title, followed by a list of volleys
ltr/ltr.go:45
↓ 1 callers
Function
ltrow
ltrow creates a row-wise view of volley images.
ltr/ltr.go:74
↓ 1 callers
Function
makeURI
makeURI converts the elements of a photo into a Flickr photo URI
f50/f50.go:61
↓ 1 callers
Function
message
message object
compx/compx.go:548
↓ 1 callers
Function
onezero
onezero returns "0" or "1"
svg.go:478
↓ 1 callers
Function
placecode
placecode places the code section on the left
codepic/codepic.go:83
↓ 1 callers
Function
placeobjects
placeobjects places a grid of objects on the canvas as specified by a string array.
svgdef/svgdef.go:498
↓ 1 callers
Function
placepic
placepic places the picture on the right
codepic/codepic.go:137
↓ 1 callers
Function
placerow
placerow is a helper for placeobjects, placing to previously defined objects row-wise
svgdef/svgdef.go:490
↓ 1 callers
Function
pmap
(x, y, fs int, m Pdata)
pmap/pmap.go:98
↓ 1 callers
Method
pp
pp returns a series of polygon points
svg.go:433
↓ 1 callers
Function
radial
(xp int, yp int, n int, l int, style ...string)
flower/flower.go:30
↓ 1 callers
Function
random
(howsmall, howbig int)
bubtrail/bubtrail.go:32
↓ 1 callers
Function
random
(howsmall, howbig int)
flower/flower.go:43
↓ 1 callers
Function
random
(howsmall, howbig int)
lewitt/lewitt.go:56
↓ 1 callers
Function
randrad
(w int, h int, n int)
flower/flower.go:50
↓ 1 callers
Function
readatom
readatom unmarshals the twitter search response and formats the results into a grid
tsg/tsg.go:78
↓ 1 callers
Function
readbg
readbg reads and parses the XML specification
bulletgraph/bulletgraph.go:77
↓ 1 callers
Function
readcomp
readcomp reads the XML into the component data structure
compx/compx.go:152
↓ 1 callers
Function
readpmap
(r io.Reader)
pmap/pmap.go:64
↓ 1 callers
Function
role
role object
compx/compx.go:634
↓ 1 callers
Function
scale
scale return the scale string for the transform
svg.go:503
↓ 1 callers
Function
scaleXY
scaleXY return the scale string for the transform
svg.go:506
↓ 1 callers
Function
server
server object
compx/compx.go:613
↓ 1 callers
Function
sky
(x, y, w, h int, a float64, s string)
skewabc/skewabc.go:16
↓ 1 callers
Function
sloper
sloper computes the slope and r of a line
compx/compx.go:648
↓ 1 callers
Function
style
Support functions style returns a style name,attribute string
svg.go:425
↓ 1 callers
Function
svgtext
svgtext
codepic/codepic.go:120
↓ 1 callers
Function
tgrid
tgrid makes a clickable grid of tweets from the Atom feed
tsg/tsg.go:89
↓ 1 callers
Function
timestamp
timestamp draws a timestamp in the lower right of the drawing
compx/compx.go:224
↓ 1 callers
Function
ts
ts dereferences the twitter search URL and reads the XML (Atom) response
tsg/tsg.go:61
↓ 1 callers
Function
uselibrary
uselibrary draws a previously defined object
compx/compx.go:501
↓ 1 callers
Function
vmap
vmap maps ranges
stockproduct/stockproduct.go:42
↓ 1 callers
Function
vmap
(value float64, low1 float64, high1 float64, low2 float64, high2 float64)
planets/planets.go:63
↓ 1 callers
Function
vmap
vmap maps one interval to another
bulletgraph/bulletgraph.go:187
↓ 1 callers
Function
w3c
()
paths/paths.go:12
↓ 1 callers
Function
wordstack
wordstack displays text in a left-justified stack
compx/compx.go:800
Method
Mask
Mask creates a mask with a specified id, dimension, and optional style.
svg.go:213
Method
MaskEnd
MaskEnd ends a Mask.
svg.go:218
Function
New
New is the SVG constructor, specifying the io.Writer where the generated SVG is written.
svg.go:56
Method
Qbezier
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
Method
RotateTranslate
RotateTranslate rotates the coordinate system r degrees, then translates to (x,y), end with Gend()
svg.go:155
← previous
next →
101–200 of 242, ranked by callers