@@ -176,8 +176,7 @@ class RendererAgg
176176 ColorArray &edgecolors,
177177 LineWidthArray &linewidths,
178178 DashesVector &linestyles,
179- AntialiasedArray &antialiaseds,
180- e_offset_position offset_position);
179+ AntialiasedArray &antialiaseds);
181180
182181 template <class CoordinateArray , class OffsetArray , class ColorArray >
183182 void draw_quad_mesh (GCAgg &gc,
@@ -277,7 +276,6 @@ class RendererAgg
277276 LineWidthArray &linewidths,
278277 DashesVector &linestyles,
279278 AntialiasedArray &antialiaseds,
280- e_offset_position offset_position,
281279 bool check_snap,
282280 bool has_curves);
283281
@@ -911,7 +909,6 @@ inline void RendererAgg::_draw_path_collection_generic(GCAgg &gc,
911909 LineWidthArray &linewidths,
912910 DashesVector &linestyles,
913911 AntialiasedArray &antialiaseds,
914- e_offset_position offset_position,
915912 bool check_snap,
916913 bool has_curves)
917914{
@@ -969,11 +966,7 @@ inline void RendererAgg::_draw_path_collection_generic(GCAgg &gc,
969966 double xo = offsets (i % Noffsets, 0 );
970967 double yo = offsets (i % Noffsets, 1 );
971968 offset_trans.transform (&xo, &yo);
972- if (offset_position == OFFSET_POSITION_DATA) {
973- trans = agg::trans_affine_translation (xo, yo) * trans;
974- } else {
975- trans *= agg::trans_affine_translation (xo, yo);
976- }
969+ trans *= agg::trans_affine_translation (xo, yo);
977970 }
978971
979972 // These transformations must be done post-offsets
@@ -1047,8 +1040,7 @@ inline void RendererAgg::draw_path_collection(GCAgg &gc,
10471040 ColorArray &edgecolors,
10481041 LineWidthArray &linewidths,
10491042 DashesVector &linestyles,
1050- AntialiasedArray &antialiaseds,
1051- e_offset_position offset_position)
1043+ AntialiasedArray &antialiaseds)
10521044{
10531045 _draw_path_collection_generic (gc,
10541046 master_transform,
@@ -1064,7 +1056,6 @@ inline void RendererAgg::draw_path_collection(GCAgg &gc,
10641056 linewidths,
10651057 linestyles,
10661058 antialiaseds,
1067- offset_position,
10681059 true ,
10691060 true );
10701061}
@@ -1175,7 +1166,6 @@ inline void RendererAgg::draw_quad_mesh(GCAgg &gc,
11751166 linewidths,
11761167 linestyles,
11771168 antialiaseds,
1178- OFFSET_POSITION_FIGURE,
11791169 true , // check_snap
11801170 false );
11811171}
0 commit comments