Epson S1D13505 Technical Manual page 228

Embedded ramdac lcd/crt controller
Table of Contents

Advertisement

Page 74
S1D13505
X23A-G-003-07
Parameters:
DevID
(x1,y1)
(x2,y2)
Color
SolidFill
Return Value: ERR_OK
int seDrawCursorEllipse(int DevID, long xc, long yc, long xr, long yr, DWORD Color,
BOOL SolidFill)
Description:
This routine draws an ellipse within the hardware cursor display buffer. The ellipse
will be centered on the point (xc,yc) and will have a horizontal radius of xr and a
vertical radius of yr.
The value of 'Color' must be 0 to 3. Values 0 and 1 refer to the two user definable
colors. If 'Color' is 2 then the pixel will be transparent and if the value is 3 the pixel
will be an inversion of the underlying screen color.
Currently seDrawCursorEllipse() does not support solid fill of the ellipse.
Parameters:
DevID
(xc, yc)
xr
yr
Color
SolidFill
Return Value: ERR_OK
int seDrawCursorCircle(int DevID, long x, long y, long Radius, DWORD Color, BOOL
SolidFill)
Description:
This routine draws a circle in hardware cursor display buffer. The center of the circle
will be at (x,y) and the circle will have a radius of 'Radius' pixels.
The value of 'Color' must be 0 to 3. Values 0 and 1 refer to the two user definable
colors. If 'Color' is 2 then the pixel will be transparent and if the value is 3 the pixel
will be an inversion of the underlying screen color.
Currently seDrawCursorCircle() does not support the solid fill option.
Parameters:
DevID
(x,y)
Radius
Color
SolidFill
Return Value: ERR_OK
- a registered device ID
- upper left corner of the rectangle (in pixels)
- lower right corner of the rectangle (in pixels)
- a 0 to 3 value to draw the rectangle with
- flag for filling the rectangle interior
- if equal to 0 then outline the rectangle;
if not equal to 0 then fill the rectangle with Color
- operation completed with no problems
- a registered device ID
- center of the ellipse (in pixels)
- horizontal radius (in pixels)
- vertical radius (in pixels)
- 0 to 3 value to draw the pixels with
- flag to solid fill the ellipse (not currently used)
- operation completed with no problems
- a registered device ID
- center of the circle (in pixels)
- radius of the circle (in pixels)
- 0 to 3 value to draw the circle with
- flag to solid fill the circle (currently not used)
- operation completed with no problems
Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 01/02/05

Advertisement

Table of Contents
loading

Table of Contents