Drawing - Epson S1D13506 Technical Manual

Color lcd/crt/tv controller
Table of Contents

Advertisement

Page 130

14.2.8 Drawing

void seSetPixel(long x, long y, DWORD Color)
void seSetLcdPixel(long x, long y, DWORD Color)
void seSetCrtPixel(long x, long y, DWORD Color)
void seSetTvPixel(long x, long y, DWORD Color)
Description:
Parameters:
Return Value:
S1D13506
X25B-G-003-04
Functions in this category perform primitive drawing on the specified display surface.
Supported drawing primitive include pixels, lines, rectangles, ellipses and circles.
These routines set a pixel at the location x,y with the specified color.
Use seSetPixel() to set one pixel on the current active surface. See seSetLcdAsActiveSur-
face(), seSetCrtAsActiveSurface() and seSetTvAsActiveSurface() for information about
changing the active surface.
Use seSetLcdPixel(), seSetCrtPixel(), and seSetTvPixel() to set one pixel on the surface
indicated in the function name.
x
The X co-ordinate, in pixels, of the pixel to set.
y
The Y co-ordinate, in pixels, of the pixel to set.
Color
Specifies the color to draw the pixel with. 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 forms 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 pixel 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 pixel 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