NASA World Wind

gov.nasa.worldwind.util
Class OGLTextRenderer

java.lang.Object
  extended by com.sun.opengl.util.j2d.TextRenderer
      extended by gov.nasa.worldwind.util.OGLTextRenderer

public class OGLTextRenderer
extends com.sun.opengl.util.j2d.TextRenderer


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.opengl.util.j2d.TextRenderer
com.sun.opengl.util.j2d.TextRenderer.DefaultRenderDelegate, com.sun.opengl.util.j2d.TextRenderer.RenderDelegate
 
Field Summary
protected static boolean DEFAULT_ANTIALIAS
           
protected static Font DEFAULT_FONT
           
protected static boolean DEFAULT_MIPMAP
           
protected static boolean DEFAULT_SMOOTHING
           
protected static boolean DEFAULT_USE_FRACTIONAL_METRICS
           
protected static boolean DEFAULT_USE_VERTEX_ARRAYS
           
 
Constructor Summary
OGLTextRenderer()
           
OGLTextRenderer(Font font)
           
OGLTextRenderer(Font font, boolean mipmap)
           
OGLTextRenderer(Font font, boolean antialiased, boolean useFractionalMetrics)
           
OGLTextRenderer(Font font, boolean antialiased, boolean useFractionalMetrics, com.sun.opengl.util.j2d.TextRenderer.RenderDelegate renderDelegate)
           
OGLTextRenderer(Font font, boolean antialiased, boolean useFractionalMetrics, com.sun.opengl.util.j2d.TextRenderer.RenderDelegate renderDelegate, boolean mipmap)
           
 
Method Summary
static com.sun.opengl.util.j2d.TextRenderer getOrCreateTextRenderer(TextRendererCache cache, Font font)
           
static com.sun.opengl.util.j2d.TextRenderer getOrCreateTextRenderer(TextRendererCache cache, Font font, boolean antialiased, boolean useFractionalMetrics, boolean mipmap)
           
protected  void initialize()
           
 
Methods inherited from class com.sun.opengl.util.j2d.TextRenderer
begin3DRendering, beginRendering, beginRendering, dispose, draw, draw, draw3D, draw3D, end3DRendering, endRendering, flush, getBounds, getBounds, getCharWidth, getFont, getFontRenderContext, getSmoothing, getUseVertexArrays, setColor, setColor, setSmoothing, setUseVertexArrays
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ANTIALIAS

protected static final boolean DEFAULT_ANTIALIAS
See Also:
Constant Field Values

DEFAULT_FONT

protected static final Font DEFAULT_FONT

DEFAULT_MIPMAP

protected static final boolean DEFAULT_MIPMAP
See Also:
Constant Field Values

DEFAULT_SMOOTHING

protected static final boolean DEFAULT_SMOOTHING
See Also:
Constant Field Values

DEFAULT_USE_FRACTIONAL_METRICS

protected static final boolean DEFAULT_USE_FRACTIONAL_METRICS
See Also:
Constant Field Values

DEFAULT_USE_VERTEX_ARRAYS

protected static final boolean DEFAULT_USE_VERTEX_ARRAYS
See Also:
Constant Field Values
Constructor Detail

OGLTextRenderer

public OGLTextRenderer()

OGLTextRenderer

public OGLTextRenderer(Font font)

OGLTextRenderer

public OGLTextRenderer(Font font,
                       boolean mipmap)

OGLTextRenderer

public OGLTextRenderer(Font font,
                       boolean antialiased,
                       boolean useFractionalMetrics)

OGLTextRenderer

public OGLTextRenderer(Font font,
                       boolean antialiased,
                       boolean useFractionalMetrics,
                       com.sun.opengl.util.j2d.TextRenderer.RenderDelegate renderDelegate)

OGLTextRenderer

public OGLTextRenderer(Font font,
                       boolean antialiased,
                       boolean useFractionalMetrics,
                       com.sun.opengl.util.j2d.TextRenderer.RenderDelegate renderDelegate,
                       boolean mipmap)
Method Detail

getOrCreateTextRenderer

public static com.sun.opengl.util.j2d.TextRenderer getOrCreateTextRenderer(TextRendererCache cache,
                                                                           Font font)

getOrCreateTextRenderer

public static com.sun.opengl.util.j2d.TextRenderer getOrCreateTextRenderer(TextRendererCache cache,
                                                                           Font font,
                                                                           boolean antialiased,
                                                                           boolean useFractionalMetrics,
                                                                           boolean mipmap)

initialize

protected void initialize()

NASA World Wind

Hosted by docs.bugaco.com