Lines Matching refs:oval

4  *	This file implements rectangle and oval items for canvas
19 * The structure below defines the record for each rectangle/oval item.
26 * or oval (x1, y1, x2, y2). Item includes
30 XColor *fillColor; /* Color for filling rectangle/oval. */
96 * The structures below defines the rectangle and oval item types
124 "oval", /* name */
153 * or oval item in a canvas.
162 * A new rectangle or oval item is created.
290 * of a rectangle or oval item, such as its border and
376 * associated with a rectangle or oval item.
421 * or oval.
498 * This procedure is invoked to draw a rectangle or oval
688 * oval, in canvas units.
692 * are coordPtr[0] and coordPtr[1] is inside the oval. If the
693 * point isn't inside the oval then the return value is the
694 * distance from the point to the oval. If itemPtr is filled,
810 Tk_Item *itemPtr; /* Item to check against oval. */
816 double oval[4], halfWidth;
820 * Expand the oval to include the width of the outline, if any.
827 oval[0] = ovalPtr->bbox[0] - halfWidth;
828 oval[1] = ovalPtr->bbox[1] - halfWidth;
829 oval[2] = ovalPtr->bbox[2] + halfWidth;
830 oval[3] = ovalPtr->bbox[3] + halfWidth;
832 result = TkOvalToArea(oval, areaPtr);
835 * If the rectangle appears to overlap the oval and the oval
837 * of the rectangle's corners are totally inside the oval's
874 * This procedure is invoked to rescale a rectangle or oval
881 * The rectangle or oval referred to by itemPtr is rescaled
913 * This procedure is called to move a rectangle or oval by a
920 * The position of the rectangle or oval is offset by
950 * rectangle and oval items.
983 * Generate a string that creates a path for the rectangle or oval.