Draw Ellipse

\i D Y bits::mode word::vertex_a word::vertex_b

Parameter Type Range Description
mode bits Bit 1, 3 ... 6 flags for the ellipse properties
vertex_a word 1 ... display width distance from center to intersection of ellipse and x-axis
vertex_b word 1 ... display height distance from center to intersection of ellipse and y-axis

Draws an ellipse with the selected line thickness, using the current cursor position as center. The vertices vertex_a and vertex_b specify the dimensions, the parameter mode allows to set several properties for the ellipse:

Bit Description
1 drop shadow
3 filled with background color
4

use foreground color for filling (bit 3 must be set too)

5 filled with current fill pattern (bits 3 and 4 ignored if set)
6 draw without outline
7 alpha blending for shadow only

Note

Response: [ACK]

Example

\iDY\x22\D250\D100

Draws a filled ellipse with the vertices 250 and 100 and a drop shadow.

Not supported by: DPC3020, DPC2060, DPC10xx

See also:

Draw Line
Draw Rectangle
Draw Circle
Draw Styled Circle
Set Border Color
Set Border Shadow Color
Set Shadow Offset
Set Line Thickness
Set Filling Color
Set Filling Gradient
Set Filling Tile
Set Alpha