MCPcopy Create free account

hub / github.com/ajstarks/deck / functions

Functions370 in github.com/ajstarks/deck

↓ 2 callersFunctionpolar
polar returns the euclidian corrdinates from polar coordinates
cmd/svgdeck/svgdeck.go:132
↓ 2 callersFunctionradians
radians converts degrees to radians
cmd/svgdeck/svgdeck.go:127
↓ 2 callersFunctionrandarc
(aw, ah, sw int, f1, f2 bool)
cmd/codepicdeck/code/randarc.go:18
↓ 2 callersFunctionrandom
(n float64)
cmd/codepicdeck/code/schotter.go:16
↓ 2 callersFunctionreadcmd
readcmd reads interaction commands
cmd/vgdeck/vgdeck.go:728
↓ 2 callersFunctionreload
reload reloads the content and shows the first slide
cmd/fcdeck/fcdeck.go:511
↓ 2 callersFunctionrp
rp returns n random coordinates radiating from (cx, cy)
cmd/testgen/testgen.go:45
↓ 2 callersFunctionsetfontdir
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 callersFunctionsetfontdir
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 callersFunctionshowtext
showtext places fully attributed text at the specified location
cmd/svgdeck/svgdeck.go:384
↓ 2 callersFunctionslides
slides reads the deck file, making the PDF version
cmd/pdfdeck/pdfdeck.go:714
↓ 2 callersFunctionstar
See: http://vormplus.be/blog/article/processing-month-day-4-stars
cmd/codepicdeck/code/star.go:17
↓ 2 callersFunctionstopProcess
helpers stopProcess kills and waits for a running process to exit
cmd/deckd/deckd.go:315
↓ 2 callersFunctionswapext
swapext swaps the specified file extensions
cmd/codepicdeck/codepicdeck.go:67
↓ 2 callersFunctiontextwrap
textwrap draws text at location, wrapping at the specified width
cmd/pdfdeck/pdfdeck.go:420
↓ 2 callersFunctiontextwrap
textwrap draws text at location, wrapping at the specified width
cmd/pngdeck/pngdeck.go:296
↓ 2 callersMethoduarrow
uarrow draws an arrow pointing upwards
cmd/testgen/testgen.go:140
↓ 2 callersFunctionusage
usage prints the usage message
cmd/deckweb/deckweb.go:188
↓ 2 callersFunctionvmap
vmap maps one interval to another
cmd/codepicdeck/code/pf0.go:16
↓ 2 callersFunctionvmap
(value float64, l1 float64, h1 float64, l2 float64, h2 float64)
cmd/codepicdeck/code/plotfunc.go:16
↓ 1 callersFunctionDump
Dump shows the decoded description
deck.go:258
↓ 1 callersMethodTextRotate
TextRotate places rotated text
generate/generate.go:234
↓ 1 callersFunctionarc
arc draws a line
cmd/pdfdeck/pdfdeck.go:212
↓ 1 callersMethodarc
arc makes arc markup from the arc structure.
generate/generate.go:104
↓ 1 callersFunctionbackground
background places a colored rectangle
cmd/svgdeck/svgdeck.go:277
↓ 1 callersFunctionbackground
background places a colored rectangle
cmd/pdfdeck/pdfdeck.go:186
↓ 1 callersFunctionbackground
background places a colored rectangle
cmd/pngdeck/pngdeck.go:145
↓ 1 callersFunctionbranch
(x, y, r, level int)
cmd/codepicdeck/code/recurse.go:18
↓ 1 callersFunctionbullet
bullet draws a bullet
cmd/svgdeck/svgdeck.go:271
↓ 1 callersFunctionbullet
bullet draws a bullet
cmd/pdfdeck/pdfdeck.go:178
↓ 1 callersFunctionbullet
bullet draws a bullet
cmd/pngdeck/pngdeck.go:136
↓ 1 callersMethodcircle
circle makes square markup from the ellipse structure.
generate/generate.go:79
↓ 1 callersFunctioncloud
(x, y, r int, style string)
cmd/codepicdeck/code/cloud.go:15
↓ 1 callersFunctioncloud
(x, y, r int, style string)
cmd/codepicdeck/code/color-clouds.go:17
↓ 1 callersFunctioncodepic
codepic makes a code and picture slides
cmd/codepicdeck/codepicdeck.go:76
↓ 1 callersFunctioncolorNumbers
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 callersFunctioncolorhash
(s string)
cmd/codepicdeck/code/colorhash.go:16
↓ 1 callersMethodcurve
curve makes curve markup from the curve structure.
generate/generate.go:99
↓ 1 callersFunctiondeckinfo
deckinfo returns information (file, size, date) for a deck and movie files in the deck directory
cmd/deckd/deckd.go:383
↓ 1 callersFunctiondefilter
(id string)
cmd/codepicdeck/code/pig.go:10
↓ 1 callersFunctiondispatch
dispatch parses commands and calls the correct function
cmd/deckweb/deckweb.go:24
↓ 1 callersFunctiondoarc
doarc draws a line
cmd/svgdeck/svgdeck.go:287
↓ 1 callersFunctiondoarc
doarc draws an arc
cmd/fcdeck/fcdeck.go:168
↓ 1 callersFunctiondoarc
doarc draws an arc
cmd/pngdeck/pngdeck.go:180
↓ 1 callersFunctiondocurve
docurve draws a bezier curve
cmd/svgdeck/svgdeck.go:295
↓ 1 callersFunctiondocurve
docurve draws a bezier curve
cmd/fcdeck/fcdeck.go:172
↓ 1 callersFunctiondocurve
docurve draws a bezier curve
cmd/pngdeck/pngdeck.go:190
↓ 1 callersFunctiondodeck
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 callersFunctiondodeck
dodeck sets up the graphics environment and kicks off the interaction
cmd/vgdeck/vgdeck.go:29
↓ 1 callersFunctiondodeck
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 callersFunctiondoellipse
doellipse draws a rectangle
cmd/svgdeck/svgdeck.go:305
↓ 1 callersFunctiondoellipse
doellipse draws an ellipse
cmd/fcdeck/fcdeck.go:183
↓ 1 callersFunctiondoellipse
doellipse draws a rectangle
cmd/pngdeck/pngdeck.go:209
↓ 1 callersFunctiondoline
doline draws a line
cmd/svgdeck/svgdeck.go:282
↓ 1 callersFunctiondoline
doline draws a line
cmd/fcdeck/fcdeck.go:161
↓ 1 callersFunctiondoline
doline draws a line
cmd/pngdeck/pngdeck.go:170
↓ 1 callersFunctiondolist
dolists places lists on the canvas
cmd/svgdeck/svgdeck.go:389
↓ 1 callersFunctiondolist
dolist places lists on the canvas
cmd/fcdeck/fcdeck.go:261
↓ 1 callersFunctiondolist
dolists places lists on the canvas
cmd/pngdeck/pngdeck.go:343
↓ 1 callersFunctiondopoly
dopoly draws a polygon
cmd/svgdeck/svgdeck.go:310
↓ 1 callersFunctiondopoly
dopoly draws a polygon
cmd/fcdeck/fcdeck.go:187
↓ 1 callersFunctiondopoly
dopoly draws a polygon
cmd/pngdeck/pngdeck.go:217
↓ 1 callersFunctiondoslides
doslides reads the deck file, making the SVG version
cmd/svgdeck/svgdeck.go:462
↓ 1 callersFunctiondoslides
doslides reads the deck file, making a series of PNGs
cmd/pngdeck/pngdeck.go:628
↓ 1 callersFunctiondotext
dotext places text elements on the canvas according to type
cmd/svgdeck/svgdeck.go:339
↓ 1 callersFunctiondotext
dotext places text elements on the canvas according to type
cmd/fcdeck/fcdeck.go:191
↓ 1 callersFunctiondotext
dotext places text elements on the canvas according to type
cmd/pngdeck/pngdeck.go:249
↓ 1 callersFunctionellipse
ellipse draws a rectangle
cmd/pdfdeck/pdfdeck.go:235
↓ 1 callersMethodellipse
ellipse makes ellipse markup from the ellipse structure.
generate/generate.go:84
↓ 1 callersFunctionfemale
(x, y, w int)
cmd/codepicdeck/code/conception.go:24
↓ 1 callersFunctionfemale
(x, y, w int)
cmd/codepicdeck/code/conception2.go:25
↓ 1 callersFunctionfilecontent
content reads data from a file, returning a tab-expanded string
cmd/pdfdeck/pdfdeck.go:467
↓ 1 callersFunctionfitlist
fitlist fits a list in a vertical range
cmd/testgen/testgen.go:87
↓ 1 callersFunctionfontlookup
fontlookup maps font aliases to implementation font names
cmd/pngdeck/pngdeck.go:93
↓ 1 callersFunctiongradient
gradient sets the background color gradient
cmd/fcdeck/fcdeck.go:157
↓ 1 callersFunctiongradientbg
gradientbg sets the background color gradient
cmd/pdfdeck/pdfdeck.go:191
↓ 1 callersFunctiongradientbg
gradientbg sets the background color gradient
cmd/pngdeck/pngdeck.go:152
↓ 1 callersFunctiongrid
grid makes a labeled grid
cmd/svgdeck/svgdeck.go:97
↓ 1 callersFunctiongrid
grid makes a percentage scale
cmd/fcdeck/fcdeck.go:122
↓ 1 callersFunctiongrid
grid makes a percentage scale
cmd/pdfdeck/pdfdeck.go:152
↓ 1 callersFunctiongrid
grid makes a percentage scale
cmd/pngdeck/pngdeck.go:102
↓ 1 callersFunctionh2r
h2r converts hsv to rgb colors
cmd/svgdeck/svgdeck.go:239
↓ 1 callersFunctionhsv2rgb
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 callersFunctionhsv2rgb
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 callersFunctionhsv2rgb
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 callersFunctionhup
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 callersMethodimage
image makes image markup from the deck image structure.
generate/generate.go:129
↓ 1 callersFunctionimageInfo
(s string)
cmd/svgdeck/svgdeck.go:711
↓ 1 callersFunctionimageInfo
imageinfo returns the dimensions of an image
cmd/fcdeck/fcdeck.go:532
↓ 1 callersFunctionimageInfo
imageInfo returns the dimensions of an image
cmd/pdfdeck/pdfdeck.go:839
↓ 1 callersFunctionimagesize
imagesize returns the dimensions (w,h) of an image file
cmd/codepicdeck/codepicdeck.go:33
↓ 1 callersFunctionincludefile
includefile returns the contents of a file as string
cmd/svgdeck/svgdeck.go:174
↓ 1 callersFunctionincludefile
includefile returns the contents of a file as string
cmd/fcdeck/fcdeck.go:98
↓ 1 callersFunctionincludefile
includefile returns the contents of a file as string
cmd/vgdeck/vgdeck.go:718
↓ 1 callersFunctionincludefile
includefile returns the contents of a file as string
cmd/pdfdeck/pdfdeck.go:477
↓ 1 callersFunctionincludefile
includefile returns the content of a file as a tab-expanded, XML-escaped string
cmd/codepicdeck/codepicdeck.go:23
↓ 1 callersFunctionincludefile
includefile returns the contents of a file as string
cmd/pngdeck/pngdeck.go:73
↓ 1 callersFunctionindex
index makes an image index slide
cmd/codepicdeck/codepicdeck.go:49
↓ 1 callersFunctioninteract
interact controls the display of the deck
cmd/vgdeck/vgdeck.go:118
↓ 1 callersFunctionline
line draws a line
cmd/pdfdeck/pdfdeck.go:204
← previousnext →101–200 of 370, ranked by callers