Epson S1D13506 Technical Manual page 382

Color lcd/crt/tv controller
Table of Contents

Advertisement

Page 148
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:
Parameter:
Return Value:
S1D13506
X25B-G-003-04
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.
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 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