Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » setClip(path) error on overview
setClip(path) error on overview [message #230412] Mon, 12 February 2007 02:18 Go to next message
Eclipse User
Originally posted by: one.eight.three.gmail.com

hi,

i am using the setClip(path) to implement the a rounded rectangle which
looks like a capsule. my problem is that on the overview, it doesn't clip
the rounded edges. is this a bug?
any solutions?

thanks!
Re: setClip(path) error on overview [message #230613 is a reply to message #230412] Wed, 14 February 2007 04:32 Go to previous messageGo to next message
Eclipse User
Originally posted by: bacem.souissi.omondo.com

hi,
it's not a bug because i have used the setClip(path) to draw an oval.
bye
Re: setClip(path) error on overview [message #230656 is a reply to message #230412] Wed, 14 February 2007 17:30 Go to previous message
Eclipse User
Originally posted by: none.unknown.com

Do you have a screenshot? Where do you set the clip? I assume in your
paintFigure() method. The overview/thumbnail invokes the same code (that is
it asks the figures to paint) with a different Graphics object that actually
scales and paints on a different canvas. Set a breakpoint where you're
setting the clip and see what happens when the thumbnail requests the paint.

"janice" <one.eight.three@gmail.com> wrote in message
news:28381d66a0d43965fc9b15a199128ee1$1@www.eclipse.org...
> hi,
>
> i am using the setClip(path) to implement the a rounded rectangle which
> looks like a capsule. my problem is that on the overview, it doesn't clip
> the rounded edges. is this a bug?
> any solutions?
>
> thanks!
>
Previous Topic:GEF PrintAction
Next Topic:Resizing children if parent gets resize
Goto Forum:
  


Current Time: Thu Aug 28 07:13:51 EDT 2014

Powered by FUDForum. Page generated in 0.01653 seconds