Epson S1D13506 Technical Manual page 368

Color lcd/crt/tv controller
Table of Contents

Advertisement

Page 134
void seDrawCircle(long xCenter, long yCenter, long Radius, DWORD Color)
void seDrawLcdCircle(long xCenter, long yCenter, long Radius, DWORD Color)
void seDrawCrtCircle(long xCenter, long yCenter, long Radius, DWORD Color)
void seDrawTvCircle(long xCenter, long yCenter, long Radius, DWORD Color)
Description:
Parameters:
Return Value:
S1D13506
X25B-G-003-04
These routines draw a circle on the screen in the specified color. The circle is centered at
the co-ordinate x,y and is drawn with the specified radius and Color. Circles cannot be
solid filled.
Use seDrawCircle() to draw the circle on the current active display surface. See seSetL-
cdAsActiveSurface(), seSetCrtAsActiveSurface() and seSetTvAsActiveSurface() for
information about changing the active surface.
Use seDrawLcdCircle(), seDrawCrtCircle(), seDrawTvCircle() draw the circle on the dis-
play surface indicated by the function name
x
The X co-ordinate, in pixels, of the center of the circle.
y
The Y co-ordinate, in pixels, or the center of the circle.
Radius
Specifies the radius of the circle in pixels.
Color
Specifying the color to draw the circle. 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 circle 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.
Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 02/03/21

Advertisement

Table of Contents
loading

Table of Contents