Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ajstarks/deck
/ functions
Functions
370 in github.com/ajstarks/deck
⨍
Functions
370
◇
Types & classes
29
↓ 2 callers
Function
polar
polar returns the euclidian corrdinates from polar coordinates
cmd/svgdeck/svgdeck.go:132
↓ 2 callers
Function
radians
radians converts degrees to radians
cmd/svgdeck/svgdeck.go:127
↓ 2 callers
Function
randarc
(aw, ah, sw int, f1, f2 bool)
cmd/codepicdeck/code/randarc.go:18
↓ 2 callers
Function
random
(n float64)
cmd/codepicdeck/code/schotter.go:16
↓ 2 callers
Function
readcmd
readcmd reads interaction commands
cmd/vgdeck/vgdeck.go:728
↓ 2 callers
Function
reload
reload reloads the content and shows the first slide
cmd/fcdeck/fcdeck.go:511
↓ 2 callers
Function
rp
rp returns n random coordinates radiating from (cx, cy)
cmd/testgen/testgen.go:45
↓ 2 callers
Function
setfontdir
setfontdir determines the font directory: if the string argument is non-empty, use that, otherwise use the contents of the DECKFONT environment variab
cmd/pdfdeck/pdfdeck.go:827
↓ 2 callers
Function
setfontdir
setfontdir determines the font directory: if the string argument is non-empty, use that, otherwise use the contents of the DECKFONT environment variab
cmd/pngdeck/pngdeck.go:677
↓ 2 callers
Function
showtext
showtext places fully attributed text at the specified location
cmd/svgdeck/svgdeck.go:384
↓ 2 callers
Function
slides
slides reads the deck file, making the PDF version
cmd/pdfdeck/pdfdeck.go:714
↓ 2 callers
Function
star
See: http://vormplus.be/blog/article/processing-month-day-4-stars
cmd/codepicdeck/code/star.go:17
↓ 2 callers
Function
stopProcess
helpers stopProcess kills and waits for a running process to exit
cmd/deckd/deckd.go:315
↓ 2 callers
Function
swapext
swapext swaps the specified file extensions
cmd/codepicdeck/codepicdeck.go:67
↓ 2 callers
Function
textwrap
textwrap draws text at location, wrapping at the specified width
cmd/pdfdeck/pdfdeck.go:420
↓ 2 callers
Function
textwrap
textwrap draws text at location, wrapping at the specified width
cmd/pngdeck/pngdeck.go:296
↓ 2 callers
Method
uarrow
uarrow draws an arrow pointing upwards
cmd/testgen/testgen.go:140
↓ 2 callers
Function
usage
usage prints the usage message
cmd/deckweb/deckweb.go:188
↓ 2 callers
Function
vmap
vmap maps one interval to another
cmd/codepicdeck/code/pf0.go:16
↓ 2 callers
Function
vmap
(value float64, l1 float64, h1 float64, l2 float64, h2 float64)
cmd/codepicdeck/code/plotfunc.go:16
↓ 1 callers
Function
Dump
Dump shows the decoded description
deck.go:258
↓ 1 callers
Method
TextRotate
TextRotate places rotated text
generate/generate.go:234
↓ 1 callers
Function
arc
arc draws a line
cmd/pdfdeck/pdfdeck.go:212
↓ 1 callers
Method
arc
arc makes arc markup from the arc structure.
generate/generate.go:104
↓ 1 callers
Function
background
background places a colored rectangle
cmd/svgdeck/svgdeck.go:277
↓ 1 callers
Function
background
background places a colored rectangle
cmd/pdfdeck/pdfdeck.go:186
↓ 1 callers
Function
background
background places a colored rectangle
cmd/pngdeck/pngdeck.go:145
↓ 1 callers
Function
branch
(x, y, r, level int)
cmd/codepicdeck/code/recurse.go:18
↓ 1 callers
Function
bullet
bullet draws a bullet
cmd/svgdeck/svgdeck.go:271
↓ 1 callers
Function
bullet
bullet draws a bullet
cmd/pdfdeck/pdfdeck.go:178
↓ 1 callers
Function
bullet
bullet draws a bullet
cmd/pngdeck/pngdeck.go:136
↓ 1 callers
Method
circle
circle makes square markup from the ellipse structure.
generate/generate.go:79
↓ 1 callers
Function
cloud
(x, y, r int, style string)
cmd/codepicdeck/code/cloud.go:15
↓ 1 callers
Function
cloud
(x, y, r int, style string)
cmd/codepicdeck/code/color-clouds.go:17
↓ 1 callers
Function
codepic
codepic makes a code and picture slides
cmd/codepicdeck/codepicdeck.go:76
↓ 1 callers
Function
colorNumbers
colorNumbers returns a list of numbers from a comma separated list, in the form of xxx(n1, n2, n3), after removing tabs and spaces.
cmd/svgdeck/svgdeck.go:185
↓ 1 callers
Function
colorhash
(s string)
cmd/codepicdeck/code/colorhash.go:16
↓ 1 callers
Method
curve
curve makes curve markup from the curve structure.
generate/generate.go:99
↓ 1 callers
Function
deckinfo
deckinfo returns information (file, size, date) for a deck and movie files in the deck directory
cmd/deckd/deckd.go:383
↓ 1 callers
Function
defilter
(id string)
cmd/codepicdeck/code/pig.go:10
↓ 1 callers
Function
dispatch
dispatch parses commands and calls the correct function
cmd/deckweb/deckweb.go:24
↓ 1 callers
Function
doarc
doarc draws a line
cmd/svgdeck/svgdeck.go:287
↓ 1 callers
Function
doarc
doarc draws an arc
cmd/fcdeck/fcdeck.go:168
↓ 1 callers
Function
doarc
doarc draws an arc
cmd/pngdeck/pngdeck.go:180
↓ 1 callers
Function
docurve
docurve draws a bezier curve
cmd/svgdeck/svgdeck.go:295
↓ 1 callers
Function
docurve
docurve draws a bezier curve
cmd/fcdeck/fcdeck.go:172
↓ 1 callers
Function
docurve
docurve draws a bezier curve
cmd/pngdeck/pngdeck.go:190
↓ 1 callers
Function
dodeck
dodeck turns deck input files into SVG SVG is written the destination directory, to filenames based on the input name.
cmd/svgdeck/svgdeck.go:728
↓ 1 callers
Function
dodeck
dodeck sets up the graphics environment and kicks off the interaction
cmd/vgdeck/vgdeck.go:29
↓ 1 callers
Function
dodeck
dodeck turns deck input files into PNG files PNGs are written to the destination directory, to filenames based on the input name.
cmd/pngdeck/pngdeck.go:646
↓ 1 callers
Function
doellipse
doellipse draws a rectangle
cmd/svgdeck/svgdeck.go:305
↓ 1 callers
Function
doellipse
doellipse draws an ellipse
cmd/fcdeck/fcdeck.go:183
↓ 1 callers
Function
doellipse
doellipse draws a rectangle
cmd/pngdeck/pngdeck.go:209
↓ 1 callers
Function
doline
doline draws a line
cmd/svgdeck/svgdeck.go:282
↓ 1 callers
Function
doline
doline draws a line
cmd/fcdeck/fcdeck.go:161
↓ 1 callers
Function
doline
doline draws a line
cmd/pngdeck/pngdeck.go:170
↓ 1 callers
Function
dolist
dolists places lists on the canvas
cmd/svgdeck/svgdeck.go:389
↓ 1 callers
Function
dolist
dolist places lists on the canvas
cmd/fcdeck/fcdeck.go:261
↓ 1 callers
Function
dolist
dolists places lists on the canvas
cmd/pngdeck/pngdeck.go:343
↓ 1 callers
Function
dopoly
dopoly draws a polygon
cmd/svgdeck/svgdeck.go:310
↓ 1 callers
Function
dopoly
dopoly draws a polygon
cmd/fcdeck/fcdeck.go:187
↓ 1 callers
Function
dopoly
dopoly draws a polygon
cmd/pngdeck/pngdeck.go:217
↓ 1 callers
Function
doslides
doslides reads the deck file, making the SVG version
cmd/svgdeck/svgdeck.go:462
↓ 1 callers
Function
doslides
doslides reads the deck file, making a series of PNGs
cmd/pngdeck/pngdeck.go:628
↓ 1 callers
Function
dotext
dotext places text elements on the canvas according to type
cmd/svgdeck/svgdeck.go:339
↓ 1 callers
Function
dotext
dotext places text elements on the canvas according to type
cmd/fcdeck/fcdeck.go:191
↓ 1 callers
Function
dotext
dotext places text elements on the canvas according to type
cmd/pngdeck/pngdeck.go:249
↓ 1 callers
Function
ellipse
ellipse draws a rectangle
cmd/pdfdeck/pdfdeck.go:235
↓ 1 callers
Method
ellipse
ellipse makes ellipse markup from the ellipse structure.
generate/generate.go:84
↓ 1 callers
Function
female
(x, y, w int)
cmd/codepicdeck/code/conception.go:24
↓ 1 callers
Function
female
(x, y, w int)
cmd/codepicdeck/code/conception2.go:25
↓ 1 callers
Function
filecontent
content reads data from a file, returning a tab-expanded string
cmd/pdfdeck/pdfdeck.go:467
↓ 1 callers
Function
fitlist
fitlist fits a list in a vertical range
cmd/testgen/testgen.go:87
↓ 1 callers
Function
fontlookup
fontlookup maps font aliases to implementation font names
cmd/pngdeck/pngdeck.go:93
↓ 1 callers
Function
gradient
gradient sets the background color gradient
cmd/fcdeck/fcdeck.go:157
↓ 1 callers
Function
gradientbg
gradientbg sets the background color gradient
cmd/pdfdeck/pdfdeck.go:191
↓ 1 callers
Function
gradientbg
gradientbg sets the background color gradient
cmd/pngdeck/pngdeck.go:152
↓ 1 callers
Function
grid
grid makes a labeled grid
cmd/svgdeck/svgdeck.go:97
↓ 1 callers
Function
grid
grid makes a percentage scale
cmd/fcdeck/fcdeck.go:122
↓ 1 callers
Function
grid
grid makes a percentage scale
cmd/pdfdeck/pdfdeck.go:152
↓ 1 callers
Function
grid
grid makes a percentage scale
cmd/pngdeck/pngdeck.go:102
↓ 1 callers
Function
h2r
h2r converts hsv to rgb colors
cmd/svgdeck/svgdeck.go:239
↓ 1 callers
Function
hsv2rgb
hsv2rgb converts hsv(h (0-360), s (0-100), v (0-100)) to rgb reference: https://en.wikipedia.org/wiki/HSL_and_HSV#HSV_to_RGB
cmd/svgdeck/svgdeck.go:191
↓ 1 callers
Function
hsv2rgb
hsv2rgb converts hsv(h (0-360), s (0-100), v (0-100)) to rgb reference: https://en.wikipedia.org/wiki/HSL_and_HSV#HSV_to_RGB
cmd/pdfdeck/colors.go:213
↓ 1 callers
Function
hsv2rgb
hsv2rgb converts hsv(h (0-360), s (0-100), v (0-100)) to rgb reference: https://en.wikipedia.org/wiki/HSL_and_HSV#HSV_to_RGB
cmd/pngdeck/colors.go:213
↓ 1 callers
Function
hup
hup processes the hangup (SIGHUP) signal re-read the input, adjust the number of slides, show the first slide
cmd/fcdeck/fcdeck.go:469
↓ 1 callers
Method
image
image makes image markup from the deck image structure.
generate/generate.go:129
↓ 1 callers
Function
imageInfo
(s string)
cmd/svgdeck/svgdeck.go:711
↓ 1 callers
Function
imageInfo
imageinfo returns the dimensions of an image
cmd/fcdeck/fcdeck.go:532
↓ 1 callers
Function
imageInfo
imageInfo returns the dimensions of an image
cmd/pdfdeck/pdfdeck.go:839
↓ 1 callers
Function
imagesize
imagesize returns the dimensions (w,h) of an image file
cmd/codepicdeck/codepicdeck.go:33
↓ 1 callers
Function
includefile
includefile returns the contents of a file as string
cmd/svgdeck/svgdeck.go:174
↓ 1 callers
Function
includefile
includefile returns the contents of a file as string
cmd/fcdeck/fcdeck.go:98
↓ 1 callers
Function
includefile
includefile returns the contents of a file as string
cmd/vgdeck/vgdeck.go:718
↓ 1 callers
Function
includefile
includefile returns the contents of a file as string
cmd/pdfdeck/pdfdeck.go:477
↓ 1 callers
Function
includefile
includefile returns the content of a file as a tab-expanded, XML-escaped string
cmd/codepicdeck/codepicdeck.go:23
↓ 1 callers
Function
includefile
includefile returns the contents of a file as string
cmd/pngdeck/pngdeck.go:73
↓ 1 callers
Function
index
index makes an image index slide
cmd/codepicdeck/codepicdeck.go:49
↓ 1 callers
Function
interact
interact controls the display of the deck
cmd/vgdeck/vgdeck.go:118
↓ 1 callers
Function
line
line draws a line
cmd/pdfdeck/pdfdeck.go:204
← previous
next →
101–200 of 370, ranked by callers