Lines Matching refs:dstBlock
1098 rect.x = pfillblock->dstBlock.x; in MApi_GFX_RectFill_U02()
1099 rect.y = pfillblock->dstBlock.y; in MApi_GFX_RectFill_U02()
1100 rect.width = pfillblock->dstBlock.width; in MApi_GFX_RectFill_U02()
1101 rect.height = pfillblock->dstBlock.height; in MApi_GFX_RectFill_U02()
1203 rectInfo.dstBlock.width = ABS(dda0.xi - dda1.xi); in MApi_GFX_TriFill_U02()
1204 rectInfo.dstBlock.x = MIN(dda0.xi, dda1.xi); in MApi_GFX_TriFill_U02()
1206 if ( (bClip == 1) && (clip_x1 < rectInfo.dstBlock.x + rectInfo.dstBlock.width) ) in MApi_GFX_TriFill_U02()
1207 rectInfo.dstBlock.width = clip_x1 - rectInfo.dstBlock.x + 1; in MApi_GFX_TriFill_U02()
1209 if (rectInfo.dstBlock.width > 0) { in MApi_GFX_TriFill_U02()
1210 if ( (bClip == 1) && (clip_x0 > rectInfo.dstBlock.x) ) { in MApi_GFX_TriFill_U02()
1211 rectInfo.dstBlock.width -= (clip_x0 - rectInfo.dstBlock.x); in MApi_GFX_TriFill_U02()
1212 rectInfo.dstBlock.x = clip_x0; in MApi_GFX_TriFill_U02()
1214 rectInfo.dstBlock.y = y; in MApi_GFX_TriFill_U02()
1215 rectInfo.dstBlock.height = 1; in MApi_GFX_TriFill_U02()
1217 if (rectInfo.dstBlock.width > 0) { in MApi_GFX_TriFill_U02()
1218 if( (bClip == 1) && (rectInfo.dstBlock.y >= clip_y0) ) in MApi_GFX_TriFill_U02()
1234 MS_BOOL clip_rectangle(GFX_Block clip,GFX_Block *dstBlock) in clip_rectangle() argument
1236 if ((clip.x >= dstBlock->x + dstBlock->width) || in clip_rectangle()
1237 ((clip.x + clip.width) < dstBlock->x) || in clip_rectangle()
1238 (clip.y >= dstBlock->y + dstBlock->height) || in clip_rectangle()
1239 ((clip.y + clip.height) < dstBlock->y)) in clip_rectangle()
1242 if (clip.x > dstBlock->x) { in clip_rectangle()
1243 dstBlock->width += dstBlock->x - clip.x; in clip_rectangle()
1244 dstBlock->x = clip.x; in clip_rectangle()
1247 if (clip.y > dstBlock->y) { in clip_rectangle()
1248 dstBlock->height += dstBlock->y - clip.y; in clip_rectangle()
1249 dstBlock->y = clip.y; in clip_rectangle()
1252 if ((clip.x + clip.width) < dstBlock->x + dstBlock->width - 1) in clip_rectangle()
1253 dstBlock->width = (clip.x + clip.width) - dstBlock->x + 1; in clip_rectangle()
1255 if ((clip.y + clip.height) < dstBlock->y + dstBlock->height - 1) in clip_rectangle()
1256 dstBlock->height = (clip.y + clip.height) - dstBlock->y + 1; in clip_rectangle()
1277 rectInfo.dstBlock.x = pfillblock->span.spans[i].x; in MApi_GFX_SpanFill_U02()
1278 rectInfo.dstBlock.y = pfillblock->span.y+i; in MApi_GFX_SpanFill_U02()
1279 rectInfo.dstBlock.width = pfillblock->span.spans[i].w; in MApi_GFX_SpanFill_U02()
1280 rectInfo.dstBlock.height = 1; in MApi_GFX_SpanFill_U02()
1284 !clip_rectangle( pfillblock->clip_box, &rectInfo.dstBlock)) in MApi_GFX_SpanFill_U02()