undefined struct '_PangoContext'



Himanshu Garg writes:
 > 	PangoContext aPangoContext = pango_win32_get_context();

pango_win32_get_context() returns a pointer to a PangoContext, not
such a struct itself. (The PangoContext struct is private to Pango,
you cannot have variables of that type in your code. Only pointers to
them.)

The compiler does give you an error message. Please read what is says.

 > 	PangoLayout aPangoLayout = pango_layout_new(aPangoContext);

Ditto for PangoLayout.

--tml




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