Epson S1D13506 Technical Manual page 376

Color lcd/crt/tv controller
Table of Contents

Advertisement

Page 142
void seDrawCursorRect(long x1, long y1, long x2, long y2, DWORD color, BOOL SolidFIll)
void seDrawLcdCursorRect(long x1, long y1, long x2, long y2, DWORD color, BOOL SolidFill)
void seDrawCrtCursorRect(long x1, long y1, long x2, long y2, DWORD color, BOOL SolidFill)
void seDrawTvCursorRect(long x1, long y1, long x2, long y2, DWORD color, BOOL SolidFill)
Description:
Parameter:
Return Value:
S1D13506
X25B-G-003-04
These routines draw rectangles on the hardware cursor surface. The rectangle may be
drawn as just a border or as a solid filled area.
Call seDrawCursorRect() to draw a rectangle in the hardware cursor image associated
with the current active surface.
Call seDrawLcdCursorRect(), seDrawCrtCursorRect(), or seDrawTvCursorRect() to draw
a rectangle in the hardware cursor image associated with the display surface indicated by
the function name.
x1
The X co-ordinate for the top left corner of the rectangle measured in
pixels from the left edge of the cursor image.
y1
The Y co-ordinate for the top left corner of the rectangle measured in
pixels from the top of the cursor image.
x2
The X co-ordinate for the bottom right corner of the rectangle measured
in pixels from the left edge of the cursor image.
y2
The Y co-ordinate for the bottom right corner of the rectangle measured
in pixels from the top edge of the cursor image.
Color
Specifies which of the four cursor colors to draw the line with. Valid
values for Color are:
0 - to draw the rectangle in solid color 0
1 - to draw the rectangle in solid color 1
2 - to draw the rectangle to the transparent color
3 - to draw the rectangle in the inverted color.
SolidFill
Flags whether to fill the rectangle as or to only draw the border.
Set SolidFill to FALSE ("0") to draw only the outline of the rectangle.
Set SolidFill to TRUE ("1") to fill the interior of the rectangle.
None.
Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 02/03/21

Advertisement

Table of Contents
loading

Table of Contents