Epson S1D13506 Technical Manual page 369

Color lcd/crt/tv controller
Table of Contents

Advertisement

Epson Research and Development
Vancouver Design Center
void seDrawEllipse(long xc, long yc, long xr, long yr, DWORD Color)
void seDrawLcdEllipse(long xc, long yc, long xr, long yr, DWORD Color)
void seDrawCrtEllipse(long xc, long yc, long xr, long yr, DWORD Color)
void seDrawTvEllipse(long xc, long yc, long xr, long yr, DWORD Color)
Description:
Parameters:
Return Value:
Programming Notes and Examples
Issue Date: 02/03/21
These routines draw an ellipse on the screen in the specified color. The circle is centered at
the co-ordinate x,y and is drawn in the specified color with the indicated radius for the x
and y axis. Ellipses cannot be solid filled.
Use seDrawEllipse() to draw the circle on the current active display surface. See seSetL-
cdAsActiveSurface(), seSetCrtAsActiveSurface() and seSetTvAsActiveSurface() for
information about changing the active surface.
Use seDrawLcdEllipse(), seDrawCrtEllipse(), seDrawTvEllipse() draw the ellipse on the
display surface indicated by the function name
xc
The X co-ordinate, in pixels, of the center of the ellipse.
yc
The Y co-ordinate, in pixels, of the center of the ellipse.
xr
A long integer specifying the X radius of the ellipse, in pixels.
yr
A long integer specifying the Y radius of the ellipse, in pixels.
Color
A dword specifying the color to draw the ellipse. Color is interpreted
differently at different color depths.
At 4 and 8 bit per pixel display colors are derived from the lookup table
values. The least significant byte of Color is an index into the lookup
table.
At 15 and 16 bit per pixel the lookup table is bypassed and each word of
display memory forms the color to display. At 15 bit per pixel the least
significant word directly represents the color to draw the ellipse with as
a 5-5-5 RGB value with the most significant bit of the word discarded.
In 16 bit per pixel display mode the least significant word describes the
color to draw the circle with in 5-6-5 RGB format.
None.
Page 135
S1D13506
X25B-G-003-04

Advertisement

Table of Contents
loading

Table of Contents