Searched defs:viewBox (Results 1 - 3 of 3) sorted by relevance
/inkscape/src/ |
H A D | viewbox.h | 5 * viewBox helper class, common code used by root, symbol, marker, pattern, image, view 28 /* viewBox; */ 30 Geom::Rect viewBox; // Could use optrect member in class:SPViewBox
|
H A D | document.cpp | 601 /// Sets document scale (by changing viewBox) 604 root->viewBox = Geom::Rect::from_xywh( 605 root->viewBox.left(), 606 root->viewBox.top(), 613 /// Sets document scale (by changing viewBox, x and y scaling equal) 618 /// Returns document scale as defined by width/height (in pixels) and viewBox (real world to 626 if( root->viewBox.width() > 0.0 ) { 627 scale_x = root->width.computed / root->viewBox.width(); 629 if( root->viewBox.height() > 0.0 ) { 630 scale_y = root->height.computed / root->viewBox 756 Geom::Rect viewBox; local 765 setViewBox(const Geom::Rect &viewBox) argument [all...] |
/inkscape/src/ui/widget/ |
H A D | page-sizer.cpp | 479 _scaleWarning.set_label(_("While SVG allows non-uniform scaling it is recommended to use only uniform scaling in Inkscape. To set a non-uniform scaling, set the 'viewBox' directly.")); 865 Geom::Rect viewBox = doc->getViewBox(); local 866 _viewboxX.setValue( viewBox.min()[Geom::X] ); 867 _viewboxY.setValue( viewBox.min()[Geom::Y] ); 868 _viewboxW.setValue( viewBox.width() ); 869 _viewboxH.setValue( viewBox.height() ); 958 DocumentUndo::done(doc, SP_VERB_NONE, _("Set 'viewBox'"));
|
Completed in 49 milliseconds