开发者

AffineTransform in gtk

开发者 https://www.devze.com 2023-01-29 05:31 出处:网络
I need to undergo some affinetransformation operation using gtk framework. i found cairo but that does not solve my requirements. i need to crate transformation object and undergo some operations as

I need to undergo some affinetransformation operation using gtk framework.

i found cairo but that does not solve my requirements. i need to crate transformation object and undergo some operations as under:

  1. [tranform1 translateXBy:2.5 yBy:3.8];
  2. [transform1 rotateByDegrees:23.0];
  3. [transform1 appendTransform:trans开发者_如何学JAVAform2];

where transform1, transform2 are objects of AffineTransformation.

Regards, iSight


This can be done by using PangoMatrix, the link is as under:

http://www.gtk.org/api/2.6/pango/pango-Glyph-Storage.html#PangoMatrix

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号