how to clip?



Hi all,

I am using a goocanvasmm object and want to clip some elements. I found to methods: 

property_clip_path ()
property_clip_fill_rule ()

The following fragment creates a line, which should be clipped into a smaller box.


Glib::RefPtr<Goocanvas::Polyline> m_inner_line = Goocanvas::Polyline::create( false, inner_points);
root->add_child( m_inner_line);

Can give me someone a hint how to use them or where to find a documentation?

Thanks
 Klaus 


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