$region->get_clipbox copy rect



The program foo.pl below prints some garbage numbers like

        x=0 y=135599760 w=-1078227492 h=32

where I hoped it'd be all zeros for an empty region, or at least zero
width and height.  In gdk_region_get_clipbox, should the return be
"GdkRectangle_copy" for a rectangle that starts life only on the stack?

Attachment: foo.pl
Description: Text Data

Attachment: GdkRegion.xs.copy.diff
Description: Text Data

Attachment: GdkRegion.t.diff
Description: Text Data



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