src/java.desktop/share/classes/sun/java2d/loops/DrawGlyphListLCD.java

Print this page




  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package sun.java2d.loops;
  27 
  28 import sun.java2d.loops.GraphicsPrimitive;
  29 import sun.java2d.pipe.Region;
  30 import sun.java2d.SunGraphics2D;
  31 import sun.java2d.SurfaceData;
  32 import sun.font.GlyphList;
  33 
  34 /**
  35  *   DrawGlyphListLCD- loops for LCDTextRenderer pipe
  36  *   1) draw LCD anti-aliased text onto destination surface
  37  *   2) must accept output area [x, y, dx, dy]
  38  *      from within the surface description data for clip rect
  39  */
  40 public class DrawGlyphListLCD extends GraphicsPrimitive {
  41 
  42     public final static String
  43         methodSignature = "DrawGlyphListLCD(...)".toString();
  44 
  45     public final static int primTypeID = makePrimTypeID();
  46 
  47     public static DrawGlyphListLCD locate(SurfaceType srctype,
  48                                            CompositeType comptype,
  49                                            SurfaceType dsttype)
  50     {
  51         return (DrawGlyphListLCD)
  52             GraphicsPrimitiveMgr.locate(primTypeID,
  53                                         srctype, comptype, dsttype);
  54     }
  55 
  56     protected DrawGlyphListLCD(SurfaceType srctype,
  57                                 CompositeType comptype,
  58                                 SurfaceType dsttype)
  59     {
  60         super(methodSignature, primTypeID, srctype, comptype, dsttype);
  61     }
  62 
  63     public DrawGlyphListLCD(long pNativePrim,
  64                              SurfaceType srctype,
  65                              CompositeType comptype,




  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package sun.java2d.loops;
  27 
  28 import sun.java2d.loops.GraphicsPrimitive;
  29 import sun.java2d.pipe.Region;
  30 import sun.java2d.SunGraphics2D;
  31 import sun.java2d.SurfaceData;
  32 import sun.font.GlyphList;
  33 
  34 /**
  35  *   DrawGlyphListLCD- loops for LCDTextRenderer pipe
  36  *   1) draw LCD anti-aliased text onto destination surface
  37  *   2) must accept output area [x, y, dx, dy]
  38  *      from within the surface description data for clip rect
  39  */
  40 public class DrawGlyphListLCD extends GraphicsPrimitive {
  41 
  42     public static final String
  43         methodSignature = "DrawGlyphListLCD(...)".toString();
  44 
  45     public static final int primTypeID = makePrimTypeID();
  46 
  47     public static DrawGlyphListLCD locate(SurfaceType srctype,
  48                                            CompositeType comptype,
  49                                            SurfaceType dsttype)
  50     {
  51         return (DrawGlyphListLCD)
  52             GraphicsPrimitiveMgr.locate(primTypeID,
  53                                         srctype, comptype, dsttype);
  54     }
  55 
  56     protected DrawGlyphListLCD(SurfaceType srctype,
  57                                 CompositeType comptype,
  58                                 SurfaceType dsttype)
  59     {
  60         super(methodSignature, primTypeID, srctype, comptype, dsttype);
  61     }
  62 
  63     public DrawGlyphListLCD(long pNativePrim,
  64                              SurfaceType srctype,
  65                              CompositeType comptype,