|
Hi all,
i have a simple problem, i draw several surfaces in a cairo context, with associated cairo_regions, that behave like buttons. Some of them remain below others so they are not visible. Once i move the mouse over the images i check if i am "over" a button using cairo_region. But i get a "true" even for surfaces/regions that are not visible, in the bottom layers. Is there a way to know, using cairo, if a surface is visible or if it is in the lower layers (not visible) ?
many thanks Regards, angelo
|