Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Clipping area
Clipping area [message #249084] Sun, 31 May 2009 23:39 Go to next message
Alptug is currently offline AlptugFriend
Messages: 3
Registered: July 2009
Junior Member

I am new to the group. I hope I do not violate any rules. Here is my

I know that for you can set the clipping area
by method setClip(Rectangle r), no painting occurs outside the rectangle r.

What I would like to do is to set a clipping area so that no drawing
inside this area will occur, only the outside of the specified rectangle
(or path) will be drawn.

Re: Clipping area [message #249159 is a reply to message #249084] Thu, 04 June 2009 05:22 Go to previous message
Alex Boyko is currently offline Alex BoykoFriend
Messages: 200
Registered: July 2009
Senior Member
You could try to use setClip(Path) construct the path as a "union" of two
However, I'd rather paint whatever you're trying to paint differently.

Previous Topic:Social Science, GEF & DTP ?
Next Topic:[zest] Set Text For Ellipse
Goto Forum:

Current Time: Thu May 24 08:30:52 GMT 2018

Powered by FUDForum. Page generated in 0.01668 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top