Epson S1D13706 Technical Manual page 253

Embedded memory lcd controller
Hide thumbs Also See for S1D13706:
Table of Contents

Advertisement

Epson Research and Development
Vancouver Design Center
void seDrawCircle(long xCenter, long yCenter, long Radius, DWORD Color)
void seDrawMainWinCircle(long xCenter, long yCenter, long Radius, DWORD Color)
void seDrawSubWinCircle(long xCenter, long yCenter, long Radius, DWORD Color)
Description:
Parameters:
Return Value:
Programming Notes and Examples
Issue Date: 01/02/23
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. These functions
only draw the border of the circle; there is no solid fill feature.
Use seDrawCircle() to draw the circle on the current active display surface. See seSet-
MainWinAsActiveSurface() and seSetSubWinAsActiveSurface() for information about
changing the active surface.
Use seDrawMainWinCircle() and seDrawSubWinCircle() draw the circle on the display
surface indicated by the function name
If no memory was allocated to the surface, these functions return without writing to dis-
play memory.
x
The X co-ordinate, in pixels, of the center of the circle.
y
The Y co-ordinate, in pixels, of 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 1, 2, 4 and 8 bpp display colors are derived from the lookup table
values. The least significant byte of Color is an index into the lookup
table.
At 16 bpp the lookup table is bypassed and each word of
display memory forms the color to display. In this mode the least
significant word describes the color to draw the circle with in 5-6-5
RGB format.
None.
Page 93
S1D13706
X31B-G-003-03

Advertisement

Table of Contents
loading

Table of Contents