Lines Matching refs:ovalPtr
712 RectOvalItem *ovalPtr = (RectOvalItem *) itemPtr;
716 width = ovalPtr->width;
717 filled = ovalPtr->fillGC != None;
718 if (ovalPtr->outlineGC == None) {
722 return TkOvalToPoint(ovalPtr->bbox, width, filled, pointPtr);
815 RectOvalItem *ovalPtr = (RectOvalItem *) itemPtr;
823 halfWidth = ovalPtr->width/2.0;
824 if (ovalPtr->outlineGC == None) {
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;
841 if ((result == 0) && (ovalPtr->outlineGC != None)
842 && (ovalPtr->fillGC == None)) {
846 centerX = (ovalPtr->bbox[0] + ovalPtr->bbox[2])/2.0;
847 centerY = (ovalPtr->bbox[1] + ovalPtr->bbox[3])/2.0;
848 width = (ovalPtr->bbox[2] - ovalPtr->bbox[0])/2.0 - halfWidth;
849 height = (ovalPtr->bbox[3] - ovalPtr->bbox[1])/2.0 - halfWidth;