gl_label_object_get_size (object, &w, &h);
+ cairo_new_path (cr);
cairo_rectangle (cr, 0.0, 0.0, w, h);
if (cairo_in_fill (cr, x, y))
gl_label_object_get_size (object, &w, &h);
+ cairo_new_path (cr);
cairo_rectangle (cr, 0.0, 0.0, w, h);
if (cairo_in_fill (cr, x, y))
gl_label_object_get_size (object, &w, &h);
+ cairo_new_path (cr);
gl_cairo_ellipse_path (cr, w/2, h/2);
if (cairo_in_fill (cr, x, y))
gl_label_object_get_size (object, &w, &h);
+ cairo_new_path (cr);
cairo_rectangle (cr, 0.0, 0.0, w, h);
if (cairo_in_fill (cr, x, y))
gl_label_object_get_size (object, &w, &h);
+ cairo_new_path (cr);
cairo_move_to (cr, 0, 0);
cairo_line_to (cr, w, h);
if ( (x >= 0) && (x <= w) && (y >= 0) && (y <= h) )
{
+ cairo_new_path (cr);
set_text_path (GL_LABEL_TEXT (object), cr, TRUE, NULL);
if (cairo_in_fill (cr, x, y))
{
if (gl_label_object_is_selected (object))
{
+ cairo_new_path (cr);
cairo_rectangle (cr, 0, 0, w, h);
if (cairo_in_stroke (cr, x, y))
{