Lines Matching defs:bounds

75 static int X11SD_FindClip(SurfaceDataBounds *b, SurfaceDataBounds *bounds,
77 static int X11SD_ClipToRoot(SurfaceDataBounds *b, SurfaceDataBounds *bounds,
81 SurfaceDataBounds *bounds,
781 * so drawables are not read out of bounds.
821 SurfaceData_ThrowInvalidPipeException(env, "bounds changed");
863 pRasInfo->bounds.x1,
864 pRasInfo->bounds.y1,
865 pRasInfo->bounds.x2,
866 pRasInfo->bounds.y2);
870 pRasInfo->bounds.x1 = xsdo->surfInfo.visible.lox - wx;
871 pRasInfo->bounds.y1 = xsdo->surfInfo.visible.loy - wy;
872 pRasInfo->bounds.x2 = xsdo->surfInfo.visible.hix - wx;
873 pRasInfo->bounds.y2 = xsdo->surfInfo.visible.hiy - wy;
892 if (pRasInfo->bounds.x1 < 0) {
893 pRasInfo->bounds.x1 = 0;
895 if (pRasInfo->bounds.y1 < 0) {
896 pRasInfo->bounds.y1 = 0;
898 if (pRasInfo->bounds.x2 > xsdo->pmWidth) {
899 pRasInfo->bounds.x2 = xsdo->pmWidth;
901 if (pRasInfo->bounds.y2 > xsdo->pmHeight) {
902 pRasInfo->bounds.y2 = xsdo->pmHeight;
930 /* Try one more time to use DGA (now with smaller bounds)... */
935 pRasInfo->bounds.x1,
936 pRasInfo->bounds.y1,
937 pRasInfo->bounds.x2,
938 pRasInfo->bounds.y2);
942 pRasInfo->bounds.x1 = xsdo->surfInfo.visible.lox - wx;
943 pRasInfo->bounds.y1 = xsdo->surfInfo.visible.loy - wy;
944 pRasInfo->bounds.x2 = xsdo->surfInfo.visible.hix - wx;
945 pRasInfo->bounds.y2 = xsdo->surfInfo.visible.hiy - wy;
969 xpriv->x = pRasInfo->bounds.x1;
970 xpriv->y = pRasInfo->bounds.y1;
978 x = pRasInfo->bounds.x1;
979 y = pRasInfo->bounds.y1;
980 w = pRasInfo->bounds.x2 - x;
981 h = pRasInfo->bounds.y2 - y;
983 xpriv->img = X11SD_GetImage(env, xsdo, &pRasInfo->bounds, lockFlags);
1045 int w = pRasInfo->bounds.x2 - x;
1046 int h = pRasInfo->bounds.y2 - y;
1094 X11SD_ClipToRoot(SurfaceDataBounds *b, SurfaceDataBounds *bounds,
1146 x1 = MAX(bounds->x1, x1);
1147 y1 = MAX(bounds->y1, y1);
1148 x2 = MIN(bounds->x2, x2);
1149 y2 = MIN(bounds->y2, y2);
1168 X11SD_FindClip(SurfaceDataBounds *b, SurfaceDataBounds *bounds, X11SDOps *xsdo)
1178 x1 = bounds->x1;
1179 y1 = bounds->y1;
1180 x2 = bounds->x2;
1181 y2 = bounds->y2;
1323 SurfaceDataBounds *bounds,
1335 x = bounds->x1;
1336 y = bounds->y1;
1337 w = bounds->x2 - x;
1338 h = bounds->y2 - y;
1405 X11SD_ClipToRoot(&temp, bounds, xsdo)) {
1415 if (X11SD_FindClip(&temp, bounds, xsdo)) {
1580 SurfaceData_ThrowInvalidPipeException(env, "bounds changed");