mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Adding bitblit functions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1311 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -47,6 +47,35 @@
|
||||
* Public Types
|
||||
****************************************************************************/
|
||||
|
||||
/* Graphics structures ******************************************************/
|
||||
|
||||
/* A given coordinate is limited to the screen height an width. If either
|
||||
* of those values exceed 32,767 pixels, then the following will have to need
|
||||
* to change:
|
||||
*/
|
||||
|
||||
typedef sint16 nxgl_coord_t;
|
||||
|
||||
/* Describes a point on the display */
|
||||
|
||||
struct nxgl_point_s
|
||||
{
|
||||
nxgl_coord_t x; /* Range: 0 to screen width - 1 */
|
||||
nxgl_coord_t y; /* Rnage: 0 to screen height - 1*/
|
||||
};
|
||||
|
||||
/* Describes a rectangle on the display */
|
||||
|
||||
struct nxgl_rect_s
|
||||
{
|
||||
struct nxgl_point_t pt1; /* Upper, left-hand corner */
|
||||
struct nxgl_point_t pt2; /* Lower, right-hand corner */
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
#undef EXTERN
|
||||
#if defined(__cplusplus)
|
||||
# define EXTERN extern "C"
|
||||
|
||||
Reference in New Issue
Block a user