Lines Matching defs:draw_arc
418 static void ipa_draw_arc(wmfAPI * API, wmfDrawArc_t * draw_arc);
419 static void ipa_draw_chord(wmfAPI * API, wmfDrawArc_t * draw_arc);
420 static void ipa_draw_ellipse(wmfAPI * API, wmfDrawArc_t * draw_arc);
422 static void ipa_draw_pie(wmfAPI * API, wmfDrawArc_t * draw_arc);
443 static void util_draw_arc(wmfAPI * API, wmfDrawArc_t * draw_arc,magick_arc_t finish);
1001 static void ipa_draw_pie(wmfAPI * API, wmfDrawArc_t * draw_arc)
1003 util_draw_arc(API, draw_arc, magick_arc_pie);
1006 static void ipa_draw_chord(wmfAPI * API, wmfDrawArc_t * draw_arc)
1008 util_draw_arc(API, draw_arc, magick_arc_chord);
1011 static void ipa_draw_arc(wmfAPI * API, wmfDrawArc_t * draw_arc)
1013 util_draw_arc(API, draw_arc, magick_arc_open);
1016 static void ipa_draw_ellipse(wmfAPI * API, wmfDrawArc_t * draw_arc)
1018 util_draw_arc(API, draw_arc, magick_arc_ellipse);
1022 wmfDrawArc_t * draw_arc, magick_arc_t finish)
1043 if (TO_FILL(draw_arc) || TO_DRAW(draw_arc))
1045 center.x = (draw_arc->TL.x + draw_arc->BR.x) / 2;
1046 center.y = (draw_arc->TL.y + draw_arc->BR.y) / 2;
1052 draw_arc->start.x += center.x;
1053 draw_arc->start.y += center.y;
1055 draw_arc->end.x += center.x;
1056 draw_arc->end.y += center.y;
1059 TL = draw_arc->TL;
1060 BR = draw_arc->BR;
1066 start = draw_arc->start;
1067 end = draw_arc->end;
1088 util_set_pen(API, draw_arc->dc);
1092 util_set_brush(API, draw_arc->dc, BrushApplyFill);
1109 DrawArc(WmfDrawingWand, XC(draw_arc->TL.x), YC(draw_arc->TL.y),
1110 XC(draw_arc->BR.x), XC(draw_arc->BR.y), phi_s, phi_e);
1111 DrawLine(WmfDrawingWand, XC(draw_arc->BR.x-start.x),
1112 YC(draw_arc->BR.y-start.y), XC(draw_arc->BR.x-end.x),
1113 YC(draw_arc->BR.y-end.y));
1116 DrawArc(WmfDrawingWand, XC(draw_arc->TL.x), YC(draw_arc->TL.y),
1117 XC(draw_arc->BR.x), XC(draw_arc->BR.y), phi_s, phi_e);
1396 FR->draw_arc = ipa_draw_arc;