Lines Matching refs:polyline
1140 static void ipa_poly_line(wmfAPI * API, wmfPolyLine_t * polyline) in ipa_poly_line() argument
1142 if (polyline->count <= 2) in ipa_poly_line()
1145 if (TO_DRAW(polyline)) in ipa_poly_line()
1153 util_set_pen(API, polyline->dc); in ipa_poly_line()
1157 XC(polyline->pt[0].x), in ipa_poly_line()
1158 YC(polyline->pt[0].y)); in ipa_poly_line()
1159 for (point = 1; point < polyline->count; point++) in ipa_poly_line()
1162 XC(polyline->pt[point].x), in ipa_poly_line()
1163 YC(polyline->pt[point].y)); in ipa_poly_line()
1172 static void ipa_draw_polygon(wmfAPI * API, wmfPolyLine_t * polyline) in ipa_draw_polygon() argument
1174 if (polyline->count <= 2) in ipa_draw_polygon()
1177 if (TO_FILL(polyline) || TO_DRAW(polyline)) in ipa_draw_polygon()
1185 util_set_pen(API, polyline->dc); in ipa_draw_polygon()
1186 util_set_brush(API, polyline->dc, BrushApplyFill); in ipa_draw_polygon()
1190 XC(polyline->pt[0].x), in ipa_draw_polygon()
1191 YC(polyline->pt[0].y)); in ipa_draw_polygon()
1192 for (point = 1; point < polyline->count; point++) in ipa_draw_polygon()
1195 XC(polyline->pt[point].x), in ipa_draw_polygon()
1196 YC(polyline->pt[point].y)); in ipa_draw_polygon()
1217 polyline; in ipa_draw_polypolygon() local
1228 polyline.dc = polypolygon->dc; in ipa_draw_polypolygon()
1229 polyline.pt = polypolygon->pt[polygon]; in ipa_draw_polypolygon()
1230 polyline.count = polypolygon->count[polygon]; in ipa_draw_polypolygon()
1231 if ((polyline.count > 2) && polyline.pt) in ipa_draw_polypolygon()
1234 XC(polyline.pt[0].x), in ipa_draw_polypolygon()
1235 YC(polyline.pt[0].y)); in ipa_draw_polypolygon()
1236 for (point = 1; point < polyline.count; point++) in ipa_draw_polypolygon()
1239 XC(polyline.pt[point].x), in ipa_draw_polypolygon()
1240 YC(polyline.pt[point].y)); in ipa_draw_polypolygon()