diff options
| author | Thomas Holder <thomas@thomas-holder.de> | 2019-08-18 15:29:16 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2019-08-18 15:29:16 +0000 |
| commit | 3ffefe1e05e3858ce6584dc644817c411232dc77 (patch) | |
| tree | e992648f9c1598efe6c810009213dbf9b7b31ff4 /src/object/sp-offset.cpp | |
| parent | Formatting last commit (diff) | |
| download | inkscape-3ffefe1e05e3858ce6584dc644817c411232dc77.tar.gz inkscape-3ffefe1e05e3858ce6584dc644817c411232dc77.zip | |
reduce usage of desktop coordinates (#341)
- avoid unnecessary internal usage of desktop coordinates, e.g.
in SpellCheck::compareTextBboxes
- document whether a function argument is in document or desktop
coordinates, e.g. for SPDocument::getItemsInBox
Diffstat (limited to 'src/object/sp-offset.cpp')
| -rw-r--r-- | src/object/sp-offset.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-offset.cpp b/src/object/sp-offset.cpp index 667fdf9c3..b837d7855 100644 --- a/src/object/sp-offset.cpp +++ b/src/object/sp-offset.cpp @@ -412,7 +412,7 @@ void SPOffset::set_shape() { theRes->ConvertToForme (orig, 1, originaux); - Geom::OptRect bbox = this->desktopVisualBounds(); + Geom::OptRect bbox = this->documentVisualBounds(); if ( bbox ) { gdouble size = L2(bbox->dimensions()); |
