https://bugs.documentfoundation.org/show_bug.cgi?id=121963

--- Comment #49 from Armin Le Grand <armin.le.gr...@me.com> ---
The embedding to TransformPrimitive2D is indeed created by
ViewObjectContact::getPrimitive2DSequence and taking
supportsGridOffsets/getGridOffset into account - what is completely corect and
core element of the change.
What seems wrong OTOH is more that in
ViewObjectContactOfUnoControl_Impl::positionAndZoomControl the GridOffst is
*not* taken into account -> need to add that.
Made a 1st rough try in adding to _rViewTransformation, but this would add it
double in the non-EndRepaint stuff. Thus the logically correct thing to do is
probably to not use

                const tools::Rectangle aRect( pUnoObject->GetLogicRect() );

in ViewObjectContactOfUnoControl_Impl::positionAndZoomControl, but to get the
B2DRange from the SeqOfPrim which will then correctly include the offset...

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to