vmiklos at collabora.com
Mon Dec 10 09:00:08 UTC 2018
On Mon, Dec 10, 2018 at 04:49:29AM +1100, Chris Sherlock <chris.sherlock79 at gmail.com> wrote:
> How does one apply a translation matrix to a B2DRange? I can see a
> transform() function, but that’s a matrix multiplication - I want to
> move the 2d range from left or right, and top or bottom.
Did you try creating a basegfx::B2DHomMatrix, calling translate() on it,
then using that as an argument on transform()?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 195 bytes
Desc: Digital signature
More information about the LibreOffice