Searched defs:transform (Results 1 - 25 of 55) sorted by relevance

123

/inkscape/src/live_effects/
H A Dlpegroupbbox.cpp28 Geom::Affine transform; local
30 transform = lpeitem->i2doc_affine();
33 transform = Geom::identity();
36 Geom::OptRect bbox = lpeitem->geometricBounds(transform);
H A Dlpe-curvestitch.cpp122 Affine transform; local
123 transform.setXAxis( (end-start) / scaling );
124 transform.setYAxis( rot90(unit_vector(end-start)) * scaling_y);
125 transform.setTranslation( start );
126 Piecewise<D2<SBasis> > pwd2_out = (strokepath.get_pwd2()-stroke_origin) * transform;
/inkscape/src/libnrtype/
H A Dfont-style.h14 Geom::Affine transform; // the ctm. contains the font-size member in struct:font_style
/inkscape/src/livarot/
H A Dpath-description.cpp14 void PathDescrMoveTo::transform(Geom::Affine const& t) function in class:PathDescrMoveTo
35 void PathDescrLineTo::transform(Geom::Affine const& t) function in class:PathDescrLineTo
51 void PathDescrBezierTo::transform(Geom::Affine const& t) function in class:PathDescrBezierTo
67 void PathDescrIntermBezierTo::transform(Geom::Affine const& t) function in class:PathDescrIntermBezierTo
103 void PathDescrCubicTo::transform(Geom::Affine const& t) function in class:PathDescrCubicTo
130 void PathDescrArcTo::transform(Geom::Affine const& t) function in class:PathDescrArcTo
H A Dpath-description.h40 virtual void transform(Geom::Affine const &/*t*/) {} function in struct:PathDescr
56 void transform(Geom::Affine const &t);
69 void transform(Geom::Affine const &t);
82 void transform(Geom::Affine const &t);
98 void transform(Geom::Affine const &t);
112 void transform(Geom::Affine const &t);
128 void transform(Geom::Affine const &t);
/inkscape/src/
H A Dsp-line.cpp127 Geom::Affine SPLine::set_transform(Geom::Affine const &transform) { argument
133 points[0] *= transform;
134 points[1] *= transform;
141 this->adjust_stroke(transform.descrim());
H A Dprint.cpp32 sp_print_bind(SPPrintContext *ctx, Geom::Affine const &transform, float opacity) argument
34 return ctx->module->bind(transform, opacity);
66 Geom::Affine const &transform, SPStyle const *style)
68 return ctx->module->image(px, w, h, rs, transform, style);
64 sp_print_image_R8G8B8A8_N(SPPrintContext *ctx, guchar *px, unsigned int w, unsigned int h, unsigned int rs, Geom::Affine const &transform, SPStyle const *style) argument
H A Dsp-symbol.cpp80 // As last step set additional transform of drawing group
136 Geom::OptRect SPSymbol::bbox(Geom::Affine const &transform, SPItem::BBoxType type) const { argument
142 Geom::Affine const a( this->c2p * transform );
H A Dsp-item.h146 Geom::Affine transform; member in class:SPItem
237 Geom::OptRect geometricBounds(Geom::Affine const &transform = Geom::identity()) const;
244 Geom::OptRect visualBounds(Geom::Affine const &transform = Geom::identity()) const;
246 Geom::OptRect bounds(BBoxType type, Geom::Affine const &transform = Geom::identity()) const;
318 * Recursively compensate pattern or gradient transform.
325 * Set a new transform on an object.
327 * Compensate for stroke scaling and gradient/pattern fill transform, if
330 * the repr is updated with the new transform.
332 void doWriteTransform(Inkscape::XML::Node *repr, Geom::Affine const &transform, Geom::Affine const *adv = NULL, bool compensate = true);
335 * Sets item private transform (no
[all...]
H A Dpath-chemistry.cpp89 // remember the position, id, transform and style of the topmost path, they will be assigned to the combined one
92 char const *transform = NULL; local
123 transform = first->getRepr()->attribute("transform");
127 //c->transform(item->transform);
130 c->transform(item->getRelativeTransform(first));
151 // restore id, transform, path effect, and style
153 if (transform) {
154 repr->setAttribute("transform", transfor
230 Geom::Affine transform = path->transform; local
[all...]
H A Dsp-clippath.cpp252 Geom::OptRect SPClipPath::geometricBounds(Geom::Affine const &transform) { argument
257 Geom::OptRect tmp = SP_ITEM(i)->geometricBounds(Geom::Affine(SP_ITEM(i)->transform) * transform);
316 Geom::Affine transform (item->transform * (*applyTransform));
317 item->doWriteTransform(item->getRepr(), transform);
H A Dsp-hatch-path.cpp199 Geom::Affine transform = Geom::Translate(offset.computed, 0); local
204 bbox = bounds_exact_transformed(test_curve.get_pathvector(), transform);
206 bbox = bounds_exact_transformed(_curve->get_pathvector(), transform);
269 segment->transform(Geom::Translate(0, initial_y));
278 segment->transform(step_transform);
H A Dsp-path.cpp290 Geom::Affine SPPath::set_transform(Geom::Affine const &transform) { argument
291 if (!_curve) { // 0 nodes, nothing to transform
298 // if path has the CLONE_ORIGINAL LPE applied, don't write the transform to the pathdata, but write it 'unoptimized'
300 return transform;
302 _curve_before_lpe->transform(transform);
305 _curve->transform(transform);
309 this->adjust_stroke(transform.descrim());
312 this->adjust_pattern(transform);
[all...]
H A Dsp-tref.cpp190 Geom::OptRect SPTRef::bbox(Geom::Affine const &transform, SPItem::BBoxType type) const { argument
204 bbox = SP_TEXT(parent_text)->layout.bounds(transform,
210 double scale = transform.descrim();
H A Dsp-tspan.cpp138 Geom::OptRect SPTSpan::bbox(Geom::Affine const &transform, SPItem::BBoxType type) const { argument
152 bbox = SP_TEXT(parent_text)->layout.bounds(transform, sp_text_get_length_upto(parent_text, this), sp_text_get_length_upto(this, NULL) - 1);
161 double scale = transform.descrim();
/inkscape/src/svg/
H A Dsvg-affine.cpp33 sp_svg_transform_read(gchar const *str, Geom::Affine *transform) argument
100 /* ok, have parsed keyword and args, now modify the transform */
150 *transform = a;
157 sp_svg_transform_write(Geom::Affine const &transform) argument
161 double e = 0.000001 * transform.descrim();
167 if (transform[0] == 0 && transform[1] == 0 && transform[2] == 0 &&
168 transform[3] == 0 && transform[
287 sp_svg_transform_write(Geom::Affine const *transform) argument
[all...]
/inkscape/src/display/
H A Ddrawing-context.cpp113 void DrawingContext::transform(Geom::Affine const &trans) { function in class:Inkscape::DrawingContext
H A Dcurve.cpp172 SPCurve::transform(Geom::Affine const &m) function in class:SPCurve
/inkscape/src/extension/
H A Dprint.cpp61 Print::bind (const Geom::Affine &transform, float opacity) argument
63 return imp->bind (this, transform, opacity);
94 const Geom::Affine &transform, const SPStyle *style)
96 return imp->image (this, px, w, h, rs, transform, style);
93 image(unsigned char *px, unsigned int w, unsigned int h, unsigned int rs, const Geom::Affine &transform, const SPStyle *style) argument
/inkscape/src/2geom/
H A Dcurve.h187 void transform(Affine const &m) { function in class:Geom::Curve
205 ret->transform(m);
/inkscape/share/extensions/ink2canvas/
H A Dcanvas.py179 def transform(self, m11, m12, m21, m22, dx, dy): member in class:Canvas
181 self.write("ctx.transform(%f, %f, %f, %f, %f, %f);" % data)
/inkscape/share/extensions/
H A Dpixelsnap.py5 group or layer that has it's own transform, that won't be taken into
10 group/layer, or remove the transform on the group/layer.
23 transform the appropriate handle according to the relevant fraction_offset
95 def invert_transform(transform):
96 transform = transform[:] # duplicate list to avoid modifying it
97 transform += [[0, 0, 1]]
98 inverse = matrix(transform).I.tolist()
102 def transform_point(transform, pt, inverse=False):
108 transform
195 def transform(self, elem, setval=None, parent_transform=None): member in class:PixelSnapEffect
[all...]
/inkscape/src/extension/internal/
H A Dcairo-render-context.h62 Geom::Affine item_transform; // this item's item->transform, for correct clipping
67 Geom::Affine transform; // the CTM member in struct:Inkscape::Extension::Internal::CairoRenderState
141 void transform(Geom::Affine const &transform);
142 void setTransform(Geom::Affine const &transform);
222 void _initCairoMatrix(cairo_matrix_t *matrix, Geom::Affine const &transform);
224 void _concatTransform(cairo_t *cr, Geom::Affine const &transform);
H A Dlatex-pstricks.cpp133 m_tr_stack.push( Geom::Scale(1, -1) * Geom::Translate(0, doc->getHeight().value("px"))); /// @fixme hardcoded doc2dt transform
152 unsigned int PrintLatex::bind(Inkscape::Extension::Print * /*mod*/, Geom::Affine const &transform, float /*opacity*/) argument
156 m_tr_stack.push(transform * tr_top);
158 m_tr_stack.push(transform);
181 Geom::PathVector const &pathv, Geom::Affine const &transform, SPStyle const *style,
205 print_pathvector(os, pathv, transform);
216 Geom::PathVector const &pathv, Geom::Affine const &transform, SPStyle const *style,
253 print_pathvector(os, pathv, transform);
263 // FIXME: why is 'transform' argument not used?
265 PrintLatex::print_pathvector(SVGOStringStream &os, Geom::PathVector const &pathv_in, const Geom::Affine & /*transform*/)
180 fill(Inkscape::Extension::Print * , Geom::PathVector const &pathv, Geom::Affine const &transform, SPStyle const *style, Geom::OptRect const & , Geom::OptRect const & , Geom::OptRect const & ) argument
215 stroke(Inkscape::Extension::Print * , Geom::PathVector const &pathv, Geom::Affine const &transform, SPStyle const *style, Geom::OptRect const & , Geom::OptRect const & , Geom::OptRect const & ) argument
[all...]
/inkscape/src/ui/dialog/
H A Dlivepatheffect-editor.cpp456 // delete clone but remember its id and transform
458 gchar *transform = g_strdup(item->getRepr()->attribute("transform")); local
469 new_item->getRepr()->setAttribute("transform", transform);
472 g_free(transform);

Completed in 53 milliseconds

123