462 Appendix A Command Reference
Class Custom image primitive
Description Draws an oval whose axes are parallel to the vertical and horizontal axes of displayed
video. The size and position of the oval are defined by its framing rectangle. The framing
rectangle is a rectangle whose sides are both tangent to the oval at four points and are
parallel to the vertical and horizontal axis of video. It is not drawn as part of the primitive.
The figure below shows the relationship of an oval to its framing rectangle.
OVAL uses six parameters. The first is color. The next two are the pixel width and height of
the framing rectangle in pixels. The fourth and fifth parameters are the x, y coordinates for
the top left corner of the framing rectangle. The last parameter is the fill.
Command syntax OVAL color width height x y fill
color
available colors
width
total number of horizontal pixels
height
total number of lines
x, y
positive integer numbers
fill
available fill patterns
Other required
commands The FMTU command instructs the generator to use the new setting. The ALLU command
updates hardware to the new setting and redraws the test image.
Example
OVAL red 240 150 20 10 GrayPat0 // Draw a red oval 240 pixels wide
// by 150 pixels high. Start framing
// rectangle at X=20, Y=10.
// Fill = none
width
height
left, top