Problem with figures in draw2d! [message #218430] |
Wed, 27 June 2007 15:52 |
Eclipse User |
|
|
|
Originally posted by: martin.lindblad.gmail.com
Hi!
I'm trying to use gradients on my figures, using draw2d. But I have some
trouble with that. In the paint method of the root figure, I use the
setBackgroundPattern, and to make it visible I call the method
fillRectangle. But that make all my other childfigures disappear because
of the fillRectangle method.
Is there a way to make gradients on figures instead of using the Graphic
object? Or how can I otherwise solve th problem?
Many thanks
Martin
|
|
|
|
Re: Problem with figures in draw2d! [message #218472 is a reply to message #218458] |
Wed, 27 June 2007 16:35 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Mark/Martin,
Probably the GEF newsgroup is even more specific:
news://news.eclipse.org/eclipse.tools.gef
Mark Dexter wrote:
> Martin wrote:
>> Hi!
>>
>> I'm trying to use gradients on my figures, using draw2d. But I have
>> some trouble with that. In the paint method of the root figure, I use
>> the setBackgroundPattern, and to make it visible I call the method
>> fillRectangle. But that make all my other childfigures disappear
>> because of the fillRectangle method.
>> Is there a way to make gradients on figures instead of using the
>> Graphic object? Or how can I otherwise solve th problem?
>>
>> Many thanks
>>
>> Martin
> Hi. You might have better luck on the eclipse.platform.swt newsgroup.
> Hope this helps. Mark Dexter
|
|
|
Re: Problem with figures in draw2d! [message #218486 is a reply to message #218472] |
Wed, 27 June 2007 17:23 |
Eclipse User |
|
|
|
Originally posted by: martin.lindblad.gmail.com
Ok, I will try there instead.
Thanks
/Martin
Ed Merks skrev:
> Mark/Martin,
>
> Probably the GEF newsgroup is even more specific:
> news://news.eclipse.org/eclipse.tools.gef
>
>
> Mark Dexter wrote:
>> Martin wrote:
>>> Hi!
>>>
>>> I'm trying to use gradients on my figures, using draw2d. But I have
>>> some trouble with that. In the paint method of the root figure, I use
>>> the setBackgroundPattern, and to make it visible I call the method
>>> fillRectangle. But that make all my other childfigures disappear
>>> because of the fillRectangle method.
>>> Is there a way to make gradients on figures instead of using the
>>> Graphic object? Or how can I otherwise solve th problem?
>>>
>>> Many thanks
>>>
>>> Martin
>> Hi. You might have better luck on the eclipse.platform.swt newsgroup.
>> Hope this helps. Mark Dexter
|
|
|
Powered by
FUDForum. Page generated in 0.08882 seconds