setClip(path) error on overview [message #230412] |
Mon, 12 February 2007 07:18 |
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 #230656 is a reply to message #230412] |
Wed, 14 February 2007 22:30 |
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!
>
|
|
|
Powered by
FUDForum. Page generated in 0.03645 seconds