Hi Chris,

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

Regards,

Miklos

Attachment: signature.asc
Description: Digital signature

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
  • B2DRange Chris Sherlock
    • Re: B2DRange Miklos Vajna

Reply via email to