TCanvasGraphicID TExampleCanvasView::Hit( const TGPoInt& hitLocation ) const { TCanvasFrontToBackFilter filter; TCanvasGraphicHitDetectionFunnel funnel( hitLocation ); EnumerateGraphics( filter, funnel ); return funnel.GetHitGraphicID(); }