This is a group of methods related to control cursor.
◆ getCursorX()
int32_t OpenFontRender::getCursorX |
( |
| ) |
|
Get current cursor x-coordinate.
- Returns
- Current cursor x-coordinate.
◆ getCursorY()
int32_t OpenFontRender::getCursorY |
( |
| ) |
|
Get current cursor y-coordinate.
- Returns
- Current cursor y-coordinate.
◆ seekCursor()
void OpenFontRender::seekCursor |
( |
int32_t |
delta_x, |
|
|
int32_t |
delta_y |
|
) |
| |
Move cursor position.
- Parameters
-
[in] | (delta_x) | Amount to move the x-coordinate. |
[in] | (delta_y) | Amount to move the y-coordinate. |
◆ setCursor()
void OpenFontRender::setCursor |
( |
int32_t |
x, |
|
|
int32_t |
y |
|
) |
| |
Set cursor positions.
- Parameters
-
[in] | (x) | x-coordinate to set. |
[in] | (y) | y-coordinate to set. |