Re: B2DRange

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chris,

On Mon, Dec 10, 2018 at 04:49:29AM +1100, Chris Sherlock <chris.sherlock79@xxxxxxxxx> 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()?

Regards,

Miklos

Attachment: signature.asc
Description: Digital signature

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux