|
LCD-14048 Datasheet, PDF (12/33 Pages) SparkFun Electronics – TeensyView Hookup Guide | |||
|
◁ |
Page 12 of 33
⢠uint8_t getFontStartChar(void) â Get font starting character.
Return the starting ASCII character of the current font; not all fonts
start with ASCII character 0. Custom fonts can start from any ASCII
character.
⢠uint8_t getFontTotalChar(void) â Get font total characters.
Return the total characters of the current font.
Drawing Pixels
⢠void pixel(* uint8_t x, * uint8_t y) â Draw pixel using the
current fore color and current draw mode in the screen bufferâs x,y
position.
⢠void pixel(* uint8_t x, * uint8_t y, * uint8_t color, * uint8_t mode)
â Draw color pixel in the screen bufferâs x,y position with NORM or
XOR draw mode.
Drawing Lines
⢠void line(* uint8_t x0, * uint8_t y0, * uint8_t x1, * uint8_t y1)
â Draw line using current fore color and current draw mode from
x0,y0 to x1,y1 of the screen buffer.
⢠void line(* uint8_t x0, * uint8_t y0, * uint8_t x1, * uint8_t y1, * uint8_t color, * uint8_t mode)
â Draw line using color and mode from x0,y0 to x1,y1 of the screen
buffer.
⢠void lineH(* uint8_t x, * uint8_t y, * uint8_t width) â Draw
horizontal line using current fore color and current draw mode from
x,y to x+width,y of the screen buffer.
⢠void lineH(* uint8_t x, * uint8_t y, * uint8_t width, * uint8_t color, * uint8_t mode)
â Draw horizontal line using color and mode from x,y to x+width,y of
the screen buffer.
⢠void lineV(* uint8_t x, * uint8_t y, * uint8_t height) â
Draw vertical line using current fore color and current draw mode
from x,y to x,y+height of the screen buffer.
⢠void lineV(* uint8_t x, * uint8_t y, * uint8_t height, * uint8_t color, * uint8_t mode)
â Draw vertical line using color and mode from x,y to x,y+height of
the screen buffer.
Drawing Rectangles
⢠void rect(* uint8_t x, * uint8_t y, * uint8_t width, * uint8_t height)
â Draw rectangle using current fore color and current draw mode
from x,y to x+width,y+height of the screen buffer.
⢠void rect(* uint8_t x, * uint8_t y, * uint8_t width, * uint8_t height, * uint8_t color, * uint8_t mode)
â Draw rectangle using color and mode from x,y to x+width,y+height
of the screen buffer.
⢠void rectFill(* uint8_t x, * uint8_t y, * uint8_t width, * uint8_t height)
â Draw filled rectangle using current fore color and current draw
mode from x,y to x+width,y+height of the screen buffer.
⢠void rectFill(* uint8_t x, * uint8_t y, * uint8_t width, * uint8_t height, * uint8_t color, * uint8_t mode)
â Draw filled rectangle using color and mode from x,y to
x+width,y+height of the screen buffer.
Drawing Circles
⢠void circle(* uint8_t x, * uint8_t y, * uint8_t radius) â
Draw circle with radius using current fore color and current draw
mode at x,y of the screen buffer.
|
▷ |