Lines Matching defs:limits
73 BoxRec limits; /* current constraints */
230 pPointer->limits = *pBox;
239 * @param pDev The device to calculate the cursor limits for
332 pPointer->limits.x1 = 0;
333 pPointer->limits.x2 = 32767;
334 pPointer->limits.y1 = 0;
335 pPointer->limits.y2 = 32767;
544 pPointer->limits.x2 = pScreen->width;
545 pPointer->limits.y2 = pScreen->height;
647 * Pointer->limits */
679 pPointer->limits.x2 = pScreen->width;
680 pPointer->limits.y2 = pScreen->height;
684 /* Constrain the sprite to the current limits. */
685 if (x < pPointer->limits.x1)
686 x = pPointer->limits.x1;
687 if (x >= pPointer->limits.x2)
688 x = pPointer->limits.x2 - 1;
689 if (y < pPointer->limits.y1)
690 y = pPointer->limits.y1;
691 if (y >= pPointer->limits.y2)
692 y = pPointer->limits.y2 - 1;