Comment #6 on issue 83 by mr0...@mro.name: PSwing are fuzzy when scale!=1,  
due to buffering of the PSwing
http://code.google.com/p/piccolo2d/issues/detail?id=83

Allain,
I paste your code snippt here where I can link to and set ma a reminder  
(and still
getting my inbox clear):

I'll try out the following code snippet within the next week:

   public void paint(Graphics2D g2) {
        if (component.getBounds().isEmpty()) {
            // The component has not been initialized yet.
            return;
        }

        PSwingRepaintManager manager = (PSwingRepaintManager)
RepaintManager.currentManager(component);
        manager.lockRepaint(component);

        RenderingHints oldHints = g2.getRenderingHints();

        g2.setRenderingHint(RenderingHints.KEY_FRACTIONALMETRICS,

RenderingHints.VALUE_FRACTIONALMETRICS_OFF);
        component.paint(g2);

        g2.setRenderingHints(oldHints);

        manager.unlockRepaint(component);
    }

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to