Epson S1D13706 Technical Manual page 254

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

Advertisement

Page 94
void seDrawEllipse(long xc, long yc, long xr, long yr, DWORD Color)
void seDrawMainWinEllipse(long xc, long yc, long xr, long yr, DWORD Color)
void seDrawSubWinEllipse(long xc, long yc, long xr, long yr, DWORD Color)
Description:
Parameters:
Return Value:
S1D13706
X31B-G-003-03
These routines draw an ellipse on the screen in the specified color. The ellipse 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. These functions only draw the border of the ellipse; there is no solid fill fea-
ture.
Use seDrawEllipse() to draw the ellipse on the current active display surface. See seSet-
MainWinAsActiveSurface() and seSetSubWinAsActiveSurface() for information about
changing the active surface.
Use seDrawMainWinEllipse() and seDrawSubWinEllipse() to draw the ellipse on the dis-
play surface indicated by the function name.
If no memory was allocated to the surface, these functions return without writing to dis-
play memory.
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 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.
Epson Research and Development
Vancouver Design Center
Programming Notes and Examples
Issue Date: 01/02/23

Advertisement

Table of Contents
loading

Table of Contents