S1D13705 Epson Electronics America, Inc., S1D13705 Datasheet - Page 153

no-image

S1D13705

Manufacturer Part Number
S1D13705
Description
S1d13705 Embedded Memory Lcd Controller
Manufacturer
Epson Electronics America, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
S1D1370500A1
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Part Number:
S1D13705F00A100
Manufacturer:
EPSON
Quantity:
1 831
Part Number:
S1D13705F00A200
Manufacturer:
EPSON/爱普生
Quantity:
20 000
Epson Research and Development
Vancouver Design Center
9.4.6 Drawing
Programming Notes and Examples
Issue Date: 01/02/13
Note
The Drawing routines cover HAL functions that deal with displaying pixels, lines and
shapes.
Description:
Parameters:
Return Value: ERR_OK
Description:
Parameters:
Return Value: ERR_OK
Description:
Parameters:
Return Value: ERR_OK - operation completed with no problems
int seSetPixel(long x, long y, DWORD Color)
int seGetPixel(long x, long y, DWORD *pColor)
int seDrawLine(int x1, int y1, int x2, int y2, DWORD Color)
Functionality differs from the 135x HAL.
Draws a pixel at coordinates (x,y) in the requested color. This routine can be used
for any color depth.
x
y
Color
Reads the pixel color at coordinates (x,y). This routine can be used for any color
depth.
x
y
pColor
This routine draws a line on the display from the endpoints defined by x1,y1 to the
endpoint x2,y2 in the requested 'Color'.
Currently seDrawLine() only draws horizontal and vertical lines.
(x1, y1)
(x2, y2)
Color
- horizontal coordinate of the pixel (starting from 0)
- vertical coordinate of the pixel (starting from 0)
- at 1, 2, 4, and 8 bpp Color is an index into the LUT.
At 15 and 16 bpp Color defines the color directly
- operation completed with no problems.
- horizontal coordinate of the pixel (starting from 0)
- vertical coordinate of the pixel (starting from 0)
- at 1, 2, 4, and 8 bpp pColor points to an index into the LUT.
At 15 and 16 bpp pColor points to the color directly
- operation completed with no problems.
- first endpoint of the line in pixels
- second endpoint of the line in pixels (see note below)
- color to draw with. 'Color' is an index into the LUT.
(i.e. rrrrrggggggbbbbb for 16 bpp)
(i.e. rrrrrggggggbbbbb for 16 bpp)
X27A-G-002-02
S1D13705
Page 61

Related parts for S1D13705