Logo Search packages:      
Sourcecode: inkscape version File versions

static double sp_canvas_item_invoke_point ( SPCanvasItem item,
Geom::Point  p,
SPCanvasItem **  actual_item 
) [static]

Helper function to invoke the point method of the item.

The argument x, y should be in the parent's item-relative coordinate system. This routine applies the inverse of the item's transform, maintaining the affine invariant.

Definition at line 320 of file sp-canvas.cpp.

Referenced by pick_current_item(), and sp_canvas_group_point().

{
    if (SP_CANVAS_ITEM_GET_CLASS (item)->point)
        return SP_CANVAS_ITEM_GET_CLASS (item)->point (item, p, actual_item);

    return NR_HUGE;
}


Generated by  Doxygen 1.6.0   Back to index