Lines Matching refs:transform_stroke

91  * @param transform_stroke If true then the stroke will be scaled proportional to the square root of the area of the geometric bounding box
101 Geom::Affine get_scale_transform_for_uniform_stroke(Geom::Rect const &bbox_visual, gdouble stroke_x, gdouble stroke_y, bool transform_stroke, bool preserve, gdouble x0, gdouble y0, gdouble x1, gdouble y1)
159 scale_x = transform_stroke ? 1 : scale_y;
164 scale_y = transform_stroke ? 1 : scale_x;
168 if (transform_stroke && !preserve) {
194 } else if (!transform_stroke && !preserve) { // scale the geometric bbox with constant stroke
198 } else if (!transform_stroke) { // 'Preserve Transforms' was chosen.
246 * @param transform_stroke If true then the stroke will be scaled proportional to the square root of the area of the geometric bounding box
256 Geom::Affine get_scale_transform_for_variable_stroke(Geom::Rect const &bbox_visual, Geom::Rect const &bbox_geom, bool transform_stroke, bool preserve, gdouble x0, gdouble y0, gdouble x1, gdouble y1)
318 scale_x = transform_stroke ? 1 : scale_y;
323 scale_y = transform_stroke ? 1 : scale_x;
327 if (transform_stroke && !preserve) {
342 g_message("variable stroke scaling error : %d, %d, %f, %f, %f, %f, %f, %f", transform_stroke, preserve, r0w, r0h, w0, h0, w1, h1);
356 } else if (!transform_stroke && !preserve) { // scale the geometric bbox with constant stroke
360 } else if (!transform_stroke) { // 'Preserve Transforms' was chosen.
371 g_message("variable stroke scaling error : %d, %d, %f, %f, %f, %f, %f, %f", transform_stroke, preserve, r0w, r0h, w0, h0, w1, h1);
390 Geom::Rect get_visual_bbox(Geom::OptRect const &initial_geom_bbox, Geom::Affine const &abs_affine, gdouble const initial_strokewidth, bool const transform_stroke)
405 if (transform_stroke) {