Thanks a lot Jesse.
btw, when you have a chance could you take a look at the patch in 
http://jira.codehaus.org/browse/UDIG-1267 and apply it if you consider it 
well enough?

cheers,

Gabriel

On Wednesday 29 August 2007 20:49:55 Jesse Eichar wrote:
> I've applied the patch to both trunk and 1.1.x
>
> Jesse
>
> On Aug 29, 2007, at 9:03 AM, Gabriel Roldán wrote:
> > Indeed I can turn advanced graphics on, but the result is that
> > every draw
> > operation is so slow it becomes imposible to work with tools.
> >
> > Disabling it and applying the patch makes non advanced graphics
> > just work. It
> > has far better performance too. I pressume advanced graphics is not
> > activated
> > by that patch because the behaviour changes between them (for
> > example, the
> > zoom box with adv. graphics enabled is translucent, when disabled
> > it is
> > opaque). At least that's the preceived behaviour, not completely
> > sure about
> > the implementation though, but by looking at it I can't see why
> > that should
> > turn adv. graphics on.
> >
> > Gabriel
> >
> > On Wednesday 29 August 2007 17:46:16 Jesse Eichar wrote:
> >> I think that activates Advanced Graphics though...  Have you tried
> >> Advanced Graphics recently all the newer Linux distros work with the
> >> Advanced Graphics.  If you find that is not the case then I will
> >> apply the patch.  But I'm thinking that maybe you have advanced
> >> graphics working without realizing it...  I have tested Feisty Fawn
> >> and it works great.
> >>
> >>
> >> Jesse
> >>
> >> On Aug 29, 2007, at 4:13 AM, Gabriel Roldán wrote:
> >>> Hi Jesse,
> >>>
> >>> I'm sort of stuck in using NonAdvancedSWTGraphics for the 1.1.x
> >>> branch under
> >>> linux and it does not render paths, which are needed for some tools
> >>> feedback
> >>> actions.
> >>> Just adding a call to gc.drawPath(path);
> >>> NonAdvancedSWTGraphics.drawPath makes
> >>> the trick and it seems to work just well. So I'm wondering if you
> >>> could do it
> >>> and commit it?
> >>>
> >>> regards,
> >>>
> >>> Gabriel
> >>>
> >>> public void drawPath( Path path ) {
> >>>        gc.drawPath(path);
> >>> }


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to