Hi,
you can continue the current thread (already in our users mailing list :-)
), or creating a new one, as you prefer.

Antialias should already be enabled in text and all other components, and
playing with component styles you could enable/disable it ... and there
should be some general settings for it because Pivot uses standard drawing
methods of Java2D.
Now I don't remember well, I have to check on sources, I hope during the
week-end.

Anyway, ask us for more/better info :) ...

Bye,
Sandro
 Il giorno 26/gen/2013 00:21, "Schwartz, Cynthia L" <
[email protected]> ha scritto:

> Thanks Sandro!
>
>   Along these lines (or should I post to the users group?) how can I
> antialias all text in components, for example labels,tables, etc?  Or
> antialias for the whole application -- not just text?
>
> Java2d uses RenderingHints, for example:
>
> g2d.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING,
>                       RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
> g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
>                               RenderingHints.VALUE_ANTIALIAS_ON);
>
> I figure that out and I can build my prototype this weekend :-)
>
> Thanks,
> Cynthia
>
>
> -----Original Message-----
> From: Sandro Martini [mailto:[email protected]]
> Sent: Friday, January 25, 2013 3:51 AM
> To: [email protected]
> Subject: Re: How to draw Java2D primitives to a window
>
> Hi Cynthia, welcome to Pivot.
>
> Drawing functions of Pivot has been used a little, so in 2.0 they have
> been removed, so now usually it's used SVG via SVGSalamander.
>
> But of course for your needs it's better to write some classes.
> Here you can find some info:
>
> http://apache-pivot-users.399431.n3.nabble.com/Programmatic-drawing-in-Pivot-2-0-td2253493.html
>
> Anyway, you can find our old (archived) versions here:
> http://archive.apache.org/dist/pivot/
> the latest 1.x is 1.5.2 .
>
> You can even browse/download them from our SVN, for example look here:
>
> http://svn.apache.org/repos/asf/pivot/tags/v1.5.2/wtk/src/org/apache/pivot/wtk/media/drawing/
>
> Just for other ideas (but less specific than your case, but maybe useful
> the same) you can look at sources under charts, and its implementation
> using JFreeChart here:
> http://code.google.com/a/apache-extras.org/p/pivot-jfree/
>
>
> On Drawing-related classes, we can even think if could be useful to
> refresh that code, and put it (with with a different package name) under
> one of our subprojects at Apache-Extras, look here:
>
> http://code.google.com/a/apache-extras.org/hosting/search?q=pivot&btn=Search+projects
> Comments/suggestions on this ?
>
>
> Tell to us if you need more info/help ...
>
> Bye,
> Sandro
>

Reply via email to