148 int16_t lX0, int16_t lCount, int16_t lBPP,
149 const uint8_t *pucData,
150 const uint16_t *pucPalette);
260 uint16_t pusOffset[96];
339 #define FONT_FMT_UNCOMPRESSED 0x00
346 #define FONT_FMT_PIXEL_RLE 0x01
354 #define FONT_EX_MARKER 0x80
362 #define FONT_FMT_EX_UNCOMPRESSED (FONT_FMT_UNCOMPRESSED | FONT_EX_MARKER)
370 #define FONT_FMT_EX_PIXEL_RLE (FONT_FMT_PIXEL_RLE | FONT_EX_MARKER)
378 #define AUTO_STRING_LENGTH -1
386 #define OPAQUE_TEXT 1
394 #define TRANSPARENT_TEXT 0
402 #define IMAGE_FMT_1BPP_UNCOMP 0x01
410 #define IMAGE_FMT_2BPP_UNCOMP 0x02
418 #define IMAGE_FMT_4BPP_UNCOMP 0x04
426 #define IMAGE_FMT_8BPP_UNCOMP 0x08
434 #define IMAGE_FMT_1BPP_COMP_RLE4 0x41
442 #define IMAGE_FMT_2BPP_COMP_RLE4 0x42
450 #define IMAGE_FMT_4BPP_COMP_RLE4 0x44
458 #define IMAGE_FMT_1BPP_COMP_RLE7 0x71
466 #define IMAGE_FMT_1BPP_COMP_RLE8 0x81
474 #define IMAGE_FMT_2BPP_COMP_RLE8 0x82
482 #define IMAGE_FMT_4BPP_COMP_RLE8 0x84
490 #define IMAGE_FMT_8BPP_COMP_RLE8 0x88
498 #define IMAGE_FMT_8BPP_COMP_RLEBLEND 0x28
554 #define GrContextBackgroundSet(pContext, ulValue) \
557 tContext *pC = pContext; \
558 pC->ulBackground = DpyColorTranslate(pC->pDisplay, ulValue); \
577 #define GrContextBackgroundSetTranslated(pContext, ulValue) \
580 tContext *pC = pContext; \
581 pC->ulBackground = ulValue; \
597 #define GrContextDpyWidthGet(pContext) \
598 (DpyWidthGet((pContext)->pDisplay))
612 #define GrContextDpyHeightGet(pContext) \
613 (DpyHeightGet((pContext)->pDisplay))
629 #define GrContextFontSet(pContext, pFnt) \
632 tContext *pC = pContext; \
633 const tFont *pF = pFnt; \
651 #define GrContextForegroundSet(pContext, ulValue) \
654 tContext *pC = pContext; \
655 pC->ulForeground = DpyColorTranslate(pC->pDisplay, ulValue); \
674 #define GrContextForegroundSetTranslated(pContext, ulValue) \
677 tContext *pC = pContext; \
678 pC->ulForeground = ulValue; \
696 #define GrFlush(pContext) \
699 const tContext *pC = pContext; \
700 DpyFlush(pC->pDisplay); \
716 #define GrClearDisplay(pContext) \
719 const tContext *pC = pContext; \
720 DpyClearDisplay(pC->pDisplay,pC->ulBackground ); \
738 #define GrFontBaselineGet(pFont) \
739 ((pFont)->ucBaseline)
754 #define GrFontHeightGet(pFont) \
769 #define GrFontMaxWidthGet(pFont) \
770 ((pFont)->ucMaxWidth)
785 #define GrImageColorsGet(pImage) \
798 #define GrImageHeightGet(pImage) \
812 #define GrImageWidthGet(pImage) \
828 #define GrOffScreen1BPPSize(lWidth, lHeight) \
829 (5 + (((lWidth + 7) / 8) * lHeight))
844 #define GrOffScreen4BPPSize(lWidth, lHeight) \
845 (6 + (16 * 3) + (((lWidth + 1) / 2) * lHeight))
860 #define GrOffScreen8BPPSize(lWidth, lHeight) \
861 (6 + (256 * 3) + (lWidth * lHeight))
876 #define GrPixelDraw(pContext, lX, lY) \
879 const tContext *pC = pContext; \
880 if((lX >= pC->sClipRegion.sXMin) && \
881 (lX <= pC->sClipRegion.sXMax) && \
882 (lY >= pC->sClipRegion.sYMin) && \
883 (lY <= pC->sClipRegion.sYMax)) \
885 DpyPixelDraw(pC->pDisplay, lX, lY, pC->ulForeground); \
904 #define GrStringBaselineGet(pContext) \
905 ((pContext)->pFont->ucBaseline)
932 #define GrStringDrawCentered(pContext, pcString, lLength, lX, lY, bOpaque) \
935 const tContext *pC = pContext; \
936 const char *pcStr = pcString; \
938 GrStringDraw(pC, pcStr, lLength, \
939 (lX) - (GrStringWidthGet(pC, pcStr, lLength) / 2), \
940 (lY) - (pC->pFont->ucBaseline / 2), bOpaque); \
960 #define GrStringHeightGet(pContext) \
961 ((pContext)->pFont->ucHeight)
977 #define GrStringMaxWidthGet(pContext) \
978 ((pContext)->pFont->ucMaxWidth)
986 #define ClrAliceBlue 0x00F0F8FF
987 #define ClrAntiqueWhite 0x00FAEBD7
988 #define ClrAqua 0x0000FFFF
989 #define ClrAquamarine 0x007FFFD4
990 #define ClrAzure 0x00F0FFFF
991 #define ClrBeige 0x00F5F5DC
992 #define ClrBisque 0x00FFE4C4
993 #define ClrBlack 0x00000000
994 #define ClrBlanchedAlmond 0x00FFEBCD
995 #define ClrBlue 0x000000FF
996 #define ClrBlueViolet 0x008A2BE2
997 #define ClrBrown 0x00A52A2A
998 #define ClrBurlyWood 0x00DEB887
999 #define ClrCadetBlue 0x005F9EA0
1000 #define ClrChartreuse 0x007FFF00
1001 #define ClrChocolate 0x00D2691E
1002 #define ClrCoral 0x00FF7F50
1003 #define ClrCornflowerBlue 0x006495ED
1004 #define ClrCornsilk 0x00FFF8DC
1005 #define ClrCrimson 0x00DC143C
1006 #define ClrCyan 0x0000FFFF
1007 #define ClrDarkBlue 0x0000008B
1008 #define ClrDarkCyan 0x00008B8B
1009 #define ClrDarkGoldenrod 0x00B8860B
1010 #define ClrDarkGray 0x00A9A9A9
1011 #define ClrDarkGreen 0x00006400
1012 #define ClrDarkKhaki 0x00BDB76B
1013 #define ClrDarkMagenta 0x008B008B
1014 #define ClrDarkOliveGreen 0x00556B2F
1015 #define ClrDarkOrange 0x00FF8C00
1016 #define ClrDarkOrchid 0x009932CC
1017 #define ClrDarkRed 0x008B0000
1018 #define ClrDarkSalmon 0x00E9967A
1019 #define ClrDarkSeaGreen 0x008FBC8F
1020 #define ClrDarkSlateBlue 0x00483D8B
1021 #define ClrDarkSlateGray 0x002F4F4F
1022 #define ClrDarkTurquoise 0x0000CED1
1023 #define ClrDarkViolet 0x009400D3
1024 #define ClrDeepPink 0x00FF1493
1025 #define ClrDeepSkyBlue 0x0000BFFF
1026 #define ClrDimGray 0x00696969
1027 #define ClrDodgerBlue 0x001E90FF
1028 #define ClrFireBrick 0x00B22222
1029 #define ClrFloralWhite 0x00FFFAF0
1030 #define ClrForestGreen 0x00228B22
1031 #define ClrFuchsia 0x00FF00FF
1032 #define ClrGainsboro 0x00DCDCDC
1033 #define ClrGhostWhite 0x00F8F8FF
1034 #define ClrGold 0x00FFD700
1035 #define ClrGoldenrod 0x00DAA520
1036 #define ClrGray 0x00808080
1037 #define ClrGreen 0x00008000
1038 #define ClrGreenYellow 0x00ADFF2F
1039 #define ClrHoneydew 0x00F0FFF0
1040 #define ClrHotPink 0x00FF69B4
1041 #define ClrIndianRed 0x00CD5C5C
1042 #define ClrIndigo 0x004B0082
1043 #define ClrIvory 0x00FFFFF0
1044 #define ClrKhaki 0x00F0E68C
1045 #define ClrLavender 0x00E6E6FA
1046 #define ClrLavenderBlush 0x00FFF0F5
1047 #define ClrLawnGreen 0x007CFC00
1048 #define ClrLemonChiffon 0x00FFFACD
1049 #define ClrLightBlue 0x00ADD8E6
1050 #define ClrLightCoral 0x00F08080
1051 #define ClrLightCyan 0x00E0FFFF
1052 #define ClrLightGoldenrodYellow 0x00FAFAD2
1053 #define ClrLightGreen 0x0090EE90
1054 #define ClrLightGrey 0x00D3D3D3
1055 #define ClrLightPink 0x00FFB6C1
1056 #define ClrLightSalmon 0x00FFA07A
1057 #define ClrLightSeaGreen 0x0020B2AA
1058 #define ClrLightSkyBlue 0x0087CEFA
1059 #define ClrLightSlateGray 0x00778899
1060 #define ClrLightSteelBlue 0x00B0C4DE
1061 #define ClrLightYellow 0x00FFFFE0
1062 #define ClrLime 0x0000FF00
1063 #define ClrLimeGreen 0x0032CD32
1064 #define ClrLinen 0x00FAF0E6
1065 #define ClrMagenta 0x00FF00FF
1066 #define ClrMaroon 0x00800000
1067 #define ClrMediumAquamarine 0x0066CDAA
1068 #define ClrMediumBlue 0x000000CD
1069 #define ClrMediumOrchid 0x00BA55D3
1070 #define ClrMediumPurple 0x009370DB
1071 #define ClrMediumSeaGreen 0x003CB371
1072 #define ClrMediumSlateBlue 0x007B68EE
1073 #define ClrMediumSpringGreen 0x0000FA9A
1074 #define ClrMediumTurquoise 0x0048D1CC
1075 #define ClrMediumVioletRed 0x00C71585
1076 #define ClrMidnightBlue 0x00191970
1077 #define ClrMintCream 0x00F5FFFA
1078 #define ClrMistyRose 0x00FFE4E1
1079 #define ClrMoccasin 0x00FFE4B5
1080 #define ClrNavajoWhite 0x00FFDEAD
1081 #define ClrNavy 0x00000080
1082 #define ClrOldLace 0x00FDF5E6
1083 #define ClrOlive 0x00808000
1084 #define ClrOliveDrab 0x006B8E23
1085 #define ClrOrange 0x00FFA500
1086 #define ClrOrangeRed 0x00FF4500
1087 #define ClrOrchid 0x00DA70D6
1088 #define ClrPaleGoldenrod 0x00EEE8AA
1089 #define ClrPaleGreen 0x0098FB98
1090 #define ClrPaleTurquoise 0x00AFEEEE
1091 #define ClrPaleVioletRed 0x00DB7093
1092 #define ClrPapayaWhip 0x00FFEFD5
1093 #define ClrPeachPuff 0x00FFDAB9
1094 #define ClrPeru 0x00CD853F
1095 #define ClrPink 0x00FFC0CB
1096 #define ClrPlum 0x00DDA0DD
1097 #define ClrPowderBlue 0x00B0E0E6
1098 #define ClrPurple 0x00800080
1099 #define ClrRed 0x00FF0000
1100 #define ClrRosyBrown 0x00BC8F8F
1101 #define ClrRoyalBlue 0x004169E1
1102 #define ClrSaddleBrown 0x008B4513
1103 #define ClrSalmon 0x00FA8072
1104 #define ClrSandyBrown 0x00F4A460
1105 #define ClrSeaGreen 0x002E8B57
1106 #define ClrSeashell 0x00FFF5EE
1107 #define ClrSienna 0x00A0522D
1108 #define ClrSilver 0x00C0C0C0
1109 #define ClrSkyBlue 0x0087CEEB
1110 #define ClrSlateBlue 0x006A5ACD
1111 #define ClrSlateGray 0x00708090
1112 #define ClrSnow 0x00FFFAFA
1113 #define ClrSpringGreen 0x0000FF7F
1114 #define ClrSteelBlue 0x004682B4
1115 #define ClrTan 0x00D2B48C
1116 #define ClrTeal 0x00008080
1117 #define ClrThistle 0x00D8BFD8
1118 #define ClrTomato 0x00FF6347
1119 #define ClrTurquoise 0x0040E0D0
1120 #define ClrViolet 0x00EE82EE
1121 #define ClrWheat 0x00F5DEB3
1122 #define ClrWhite 0x00FFFFFF
1123 #define ClrWhiteSmoke 0x00F5F5F5
1124 #define ClrYellow 0x00FFFF00
1125 #define ClrYellowGreen 0x009ACD32
1126 #define ClrBlack 0x00000000
1133 #define ClrRedMask 0x00FF0000
1134 #define ClrRedShift 16
1135 #define ClrGreenMask 0x0000FF00
1136 #define ClrGreenShift 8
1137 #define ClrBlueMask 0x000000FF
1138 #define ClrBlueShift 0
1307 #define GrLangZhPRC 0x0804 // Chinese (PRC)
1308 #define GrLangZhTW 0x0404 // Chinese (Taiwan)
1309 #define GrLangEnUS 0x0409 // English (United States)
1310 #define GrLangEnUK 0x0809 // English (United Kingdom)
1311 #define GrLangEnAUS 0x0C09 // English (Australia)
1312 #define GrLangEnCA 0x1009 // English (Canada)
1313 #define GrLangEnNZ 0x1409 // English (New Zealand)
1314 #define GrLangFr 0x040C // French (Standard)
1315 #define GrLangDe 0x0407 // German (Standard)
1316 #define GrLangHi 0x0439 // Hindi
1317 #define GrLangIt 0x0410 // Italian (Standard)
1318 #define GrLangJp 0x0411 // Japanese
1319 #define GrLangKo 0x0412 // Korean
1320 #define GrLangEsMX 0x080A // Spanish (Mexico)
1321 #define GrLangEsSP 0x0C0A // Spanish (Spain)
1322 #define GrLangSwKE 0x0441 // Swahili (Kenya)
1323 #define GrLangUrIN 0x0820 // Urdu (India)
1324 #define GrLangUrPK 0x0420 // Urdu (Pakistan)
1343 #define DpyColorTranslate(pDisplay, ulValue) \
1344 ((pDisplay)->pFxns->pfnColorTranslate((pDisplay)->pvDisplayData, ulValue))
1358 #define DpyFlush(pDisplay) \
1361 tDisplay *pD = pDisplay; \
1362 pD->pFxns->pfnFlush(pD); \
1379 #define DpyClearDisplay(pDisplay, ulValue) \
1382 tDisplay *pD = pDisplay; \
1383 pD->pFxns->pfnClearDisplay(pD, ulValue); \
1399 #define DpyHeightGet(pDisplay) \
1400 ((pDisplay)->usHeight)
1420 #define DpyLineDrawH(pDisplay, lX1, lX2, lY, ulValue) \
1423 tDisplay *pD = pDisplay; \
1424 pD->pFxns->pfnLineDrawH(pD, lX1, lX2, lY, ulValue); \
1446 #define DpyLineDrawV(pDisplay, lX, lY1, lY2, ulValue) \
1449 tDisplay *pD = pDisplay; \
1450 pD->pFxns->pfnLineDrawV(pD, lX, lY1, lY2, ulValue); \
1470 #define DpyPixelDraw(pDisplay, lX, lY, ulValue) \
1473 tDisplay *pD = pDisplay; \
1474 pD->pFxns->pfnPixelDraw(pD, lX, lY, ulValue); \
1503 #define DpyPixelDrawMultiple(pDisplay, lX, lY, lX0, lCount, lBPP, pucData, \
1507 tDisplay *pD = pDisplay; \
1508 pD->pFxns->pfnPixelDrawMultiple(pD, lX, lY, lX0, lCount, \
1509 lBPP, pucData, pucPalette); \
1530 #define DpyRectFill(pDisplay, pRect, ulValue) \
1533 tDisplay *pD = pDisplay; \
1534 pD->pFxns->pfnRectFill(pD, pRect, ulValue); \
1550 #define DpyWidthGet(pDisplay) \
1551 ((pDisplay)->usWidth)
1568 #define GrRectContainsPoint(pRect, lX, lY) \
1569 ((((lX) >= (pRect)->sXMin) && ((lX) <= (pRect)->sXMax) && \
1570 ((lY) >= (pRect)->sYMin) && ((lY) <= (pRect)->sYMax)) ? 1 : 0)
1584 const tImage *pBitmap, int16_t lX, int16_t lY);
1585 extern void GrLineDraw(
const tContext *pContext, int32_t lX1, int32_t lY1, int32_t lX2,
1592 int32_t lLength, int32_t lX, int32_t lY,
1616 #endif // __GRLIB_H__
const tFont g_sFontCmss40i
const tFont g_sFontCmss32
const tFont g_sFontCmss16
const tFont g_sFontCmss28
const tFont g_sFontCmss48b
uint8_t ucHeight
Definition: grlib.h:300
const tFont g_sFontCmsc48
const tFont g_sFontCmss44
void(* pfnPixelDraw)(tDisplay *pDisplay, int16_t lX, int16_t lY, uint16_t ulValue)
A pointer to the function to draw a pixel on this display.
Definition: grlib.h:141
const tFont g_sFontCmss18i
const tFont g_sFontCmss12
const uint8_t * pucData
A pointer to the data for the font.
Definition: grlib.h:265
const tFont g_sFontCmss42b
const tFont g_sFontCmtt22
const tFont g_sFontCmss46
const tFont g_sFontCmsc16
void GrLineDrawV(const tContext *pContext, int32_t lX, int32_t lY1, int32_t lY2)
const tFont g_sFontCmsc32
uint32_t ulBackground
The background color used to draw primitives onto the screen.
Definition: grlib.h:532
const tFont g_sFontCmss24b
const tFont g_sFontCmss34
const tFont g_sFontCmss18
const tFont g_sFontCmsc42
const uint8_t * pucData
A pointer to the data for the font.
Definition: grlib.h:330
const tDisplayFxns * pFxns
Implementation of this display.
Definition: grlib.h:221
void GrLineDraw(const tContext *pContext, int32_t lX1, int32_t lY1, int32_t lX2, int32_t lY2)
const tFont g_sFontCmss20
const tFont g_sFontCmtt42
void(* pfnLineDrawH)(tDisplay *pDisplay, int16_t lX1, int16_t lX2, int16_t lY, uint16_t ulValue)
A pointer to the function to draw a horizontal line on this display.
Definition: grlib.h:155
const tFont g_sFontCmss18b
void(* pfnLineDrawV)(tDisplay *pDisplay, int16_t lX, int16_t lY1, int16_t lY2, uint16_t ulValue)
A pointer to the function to draw a vertical line on this display.
Definition: grlib.h:161
void * pvDisplayData
A pointer to display driver-specific data.
Definition: grlib.h:206
const tFont g_sFontCmtt16
const tFont g_sFontCmsc28
const tFont g_sFontCmss22
const tFont g_sFontCmss26i
const tFont g_sFontCmsc44
const tFont g_sFontCmss48
const tFont g_sFontFixed6x8
const tFont g_sFontCmtt32
const tFont g_sFontCmtt28
const tFont g_sFontCmss30
void GrContextInit(tContext *pContext, tDisplay *pDisplay, const tDisplayFxns *pFxns)
const tFont g_sFontCmsc26
const tFont g_sFontCmss36i
const tFont g_sFontCmss34i
const tFont g_sFontCmss12b
uint8_t ucFormat
Definition: grlib.h:235
This structure describes a font used for drawing text onto the screen.
Definition: grlib.h:229
void(* pfnPixelDrawMultiple)(tDisplay *pDisplay, int16_t lX, int16_t lY, int16_t lX0, int16_t lCount, int16_t lBPP, const uint8_t *pucData, const uint16_t *pucPalette)
A pointer to the function to draw multiple pixels on this display.
Definition: grlib.h:147
const tFont g_sFontCmss22i
const tFont g_sFontCmss16b
uint8_t BPP
Bits per pixel and Compressed/Uncompressed.
Definition: grlib.h:68
uint16_t usHeight
The height of this display.
Definition: grlib.h:216
uint8_t ucHeight
Definition: grlib.h:248
void(* pfnClearDisplay)(tDisplay *pDisplay, uint16_t ulValue)
Definition: grlib.h:187
void GrStringDraw(const tContext *pContext, const char *pcString, int32_t lLength, int32_t lX, int32_t lY, uint32_t bOpaque)
uint8_t ucBaseline
Definition: grlib.h:255
const tFont g_sFontCmtt18
const tFont g_sFontCmss28b
uint8_t ucBaseline
Definition: grlib.h:307
const tFont g_sFontCmss20b
const tFont g_sFontCmss24i
const tFont g_sFontCmsc40
const tFont g_sFontCmtt12
int32_t lSize
The size of this structure.
Definition: grlib.h:512
const tFont g_sFontCmss32i
void GrContextClipRegionSet(tContext *pContext, tRectangle *pRect)
const tFont g_sFontCmtt30
const tFont g_sFontCmtt40
const tFont g_sFontCmss44b
const tFont g_sFontCmsc14
const tFont g_sFontCmss14i
const tFont g_sFontCmss26
const tFont g_sFontCmsc18
const tFont g_sFontCmtt14
const tFont g_sFontCmsc34
const tFont g_sFontCmtt24
void(* pfnRectFill)(tDisplay *pDisplay, const tRectangle *pRect, uint16_t ulValue)
A pointer to the function to draw a filled rectangle on this display.
Definition: grlib.h:167
const tFont g_sFontCmss38b
const tFont g_sFontCmss30i
void GrRectDraw(const tContext *pContext, const tRectangle *pRect)
const tFont g_sFontCmsc30
const tFont g_sFontCmtt48
int32_t GrRectIntersectGet(tRectangle *psRect1, tRectangle *psRect2, tRectangle *psIntersect)
int16_t sXMax
The maximum X coordinate of the rectangle.
Definition: grlib.h:120
const tFont g_sFontCmsc36
void(* pfnFlush)(tDisplay *pDisplay)
Definition: grlib.h:181
int32_t GrStringWidthGet(const tContext *pContext, const char *pcString, int32_t lLength)
const tFont g_sFontCmss38i
const tFont g_sFontCmss24
const uint32_t * pPalette
Pointer to Palette.
Definition: grlib.h:89
const tFont g_sFontCmss26b
struct tDisplayFxns tDisplayFxns
This structure defines the implementation of a display driver.
int16_t sYMax
The maximum Y coordinate of the rectangle.
Definition: grlib.h:125
const uint16_t * pusOffset
Definition: grlib.h:325
const tFont g_sFontCmtt20
const tFont g_sFontCmss40b
uint8_t ucLast
Definition: grlib.h:319
void GrCircleFill(const tContext *pContext, int32_t lX, int32_t lY, int32_t lRadius)
void GrImageDraw(const tContext *pContext, const tImage *pBitmap, int16_t lX, int16_t lY)
const tFont g_sFontCmss44i
const tFont g_sFontCmsc46
uint8_t ucFormat
Definition: grlib.h:287
void GrRectFill(const tContext *pContext, const tRectangle *pRect)
void GrLineDrawH(const tContext *pContext, int32_t lX1, int32_t lX2, int32_t lY)
int16_t sXMin
The minimum X coordinate of the rectangle.
Definition: grlib.h:110
const tFont g_sFontCmss36b
void GrCircleDraw(const tContext *pContext, int32_t lX, int32_t lY, int32_t lRadius)
const tFont g_sFontCmsc22
const tFont g_sFontCmss32b
const tFont g_sFontCmss48i
const tFont g_sFontCmss28i
This structure defines the implementation of a display driver.
Definition: grlib.h:136
This structure defines the characteristics of a Bitmap Image.
Definition: grlib.h:63
const tFont g_sFontCmss38
const tFont g_sFontCmss46b
const tFont g_sFontCmss12i
const tFont g_sFontCmsc24
int16_t sYMin
The minimum Y coordinate of the rectangle.
Definition: grlib.h:115
uint8_t ucMaxWidth
Definition: grlib.h:294
const tFont g_sFontCmtt36
const tFont g_sFontCmtt46
const tFont g_sFontCmss36
This structure defines the characteristics of a display driver.
Definition: grlib.h:196
tRectangle sClipRegion
The clipping region to be used when drawing onto the screen.
Definition: grlib.h:522
const tFont g_sFontCmss42
int32_t lSize
The size of this structure.
Definition: grlib.h:201
const tFont * pFont
The font used to render text onto the screen.
Definition: grlib.h:537
const uint8_t * pPixel
Pointer to pixel data.
Definition: grlib.h:94
const tFont g_sFontCmss30b
const tFont g_sFontCmss42i
const tFont g_sFontCmsc20
tDisplay * pDisplay
The screen onto which drawing operations are performed.
Definition: grlib.h:517
uint32_t ulForeground
The color used to draw primitives onto the screen.
Definition: grlib.h:527
uint16_t(* pfnColorTranslate)(tDisplay *pDisplay, uint32_t ulValue)
Definition: grlib.h:174
int32_t GrRectOverlapCheck(tRectangle *psRect1, tRectangle *psRect2)
const tFont g_sFontCmss14b
const tFont g_sFontCmtt44
const tFont g_sFontCmss40
const tFont g_sFontCmsc12
const tFont g_sFontCmtt38
const tFont g_sFontCmss16i
uint8_t ucMaxWidth
Definition: grlib.h:242
const tFont g_sFontCmss22b
uint16_t YSize
Y size.
Definition: grlib.h:78
const tFont g_sFontCmss46i
const tFont g_sFontCmsc38
const tFont g_sFontCmss14
const tFont g_sFontCmss20i
uint8_t ucFirst
Definition: grlib.h:313
uint16_t usWidth
The width of this display.
Definition: grlib.h:211
const tFont g_sFontCmtt34
uint16_t NumColors
Number of Colors in Palette.
Definition: grlib.h:84
uint16_t XSize
X size.
Definition: grlib.h:73
const tFont g_sFontCmss34b
const tFont g_sFontCmtt26