Re: character width



Quoted by a mob of magic sharks
For `"Maximo Pech" <makz linuxmail org>' 
On Sunday, 03 October 2004 (16:22):

that's just what i need but, how do i create a pango_rectangle? i cannot find
a function to do that in the pango documentation.

This function (pango_layout_get_pixels_extents) will return them,
by reference; something like:

        void func(gint *y)
        {
                *y = 12345;
        }

        void another_func(void)
        {
                gint y;

                func(&y);
                g_print("%d\n", y);
        }

-- 

 Leandro A. F. Pereira        (oO)           <leandro linuxmag com br>
                              /||\                  www.mindcrisis.tk

  This message has been ROT-13 encrypted twice for higher security.




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