Epson Research and Development
Page 77
Vancouver Design Center
Programming Notes and Examples
S1D13505
Issue Date: 01/02/05
X23A-G-003-07
The value of 'Color' must be 0 to 3. Values 0 and 1 refer to the two user definable
colors. If 'Color' is 2 then the pixel will be transparent and if the value is 3 the pixel
will be an inversion of the underlying screen color.
Parameters:
DevID
- a registered device ID
(x1,y1)
- upper left corner of the rectangle (in pixels)
(x2.y2)
- lower right corner of the rectangle (in pixels)
Color
- a two bit value (0 to 3) to draw the rectangle with
SolidFill
- a flag to indicate that the interior should be filled
Return Value: ERR_OK
- operation completed with no problems
int seDrawInkEllipse(int DevID, long xc, long yc, long xr, long yr, DWORD Color,
BOOL SolidFill)
Description:
This routine draws an ellipse with the center located at xc,yc. The xr and yr param-
eters specify the x and y radii, in pixels, respectively. The ellipse will be drawn in
the color specified by 'Color'.
The value of 'Color' must be 0 to 3. Values 0 and 1 refer to the two user definable
colors. If 'Color' is 2 then the pixel will be transparent and if the value is 3 the pixel
will be an inversion of the underlying screen color.
This solid fill option is not yet available for this function.
Parameters:
DevID
- a registered device ID
xc,yc
- center point for the ellipse (in pixels)
xr
- horizontal radius of the ellipse (in pixels)
yr
- vertical radius of the ellipse (in pixels)
Color
- a two bit value (0 to 3) to draw the rectangle with
SolidFill
- flag to enable filling the interior of the ellipse (currently not used)
Return Value: ERR_OK
- operation completed with no problems
int seDrawInkCircle(int DevID, long x, long y, long Radius, DWORD Color, BOOL
SolidFill)
Description:
This routine draws a circle in the ink layer display buffer. The center of the circle
will be at x,y and the circle will have a radius of 'Radius' pixels.
The value of 'Color' must be 0 to 3. Values 0 and 1 refer to the two user definable
colors. If 'Color' is 2 then the pixel will be transparent and if the value is 3 the pixel
will be an inversion of the underlying screen color.
Currently seDrawCursorCircle() does not support the solid fill option.
Parameters:
DevID
- a registered device ID
x,y
- center of the circle (in pixels)
Radius
- circle radius (in pixels)
Color
- a two bit (0 to 3) value to draw the circle with
SolidFill
- flag to fill the interior of the circle (currently not used)
Return Value: ERR_OK
- operation completed with no problems