[Enhancement] QP Getters (#21171)
This commit is contained in:
parent
4e7e824a73
commit
a360900fbb
3 changed files with 174 additions and 25 deletions
|
@ -175,6 +175,41 @@ bool qp_clear(painter_device_t device);
|
|||
*/
|
||||
bool qp_flush(painter_device_t device);
|
||||
|
||||
/**
|
||||
* Retrieves the width of the display.
|
||||
*
|
||||
* @param device[in] the handle of the device to control
|
||||
*/
|
||||
uint16_t qp_get_width(painter_device_t device);
|
||||
|
||||
/**
|
||||
* Retrieves the height of the display.
|
||||
*
|
||||
* @param device[in] the handle of the device to control
|
||||
*/
|
||||
uint16_t qp_get_height(painter_device_t device);
|
||||
|
||||
/**
|
||||
* Retrieves the rotation of the display.
|
||||
*
|
||||
* @param device[in] the handle of the device to control
|
||||
*/
|
||||
painter_rotation_t qp_get_rotation(painter_device_t device);
|
||||
|
||||
/**
|
||||
* Retrieves the x-offset of the display.
|
||||
*
|
||||
* @param device[in] the handle of the device to control
|
||||
*/
|
||||
uint16_t qp_get_offset_x(painter_device_t device);
|
||||
|
||||
/**
|
||||
* Retrieves the y-offset of the display.
|
||||
*
|
||||
* @param device[in] the handle of the device to control
|
||||
*/
|
||||
uint16_t qp_get_offset_y(painter_device_t device);
|
||||
|
||||
/**
|
||||
* Retrieves the size, rotation, and offsets for the display.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue