| a | arr[T,U] | array to be duplicated |
| n | vec[i32,U] | desired array shape |
| a | T | value to fill array with (mutable types are by-reference) |
| a | arr[T,U] | array to modify |
| n | vec[i32,U] | desired new shape |
| a | arr[T,U] | array to query |
| a | dict[T,U] | dict to modify |
| a | dict[T,U] | dict to modify |
| x | T | key to remove |
| a | dict[T,U] | dict to query |
| x | T | key to check |
| a | dict[T,U] | dict to query |
| a | dict[T,U] | dict to query |
| a | dict[T,U] | dict to query |
| x | vec[f32,3,3] | transformation to apply |
| r | f32 | red |
| g | f32 | green |
| b | f32 | blue |
| a | f32 | alpha |
| r | f32 | red |
| g | f32 | green |
| b | f32 | blue |
| r | f32 | grayscale |
| r | f32 | grayscale |
| a | f32 | alpha |
| x | f32 | center X |
| y | f32 | center Y |
| d | f32 | diameter |
| w | i32 | desired width |
| h | i32 | desired height |
| x | f32 | center X |
| y | f32 | center Y |
| w | f32 | diameter X |
| h | f32 | diameter Y |
| close | i32 | 1 to close the shape (polygon), 0 otherwise (polyline) |
| r | f32 | red |
| g | f32 | green |
| b | f32 | blue |
| a | f32 | alpha |
| r | f32 | red |
| g | f32 | green |
| b | f32 | blue |
| r | f32 | grayscale |
| a | f32 | alpha |
| r | f32 | grayscale |
| x | f32 | left coordinate to draw to |
| y | f32 | top coordinate to draw to |
| w | f32 | width after scaling |
| h | f32 | height after scaling |
| x | f32 | left coordinate to draw to |
| y | f32 | top coordinate to draw to |
| pix | arr[u8,3] | array holding desired RGBA colors of each pixel (0-255) |
| x0 | f32 | X coordinate of one end |
| y0 | f32 | Y coordinate of one end |
| x1 | f32 | X coordinate of the other end |
| y1 | f32 | Y coordinate of the other end |
| close | i32 | 1 to close the previous contour, 0 otherwise |
| x | f32 | X coordinate |
| y | f32 | Y coordinate |
| x | f32 | left coordinate |
| y | f32 | top coordinate |
| w | f32 | width |
| h | f32 | height |
| w | i32 | new width |
| h | i32 | new height |
| x | f32 | angle in degrees |
| x | f32 | factor on X axis |
| y | f32 | factor on Y axis |
| x | f32 | factor on both axes |
| w | i32 | width |
| h | i32 | height |
| r | f32 | red |
| g | f32 | green |
| b | f32 | blue |
| a | f32 | alpha |
| r | f32 | red |
| g | f32 | green |
| b | f32 | blue |
| r | f32 | grayscale |
| r | f32 | grayscale |
| a | f32 | alpha |
| w | f32 | thickness in pixels |
| s | str | string containing the text |
| x | f32 | left coordinate |
| y | f32 | bottom coordinate |
| x | f32 | X offset |
| y | f32 | Y offset |
| x | f32 | X coordinate |
| y | f32 | Y coordinate |
| src | str | string to parse |
| obj | JSON | JSON to serialize |
| bytes | list[u8] | list of bytes |
| hfset | i32 | the Hershey font character set, e.g. H1_SANS |
| gidx | i32 | glyph index of the glyph being rendered |
| hidx | i32 | glyph index of the next glyph (or -1) |
| flag | u32 | flags, e.g. FEAT_KERN |
| gidx | i32 | glyph index of the glyph being rendered |
| hidx | i32 | glyph index of the next glyph (or -1) |
| gidx | i32 | glyph index |
| reso | i32 | resolution (number of samples) for curves |
| gidx | i32 | glyph index |
| ch | i32 | ASCII/unicode entry point |
| flag | u32 | flags, e.g. FEAT_ONUM |
| lig | list[i32] | list of ASCII/unicode entry points (that are potentially eligible for ligatures) |
| flag | u32 | flags, e.g. FEAT_LIGA |
| prgm | i32 | shader program (from .program(...)) |
| tex | Texture | texture to render to |
| prgm | i32 | shader program (from .program(...)) |
| ctx | u64 | the windowing context (from win.init(...)) |
| src | str | fragment source code |
| w | i32 | new width |
| h | i32 | new height |
| w | i32 | desired width |
| h | i32 | desired height |
| flags | i32 | bitwise OR of flags, e.g. FILTER_MIPMAP|WRAP_REPEAT |
| w | i32 | desired width |
| h | i32 | desired height |
| uv | vec[f32,2] | normalized uv-coordinate (0-1) |
| pix | arr[u8,3] | array holding desired RGBA colors of each pixel (0-255) |
| name | str | name of the uniform (matches name in shader) |
| x | T | the desired value |
| ps | list[vec[f32,N]] | points in question |
| flags | i32 | flags, see MODE_ORIENTED and MODE_ALIGNED |
| pline | list[vec[f32,2]] | polyline to be clipped |
| region | list[vec[f32,2]] | polygon to clip the polyline with |
| flags | i32 | OP_INCLUDE or OP_EXCLUDE |
| poly | list[vec[f32,2]] | points in question |
| ps | list[vec[f32,N]] | vertices / control points |
| params | list[f32] | list of parameters (specific for the curve type, use empty list for defaults) |
| t | f32 | interpolant / parameter value |
| flags | i32 | specify curve type. e.g. TYPE_BEZIER|ORD_CUBIC |
| ps | list[vec[f32,2]] | points in question |
| p0 | vec[f32,N] | first point on first line (LHS) |
| p1 | vec[f32,N] | second point on first line |
| q0 | vec[f32,N] | first point on second line (RHS) |
| q1 | vec[f32,N] | second point on second line |
| flags | i32 | flags, e.g. LHS_RAY|RHS_SEGMENT|RET_POINTS |
| poly | list[vec[f32,2]] | polyline or polygon in question |
| n | f32 | either point count or spacing between points depending on flags argument |
| flags | i32 | e.g. MODE_POLYGON|BY_SPACING or MODE_POLYLINE|BY_COUNT, etc. |
| poly | list[vec[f32,2]] | polyline to be approximated |
| eps | f32 | epsilon, maximum tolerable error from the original, smaller number keeps more details |
| pt | vec[f32,2] | point in question |
| poly | list[vec[f32,2]] | polygon in question |
| poly | list[vec[f32,2]] | polygon in question |
| ps | list[vec[f32,2]] | points in question |
| name | str | name of GUI element |
| x | str | default value |
| name | str | name of GUI element |
| name | str | name of GUI element |
| x | T | desired value |
| name | str | name of GUI element |
| x | f32 | default value |
| l | f32 | minimum value |
| r | f32 | maximum value |
| name | str | name of GUI element |
| x | i32 | default value |
| l | i32 | minimum value |
| r | i32 | maximum value |
| name | str | name of GUI element |
| x | vec[T,N] | default value |
| l | vec[T,N] | minimum value |
| r | vec[T,N] | maximum value |
| name | str | name of GUI element |
| x | i32 | default value |
| pix | arr[T,N] | input image |
| flags | i32 | e.g. COLOR_INVERT|ALPHA_DROP |
| out | arr[U,M] | supply image to hold output |
| pix | arr[T,N] | input image |
| flags | i32 | e.g. COLOR_INVERT|ALPHA_DROP |
| pix | arr[f32,2] | input image |
| kern | arr[f32,2] | kernel |
| flags | i32 | e.g. BORDER_COPY |
| out | arr[f32,2] | supply image to hold output (can be same as input) |
| pix | arr[u8,2] | input image |
| kern | arr[f32,2] | kernel |
| flags | i32 | e.g. BORDER_COPY |
| out | arr[u8,2] | supply image to hold output (can be same as input) |
| pix | arr[T,2] | input image |
| kern | arr[f32,2] | kernel |
| flags | i32 | e.g. BORDER_COPY |
| buf | list[u8] | list of bytes holding the image in its encoded form |
| pix | arr[T,2] | input image, non-zero values represent foreground / object pixels |
| flags | i32 | e.g. NORM_L2|BYPROD_NONE |
| out | arr[f32,2] | supply image to hold output |
| pix | arr[T,2] | input image, non-zero values represent foreground / object pixels |
| flags | i32 | e.g. NORM_L2|BYPROD_NONE |
| ext | str | image format, specified as file extension |
| pix | arr[u8,3] | array of pixels (RGBA 0-255) |
| pix | arr[u8,2] | input image, non-zero values represent foreground / object pixels |
| pix | arr[T,3] | input image |
| x | i32 | horizontal coordinate |
| y | i32 | vertical coordinate |
| pix | arr[u8,2] | input image, non-zero values represent foreground / object pixels |
| out | arr[i32,2] | supply image to hold output |
| pix | arr[u8,2] | input image, non-zero values represent foreground / object pixels |
| pix | arr[u8,2] | input image |
| rad | i32 | radius |
| flags | i32 | e.g. MORPH_ERODE|NORM_L2 (distance metric determines kernel shape) |
| out | arr[u8,2] | supply image to hold output (can be same as input) |
| pix | arr[u8,2] | input image |
| rad | i32 | radius |
| flags | i32 | e.g. MORPH_ERODE|NORM_L2 (distance metric determines kernel shape) |
| pix | arr[u8,3] | input image |
| n | i32 | desired number of colors in palette |
| pix | arr[T,3] | image to modify |
| x | i32 | horizontal coordinate |
| y | i32 | vertical coordinate |
| c | vec[T,N] | desired color as a vector |
| pix | arr[u8,2] | input image |
| thresh | i32 | desired threshold value (ignored for THRESH_AUTO) |
| flags | i32 | e.g. THRESH_ADAPTIVE|5 |
| s | str | string to print |
| s | str | string to print |
| s | str | path to file (or URL on some backends) |
| s | str | path to file (or URL on some backends) |
| buf | list[u8] | list of bytes |
| a | list[T] | first list |
| b | list[T] | second list |
| a | list[T] | list to modify |
| i | i32 | start index (inclusive) |
| j | i32 | end index (exclusive) |
| a | list[T] | list whose elements will be input to the function, in order |
| f | func[tup[T],i32] | the function to apply to each element |
| a | list[T] | list to search in |
| x | T | value to look for |
| a | list[T] | list to modify |
| i | i32 | the element will be of this index after insertion |
| x | T | the element to insert |
| a | list[T] | list to query |
| n | i32 | desired length |
| a | T | value to fill list with (mutable types are by-reference) |
| a | list[T] | list whose elements will be input to the function, in order |
| f | func[tup[T],U] | the function to apply to each element |
| a | list[T] | list to modify |
| a | list[T] | list to modify |
| x | T | element to be pushed |
| a | list[T] | list to modify |
| a | list[T] | list to be sliced |
| i | i32 | start index (inclusive) |
| j | i32 | end index (exclusive) |
| a | list[T] | list to be copied |
| a | list[T] | list to sort |
| f | func[tup[T],f32] | key function, returns a float which will be used to compare elements |
| a | list[T] | list to sort (elements will be castable to float for comparison) |
| x | f32 | input |
| x | vec[f32,N] | input |
| x | f32 | input |
| x | vec[f32,N] | input |
| x | f32 | dividend |
| y | f32 | divisor |
| x | vec[f32,N] | dividend |
| y | vec[f32,N] | divisor |
| x | u32 | the u32 |
| x | f32 | the f32 |
| x | f32 | input |
| x | vec[f32,N] | input |
| x | T | value |
| a | T | lower bound |
| b | T | upper bound |
| x | f32 | input in radians |
| x | vec[f32,N] | input in radians |
| x | f32 | the exponent |
| x | vec[f32,N] | the exponent |
| x | f32 | input |
| x | vec[f32,N] | input |
| x | f32 | first argument |
| y | f32 | second argument |
| x | vec[f32,N] | first argument |
| y | vec[f32,N] | second argument |
| x | T | lower end |
| y | T | higher end |
| t | f32 | interpolant |
| x | T | value |
| ilo | T | initial lower end |
| ihi | T | initial higher end |
| olo | T | oncoming lower end |
| ohi | T | oncoming higher end |
| x | f32 | input |
| x | vec[f32,N] | input |
| x | f32 | first argument |
| y | f32 | second argument |
| x | vec[f32,N] | first argument |
| y | vec[f32,N] | second argument |
| x | f32 | first argument |
| y | f32 | second argument |
| x | vec[f32,N] | first argument |
| y | vec[f32,N] | second argument |
| x | f32 | input |
| x | vec[f32,N] | input |
| x | f32 | input in radians |
| x | vec[f32,N] | input in radians |
| x | f32 | input |
| x | vec[f32,N] | input |
| x | f32 | input in radians |
| x | vec[f32,N] | input in radians |
| x | f32 | sample X |
| y | f32 | sample Y |
| z | f32 | sample Z |
| x | f32 | sample X |
| y | f32 | sample Y |
| x | f32 | sample coordinate |
| lod | i32 | level of detail (fractal octave count) |
| falloff | f32 | diminish factor on each subsequent octave |
| a | f32 | upper bound |
| a | vec[f32,N] | element-wise upper bound |
| a | T | lower bound |
| b | T | upper bound |
| x | u32 | the seed |
| r | f32 | red |
| g | f32 | green |
| b | f32 | blue |
| a | f32 | alpha |
| r | f32 | red |
| g | f32 | green |
| b | f32 | blue |
| r | f32 | grayscale |
| eye | vec[f32,3] | camera position |
| targ | vec[f32,3] | target position |
| up | vec[f32,3] | up vector |
| left | f32 | left clipping plane |
| right | f32 | right clipping plane |
| bottom | f32 | bottom clipping plane |
| top | f32 | top clipping plane |
| near | f32 | near clipping plane |
| far | f32 | far clipping plane |
| fovy | f32 | field of view angle, in degrees, in the Y direction |
| aspect | f32 | aspect ratio (X/Y) |
| near | f32 | near clipping plane |
| far | f32 | far clipping plane |
| ctx | u64 | the windowing context (from win.init(...)) |
| axis | vec[f32,3] | axis of rotation |
| ang | f32 | angle in degrees |
| x | f32 | scale factor on X axis |
| y | f32 | scale factor on Y axis |
| z | f32 | scale factor on Z axis |
| x | f32 | scale factor |
| x | f32 | offset on X axis |
| y | f32 | offset on Y axis |
| z | f32 | offset on Z axis |
| transform | vec[f32,4,4] | transformation (a.k.a. model as in model-view-projection) matrix |
| transforms | list[vec[f32,4,4]] | list of transformation matrices |
| flags | i32 | a bitwise OR of .DIRTY_* flags, e.g. .DIRTY_VERTICES|.DIRTY_COLORS |
| s | str | string containing text to draw |
| transform | vec[f32,4,4] | transformation matrix |
| s | str | the string to search in |
| re | str | the regular expression to search for |
| s | str | the string to search in |
| re | str | the regular expression to search for |
| rep | str | the string to replace with |
| s | str | string to check |
| re | str | the pattern to check the string with |
| rq | Request | the request |
| rate | i32 | sampling rate, e.g. 44100 |
| chan | i32 | number of channels, 1=mono, 2=stereo |
| x | f32 | audio sample (-1.0 to 1.0) |
| s | str | string to check |
| cs | str | the proposed prefix or suffix |
| end | i32 | which end, LEADING or TRAILING |
| i | u32 | code point |
| btyes | list[u8] | list of bytes holding the encoded representation |
| encoding | str | encoding, e.g. utf-8 |
| s | str | the string to be encoded |
| encoding | str | encoding, e.g. utf-8 |
| s | str | the delimiter to put between the strings |
| ss | list[str] | list of strings to join |
| s | str | the string to query |
| s | str | string containing the 1 character |
| s | str | string |
| i | i32 | index of character |
| s | str | string to be padded |
| n | i32 | desired final total length |
| cs | str | string used as padding |
| end | i32 | which end, LEADING or TRAILING |
| s | str | string to copy from |
| i | i32 | start index (inclusive) |
| j | i32 | end index (exclusive) |
| s | str | string to be splitted |
| delim | str | the delimiter |
| s | str | string to trim |
| cs | str | string containing set of all characters to evict, e.g. " \t\n" |
| end | i32 | which end, LEADING or TRAILING |
| cmd | str | |
| flags | i32 |
| name | str | name of environment variable |
| ms | f32 | time in milliseconds |
| trg | f32 | desired frames-per-second |
| stmp | f64 | timestamp in seconds |
| v | vec[f32,3] | first vector |
| u | vec[f32,3] | second vector |
| v | vec[f32,N] | vector in question |
| v | vec[f32,N] | first vector |
| u | vec[f32,N] | second vector |
| v | vec[f32,N] | vector in question |
| flag | i32 | flags (e.g. source, resolution, effects) |
| path | str | webcam device name/file path |
| flag | i32 | flags (e.g. source, resolution, effects) |
| w | i32 | width |
| h | i32 | height |
| flags | i32 | flags (e.g. 2D/3D context) |