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

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
Page 62
9.4.7 LUT Manipulation
S1D13705
X27A-G-002-02
int seDrawRect(long x1, long y1, long x2, long y2, DWORD Color,
BOOL SolidFill)
Description:
Parameters:
Return Value: ERR_OK - operation completed with no problems.
These functions deal with altering the color values in the Look-Up Table.
int seSetLut(BYTE *pLut, int Count)
Description:
Parameters:
Return Value: ERR_OK - operation completed with no problems
int seGetLut(BYTE *pLUT, int Count)
Description:
Parameters:
Return Value: ERR_OK - operation completed with no problems
This routine draws and optionally fills a rectangular area of display buffer. The
upper right corner is defined by x1,y1 and the lower right corner is defined by x2,y2.
The color, defined by Color, applies both to the border and to the optional fill.
x1, y1
x2, y2
Color
SolidFill
This routine writes one or more LUT entries. The writes always start with Look-Up
Table index 0 and continue for 'Count' entries.
A Look-Up Table entry consists of three bytes, one each for Red, Green, and Blue.
The color information is stored in the four most significant bits of each byte.
pLut
Count
This routine reads one or more LUT entries and puts the result in the byte array
pointed to by pLUT.
A Look-Up Table entry consists of three bytes, one each for Red, Green, and Blue.
The color information is stored in the four most significant bits of each byte.
pLUT
Count
- top left corner of the rectangle (in pixels)
- bottom right corner of the rectangle (in pixels)
- The color to draw the rectangle outline and fill with
- Color is an index into the Look-Up Table.
- Flag whether to fill the rectangle or simply draw the border.
- Set to 0 for no fill, set to non-0 to fill the inside of the rectangle
- pointer to an array of BYTE lut[16][3]
- the number of LUT entries to write.
- pointer to an array of BYTE lut[16][3]
- pLUT must point to enough memory to hold 'Count' x 3 bytes of data.
- the number of LUT elements to read.
lut[x][0] == RED component
lut[x][1] == GREEN component
lut[x][2] == BLUE component
Epson Research and Development
Programming Notes and Examples
Vancouver Design Center
Issue Date: 01/02/13

Related parts for S1D13705