Epson S1D13706 Technical Manual page 229

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

Advertisement

Epson Research and Development
Vancouver Design Center
int seGetResolution(unsigned *Width, unsigned *Height)
void seGetMainWinResolution(unsigned *Width, unsigned *Height)
void seGetSubWinResolution(unsigned *Width, unsigned *Height)
Description:
Parameters:
Return Value:
void seSetSubWinCoordinates(DWORD x1, DWORD y1, DWORD x2, DWORD y2)
Description:
Parameters:
Return Value:
Programming Notes and Examples
Issue Date: 01/02/23
seGetResolution() returns the width and height of the active surface (main window or sub-
window).
seGetMainWinResolution() and seGetSubWinResolution() return the width and height of
the respective window.
Virtual dimensions are not accounted for in the return values for width and height. For
example, seGetMainWinResolution() always returns the panel dimensions, regardless of
the value of the line address offset registers.
The width and height are adjusted for SwivelView orientation.
Width
A pointer to an unsigned integer which will receive the width, in pixels,
for the indicated surface.
Height
A pointer to an unsigned integer which will receive the height, in pixels,
for the indicated surface.
seGetResolution() returns one of the following:
ERR_OK
Function completed successfully
ERR_FAILED
Returned when there is not an active display surface.
seGetMainWinResolution() and seGetSubWinResolution() do not return any value.
seSetSubWinCoordinates sets the upper left and lower right corners of the sub-window
display.
(x1, y1) and (x2, y2) are relative to the upper left corner of the panel as defined by the
SwivelView mode.
x1
The sub-window x start position (upper left corner).
y1
The sub-window y start position (upper left corner).
x2
The sub-window x end position (lower right corner).
y2
The sub-window y end position (lower right corner).
None.
Page 69
S1D13706
X31B-G-003-03

Advertisement

Table of Contents
loading

Table of Contents