m.rotate (2, Fog::PointD (10., 10.)); fails :(

68 views
Skip to first unread message

jarek

unread,
Apr 25, 2013, 11:38:08 AM4/25/13
to fog...@googlegroups.com
Hi guys,

    Fog::TransformF m;
    m.rotate (2, Fog::PointF (10.f, 10.f));

fails :( it looks like TransformF_transform (..) desn't contain: case ENCODE_OP(TRANSFORM_OP_ROTATEEF, MATRIX_ORDER_PREPEND) ......

is there workaround or maybe urgly wanted next ver will fix it?

reagards
jarek

Petr Kobalíček

unread,
Apr 28, 2013, 8:25:48 AM4/28/13
to fog...@googlegroups.com
Hi Jarek,

rotation is implemented, but rotation about a point is not. I'm planning to include this feature in my next commit, which will be huge and would take some time to do.

You can still do a workaround by using translate + rotate + translate transform to achieve exactly the same result.

Best regards
Petr Kobalicek



jarek

--
 
---
You received this message because you are subscribed to the Google Groups "fog-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fog-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages