Searched defs:rotation (Results 1 - 9 of 9) sorted by relevance

/inkscape/src/
H A Dsp-item-transform.cpp23 void sp_item_rotate_rel(SPItem *item, Geom::Rotate const &rotation) argument
27 Geom::Affine affine = Geom::Affine(s).inverse() * Geom::Affine(rotation) * Geom::Affine(s);
H A Dtext-editing.cpp130 double height, rotation; local
131 layout->queryCursorShape(position, p0, height, rotation);
132 p1 = Geom::Point(p0[Geom::X] + height * sin(rotation), p0[Geom::Y] - height * cos(rotation));
/inkscape/src/ui/dialog/
H A Dpolar-arrange-tab.cpp165 * @param center center of the rotation to perform
166 * @param rotation amount to rotate the object by
168 static void rotateAround(SPItem *item, Geom::Point center, Geom::Rotate const &rotation) argument
171 Geom::Affine affine = Geom::Affine(s).inverse() * Geom::Affine(rotation) * Geom::Affine(s);
/inkscape/src/libnrtype/
H A DLayout-TNG-OutIter.cpp163 double rotation; local
165 Geom::Rect box = characterBoundingBox(it, &rotation);
166 // todo: rotation
204 Geom::OptRect Layout::glyphBoundingBox(iterator const &it, double *rotation) const
206 if (rotation) *rotation = _glyphs[it._glyph_index].rotation;
298 Geom::Rect Layout::characterBoundingBox(iterator const &it, double *rotation) const
325 if (rotation)
326 *rotation
[all...]
H A DLayout-TNG-Output.cpp125 double rotation = _glyphs[glyph_index].rotation; local
129 rotation += M_PI/2.0;
131 double sin_rotation = sin(rotation);
132 double cos_rotation = cos(rotation);
302 glyph_matrix = Geom::Scale(1.0, -1.0) * (Geom::Affine)Geom::Rotate(_glyphs[glyph_index].rotation);
595 j, _glyphs[j].glyph, _glyphs[j].x, _glyphs[j].y, _glyphs[j].rotation, _glyphs[j].width, _glyphs[j].in_character);
635 snprintf(line, sizeof(line), " %u: %d (%f,%f) rot=%f cx=%f char=%d\n", glyph_index, _glyphs[glyph_index].glyph, _glyphs[glyph_index].x, _glyphs[glyph_index].y, _glyphs[glyph_index].rotation, _glyphs[glyph_index].width, _glyphs[glyph_index].in_character);
675 _empty_cursor_shape.rotation = atan2(-tangent[Geom::X], tangent[Geom::Y]);
677 _empty_cursor_shape.rotation
756 double rotation = atan2(-tangent[Geom::X], tangent[Geom::Y]); local
763 double rotation = atan2(tangent[Geom::Y], tangent[Geom::X]); local
[all...]
H A DLayout-TNG.h501 /** Returns the bounding box of the given glyph, and its rotation.
502 The centre of rotation is the horizontal centre of the box at the
504 Geom::OptRect glyphBoundingBox(iterator const &it, double *rotation) const;
547 The centre of rotation is at the horizontal centre of the box on the
549 Geom::Rect characterBoundingBox(iterator const &it, double *rotation = NULL) const;
567 \param rotation The angle to draw from \a position. Radians, zero up,
570 void queryCursorShape(iterator const &it, Geom::Point &position, double &height, double &rotation) const;
793 double rotation; member in struct:Inkscape::Text::Layout::CursorShape
821 float rotation; /// absolute, modulo any object transforms, which we don't know about member in struct:Inkscape::Text::Layout::Glyph
/inkscape/src/widgets/
H A Dtext-toolbar.cpp1405 // Kerning (xshift), yshift, rotation. NB: These are not CSS attributes.
1429 double rotation = attributes->getRotate( char_index ); local
1431 if( rotation > 180.0 ) rotation -= 360.0;
1435 gtk_adjustment_set_value( rotationAdjustment, rotation );
1440 std::cout << " GUI: Rotation: " << rotation << std::endl;
2005 /* Character rotation */
2013 _("Letter rotation"), /* label */
2015 _("Character rotation (degrees)"),/* tooltip */
2016 "/tools/text/rotation", /* preference
[all...]
/inkscape/src/extension/dbus/
H A Ddocument-interface.cpp405 int radius, int rotation, int sides,
408 gdouble rot = ((rotation / 180.0) * 3.14159265) - ( 3.14159265 / 2.0);
404 document_interface_polygon(DocumentInterface *doc_interface, int cx, int cy, int radius, int rotation, int sides, GError **error) argument
/inkscape/src/ui/tools/
H A Dspray-tool.cpp129 static void sp_spray_rotate_rel(Geom::Point c, SPDesktop */*desktop*/, SPItem *item, Geom::Rotate const &rotation) argument
132 Geom::Affine affine = s.inverse() * rotation * s;

Completed in 54 milliseconds