Oval Object Class


Overview

The Oval object class allows the application to draw an oval shaped object (circular, elliptical, etc.). The coordinates of the Oval are specified in a data structure of type XintRectangle which is defined by the Rectangle object class. Graphic attributes such as the line color, line width, fill style and fill color are set using resources defined in the Graphic class.

Inherited Behavior and Resources

The Oval object class inherits behavior and resources from the Xt Object, Graphic and Rectangle classes.

The Oval object class does not define any new resources. The position and shape of the Oval object are defined using the inherited resource XmNrectangle.


Oval Callbacks

The XintRectangleVerifyCallbackStruct callback structure is returned by the callback XmNverifyCallback. Please see the reference section of the Rectangle Object Class for more information regarding this structure.

Oval Functions

Function XintCreateOval creates an oval object.

     Object XintCreateOval (...)

WidgetparentParent of new Oval object.
char *nameName of new Oval object.
ArgListarglistList of resource/value items.
CardinalargcountNumber of items in arglist.


Macros

Macro XintIsOval returns True if the specified object is an Oval object.

     Boolean XintIsOval (Object object)