Searched refs:ovalPtr (Results 1 - 3 of 3) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkTrig.c678 TkOvalToPoint(ovalPtr, width, filled, pointPtr)
679 double ovalPtr[4]; /* Pointer to array of four coordinates
696 xDelta = (pointPtr[0] - (ovalPtr[0] + ovalPtr[2])/2.0);
697 yDelta = (pointPtr[1] - (ovalPtr[1] + ovalPtr[3])/2.0);
699 scaledDistance = hypot(xDelta / ((ovalPtr[2] + width - ovalPtr[0])/2.0),
700 yDelta / ((ovalPtr[3] + width - ovalPtr[
[all...]
H A DtkRectOval.c712 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
704 RectOvalItem *ovalPtr = (RectOvalItem *) itemPtr; local
805 RectOvalItem *ovalPtr = (RectOvalItem *) itemPtr; local
[all...]
H A DtkInt.h776 EXTERN int TkOvalToArea _ANSI_ARGS_((double *ovalPtr,
778 EXTERN double TkOvalToPoint _ANSI_ARGS_((double ovalPtr[4],

Completed in 17 milliseconds