src/share/classes/sun/java2d/pipe/LCDTextRenderer.java

Print this page




  21  * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
  22  * CA 95054 USA or visit www.sun.com if you need additional information or
  23  * have any questions.
  24  */
  25 
  26 package sun.java2d.pipe;
  27 
  28 import java.awt.font.GlyphVector;
  29 import sun.java2d.SunGraphics2D;
  30 import sun.font.GlyphList;
  31 import static sun.awt.SunHints.*;
  32 
  33 /**
  34  * A delegate pipe of SG2D for drawing LCD text with
  35  * a solid source colour to an opaque destination.
  36  */
  37 
  38 public class LCDTextRenderer extends GlyphListLoopPipe {
  39 
  40     protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) {
  41         sg2d.loops.drawGlyphListLCDLoop.
  42             DrawGlyphListLCD(sg2d, sg2d.surfaceData, gl);
  43     }
  44 }


  21  * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
  22  * CA 95054 USA or visit www.sun.com if you need additional information or
  23  * have any questions.
  24  */
  25 
  26 package sun.java2d.pipe;
  27 
  28 import java.awt.font.GlyphVector;
  29 import sun.java2d.SunGraphics2D;
  30 import sun.font.GlyphList;
  31 import static sun.awt.SunHints.*;
  32 
  33 /**
  34  * A delegate pipe of SG2D for drawing LCD text with
  35  * a solid source colour to an opaque destination.
  36  */
  37 
  38 public class LCDTextRenderer extends GlyphListLoopPipe {
  39 
  40     protected void drawGlyphList(SunGraphics2D sg2d, GlyphList gl) {
  41         sg2d.getLoops().drawGlyphListLCDLoop.
  42             DrawGlyphListLCD(sg2d, sg2d.surfaceData, gl);
  43     }
  44 }