Lines Matching defs:ppt
112 static void vrdpPointFX2Point(const POINTFIX *pptfx, VRDEORDERPOINT *ppt)
114 ppt->x = (int16_t)FXTOLROUND(pptfx->x);
115 ppt->y = (int16_t)FXTOLROUND(pptfx->y);
118 static void vrdpPolyPointsAdd(VRDEORDERPOLYPOINTS *pPoints, const VRDEORDERPOINT *ppt)
122 pPoints->a[pPoints->c] = *ppt;
127 static void vrdpExtendOrderBounds(VRDEORDERBOUNDS *pBounds, const VRDEORDERPOINT *ppt)
131 if (pBounds->pt1.x > ppt->x) /* Left. */
133 pBounds->pt1.x = ppt->x;
135 if (pBounds->pt1.y > ppt->y) /* Top. */
137 pBounds->pt1.y = ppt->y;
139 if (pBounds->pt2.x <= ppt->x) /* Right. */
141 pBounds->pt2.x = ppt->x + 1;
143 if (pBounds->pt2.y <= ppt->y) /* Bottom. */
145 pBounds->pt2.y = ppt->y + 1;