pike.git / src / post_modules / GTK2 / source / pangolayoutiter.pre

version» Context lines:

pike.git/src/post_modules/GTK2/source/pangolayoutiter.pre:1:   /* -*- C -*- */   require pango;      class Pango.LayoutIter;      //! PangoLayoutIter.    - void destroy() + void _destruct()   {    if (THIS->obj && THIS->owned)    pango_layout_iter_free((PangoLayoutIter *)THIS->obj);    THIS->obj=0;    pgtk2_pop_n_elems(args);    push_int(0);   }      %{   #define PANGO_LAYOUT_ITER(X) ((PangoLayoutIter *)(X))
pike.git/src/post_modules/GTK2/source/pangolayoutiter.pre:53:    pgtk2_pop_n_elems(args);    {    PangoLayoutLine *pll;    pll=pango_layout_iter_get_line(PANGO_LAYOUT_ITER(THIS->obj));    push_gobjectclass(pll,ppango2_layout_line_program);    }   }      %{   void push_pango_rectangle(PangoRectangle *pos) { -  push_text("x"); push_int(pos->x); -  push_text("y"); push_int(pos->y); -  push_text("width"); push_int(pos->width); -  push_text("height"); push_int(pos->height); +  push_static_text("x"); push_int(pos->x); +  push_static_text("y"); push_int(pos->y); +  push_static_text("width"); push_int(pos->width); +  push_static_text("height"); push_int(pos->height);    f_aggregate_mapping(8);   }   %}      mapping(string:int) get_char_extents()   //! Gets the extents of the current character, in layout coordinates (origin   //! is the top left of the entire layout).   {    pgtk2_verify_inited();    pgtk2_pop_n_elems(args);