Lines Matching refs:draw_rect
428 static void ipa_draw_rectangle(wmfAPI * API, wmfDrawRectangle_t * draw_rect);
1259 static void ipa_draw_rectangle(wmfAPI * API, wmfDrawRectangle_t * draw_rect) in ipa_draw_rectangle() argument
1264 if (TO_FILL(draw_rect) || TO_DRAW(draw_rect)) in ipa_draw_rectangle()
1266 util_set_pen(API, draw_rect->dc); in ipa_draw_rectangle()
1267 util_set_brush(API, draw_rect->dc, BrushApplyFill); in ipa_draw_rectangle()
1269 if ((draw_rect->width > 0) || (draw_rect->height > 0)) in ipa_draw_rectangle()
1271 XC(draw_rect->TL.x), YC(draw_rect->TL.y), in ipa_draw_rectangle()
1272 XC(draw_rect->BR.x), YC(draw_rect->BR.y), in ipa_draw_rectangle()
1273 draw_rect->width / 2, draw_rect->height / 2); in ipa_draw_rectangle()
1276 XC(draw_rect->TL.x), YC(draw_rect->TL.y), in ipa_draw_rectangle()
1277 XC(draw_rect->BR.x), YC(draw_rect->BR.y)); in ipa_draw_rectangle()