GdkRectangle vs cairo_rectangle_int_t



Hi,

Just wondering, why gtk_popover_set_pointing_to() takes an argument of type cairo_rectangle_int_t and not of 
type GdkRectangle? Which one is better suited for each situation? I know one if a typedef of the other, but 
I’m curious and I can’t think of it myself. I guess cairo_rectangle_int_t makes more sense when the rectangle 
is something actually drawn, and GdkRectangle is more general.

Thank you very much.

Regards,
Juan.


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