Expand description
Brain Display
Structs§
- v5_
image - A decoded image written to by VEXos.
Functions§
- vexDisplay
Background ⚠Color - Sets the color (encoded as RGB8) used for all future erasing display draws.
- vexDisplay
Background ⚠Color Get - Gets the currently set background color as an RGB8 color.
- vexDisplay
BigCentered ⚠String - vexDisplay
BigString ⚠ - vexDisplay
BigString ⚠At - vexDisplay
Centered ⚠String - vexDisplay
Circle ⚠Clear - Fills a circular region of the screen with the current background color.
- vexDisplay
Circle ⚠Draw - Strokes a one-pixel wide circle defined by a center-point and a radius with the current foreground color.
- vexDisplay
Circle ⚠Fill - Fills a circular region of the screen with the current foreground color.
- vexDisplay
Clip ⚠Region Set - Sets a rectangular region of the display’s framebuffer that the current task is allowed to modify.
- vexDisplay
Clip ⚠Region SetWith Index - Sets a rectangular region of the display’s framebuffer that the a given task index is allowed to modify.
- vexDisplay
Copy ⚠Rect - Draw a buffer of pixels to a rectangular region of the screen.
- vexDisplay
Double ⚠Buffer Disable - Disables double-buffered mode, switching back to immediate mode rendering.
- vexDisplay
Erase ⚠ - Fills the entire framebuffer with the current background color.
- vexDisplay
Font ⚠Named Set - Safety
- vexDisplay
Foreground ⚠Color - Sets the color (encoded as RGB8) used for all future non-erasing display draws.
- vexDisplay
Foreground ⚠Color Get - Gets the currently set foreground color as an RGB8 color.
- vexDisplay
Line ⚠Clear - Draws a one-pixel wide stroke line between two points with the current background color.
- vexDisplay
Line ⚠Draw - Draws a one-pixel wide stroke line between two points with the current foreground color.
- vexDisplay
Pixel ⚠Clear - Fills a given pixel of the screen with the current background color.
- vexDisplay
Pixel ⚠Set - Fills a given pixel of the screen with the current foreground color.
- vexDisplay
Printf ⚠ - vexDisplay
Rect ⚠Clear - Fills a rectangular region of the screen with the current background color.
- vexDisplay
Rect ⚠Draw - Strokes a one-pixel wide rectangular region of the screen with the current foreground color.
- vexDisplay
Rect ⚠Fill - Fills rectangular region of the screen with the current foreground color.
- vexDisplay
Render ⚠ - Enables double-buffered mode on the display, flushing the intermediate framebuffer.
- vexDisplay
Scroll ⚠ - Moves a region of the screen defined by all the pixels whose y-axis coordinate are
within the range [nStartLine, 272)
nLines
pixels upwards, without affecting portions of the screen outside the specified scroll region. - vexDisplay
Scroll ⚠Rect - Moves a rectangular region of the screen
nLines
pixels upwards, without affecting portions of the screen outside the specified scroll region. - vexDisplay
Small ⚠String At - vexDisplay
String ⚠ - vexDisplay
String ⚠At - vexDisplay
String ⚠Height Get - Returns the calculated height (in pixels) of a string if it were to be drawn to the display.
- vexDisplay
String ⚠Width Get - Returns the calculated width (in pixels) of a string if it were to be drawn to the display.
- vexDisplay
Text ⚠Size - Safety
- vexDisplayV
BigCentered ⚠String - Draws a string of large-sized, center-justified text to the display at a given line.
- vexDisplayV
BigString ⚠ - Draws a string of large-sized text to the display at a given line.
- vexDisplayV
BigString ⚠At - Draws a string of large-sized text to the display at a top-left coordinate.
- vexDisplayV
Centered ⚠String - Draws a string of center-justified text to the display at a given line.
- vexDisplayV
Printf ⚠ - Draws a string of text to the display at a given top-left coordinate.
- vexDisplayV
Small ⚠String At - Draws a string of small-sized text to the display at a given line.
- vexDisplayV
String ⚠ - Draws a string of text to the display at a given line.
- vexDisplayV
String ⚠At - Draws a string of text to the display at a given top-left coordinate.
- vexImage
BmpRead ⚠ - Decodes a bitmap-encoded image passed to
ibuf
into a buffer of pixels that can be drawn to the display. - vexImage
PngRead ⚠ - Decodes a PNG file passed to
ibuf
into a buffer of pixels that can be drawn to the display. This function useslibpng
internally to decode the file’s contents.