English
Language : 

S1D13806 Datasheet, PDF (373/730 Pages) Epson Company – S1D13806 Embedded Memory Display Controller
Epson Research and Development
Vancouver Design Center
Page 163
void seDrawInkRect(long x1, long y1, long x2, long y2, DWORD color, BOOL SolidFill)
void seDrawLcdInkRect(long x1, long y1, long x2, long y2, DWORD color, BOOL SolidFill)
void seDrawCrtInkRect(long x1, long y1, long x2, long y2, DWORD color, BOOL SolidFill)
void seDrawTvInkRect(long x1, long y1, long x2, long y2, DWORD color, BOOL SolidFIll)
Description:
These routines draw rectangles on the hardware ink layer surface. The rectangle may be
drawn as just a border or as a solid filled area.
Call seDrawInkRect() to draw a rectangle in the hardware ink layer cursor image associ-
ated with the current active surface.
Call seDrawLcdInkRect(), seDrawCrtInkRect(), or seDrawTvInkRect() to draw a rectan-
gle in the hardware ink layer associated with the display surface indicated by the function
name.
Parameter:
x1
The X co-ordinate for the top left corner of the rectangle measured in
pixels from the left edge of the display surface.
y1
The Y co-ordinate for the top left corner of the rectangle measured in
pixels from the top edge of the display surface.
x2
The X co-ordinate for the bottom right corner of the rectangle measured
in pixels from the left edge of the display surface.
y2
The Y co-ordinate for the bottom right corner of the rectangle measured
in pixels from the top edge of the display surface.
Color
Specifies which of the four ink layer 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 or to only draw the border.
Set SolidFill to FALSE to draw only the outline of the rectangle.
Set SolidFill to TRUE to fill the interior of the rectangle.
Return Value:
None.
Programming Notes and Examples
Issue Date: 02/02/21
S1D13806
X28B-G-003-07