Skip to main content


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 07:18 Go to next message
Eclipse UserFriend
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 09:32 Go to previous messageGo to next message
Eclipse UserFriend
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 22:30 Go to previous message
Eclipse UserFriend
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: Fri Apr 26 10:04:03 GMT 2024

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

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

Back to the top