Lines Matching refs: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);
1006 static void ipa_draw_pie(wmfAPI * API, wmfDrawArc_t * draw_arc) in ipa_draw_pie() argument
1008 util_draw_arc(API, draw_arc, magick_arc_pie); in ipa_draw_pie()
1011 static void ipa_draw_chord(wmfAPI * API, wmfDrawArc_t * draw_arc) in ipa_draw_chord() argument
1013 util_draw_arc(API, draw_arc, magick_arc_chord); in ipa_draw_chord()
1016 static void ipa_draw_arc(wmfAPI * API, wmfDrawArc_t * draw_arc) in ipa_draw_arc() argument
1018 util_draw_arc(API, draw_arc, magick_arc_open); in ipa_draw_arc()
1021 static void ipa_draw_ellipse(wmfAPI * API, wmfDrawArc_t * draw_arc) in ipa_draw_ellipse() argument
1023 util_draw_arc(API, draw_arc, magick_arc_ellipse); in ipa_draw_ellipse()
1027 wmfDrawArc_t * draw_arc, magick_arc_t finish) in util_draw_arc() argument
1048 if (TO_FILL(draw_arc) || TO_DRAW(draw_arc)) in util_draw_arc()
1050 center.x = (draw_arc->TL.x + draw_arc->BR.x) / 2; in util_draw_arc()
1051 center.y = (draw_arc->TL.y + draw_arc->BR.y) / 2; in util_draw_arc()
1057 draw_arc->start.x += center.x; in util_draw_arc()
1058 draw_arc->start.y += center.y; in util_draw_arc()
1060 draw_arc->end.x += center.x; in util_draw_arc()
1061 draw_arc->end.y += center.y; in util_draw_arc()
1064 TL = draw_arc->TL; in util_draw_arc()
1065 BR = draw_arc->BR; in util_draw_arc()
1071 start = draw_arc->start; in util_draw_arc()
1072 end = draw_arc->end; in util_draw_arc()
1093 util_set_pen(API, draw_arc->dc); in util_draw_arc()
1097 util_set_brush(API, draw_arc->dc, BrushApplyFill); in util_draw_arc()
1114 DrawArc(WmfDrawingWand, XC(draw_arc->TL.x), YC(draw_arc->TL.y), in util_draw_arc()
1115 XC(draw_arc->BR.x), XC(draw_arc->BR.y), phi_s, phi_e); in util_draw_arc()
1116 DrawLine(WmfDrawingWand, XC(draw_arc->BR.x-start.x), in util_draw_arc()
1117 YC(draw_arc->BR.y-start.y), XC(draw_arc->BR.x-end.x), in util_draw_arc()
1118 YC(draw_arc->BR.y-end.y)); in util_draw_arc()
1121 DrawArc(WmfDrawingWand, XC(draw_arc->TL.x), YC(draw_arc->TL.y), in util_draw_arc()
1122 XC(draw_arc->BR.x), XC(draw_arc->BR.y), phi_s, phi_e); in util_draw_arc()
1401 FR->draw_arc = ipa_draw_arc; in ipa_functions()