how does the renderer->matrix take effect, when pango using xft backend?

View: New views
2 Messages — Rating Filter:   Alert me  

how does the renderer->matrix take effect, when pango using xft backend?

by 王旭光 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

when I use pango in windows, the matrix takes effect by "SetWorldTransform (hdc, &xForm)".
but I can't find how the matrix take effect in xft backend. I using gdb "watch renderer->matrix", I only have seen pango_renderer_set_matrix.
If it is possible, I want to transform the "display" or other one , and render my layouts without transforming.
help me!




网易邮箱用户购物独享现金返还

_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-list@...
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

Re: how does the renderer->matrix take effect, when pango using xft backend?

by Behdad Esfahbod-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 09/23/2009 03:26 AM, 王旭光 wrote:
> when I use pango in windows, the matrix takes effect by
> "SetWorldTransform (hdc, &xForm)".
> but I can't find how the matrix take effect in xft backend. I using gdb
> "watch renderer->matrix", I only have seen pango_renderer_set_matrix.
> If it is possible, I want to transform the "display" or other one , and
> render my layouts without transforming.
> help me!

I'm not sure what the question is.  Are you looking for
pango_context_set_matrix()?

behdad
_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-list@...
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list