Class TextGLRenderer

  • All Implemented Interfaces:
    IGLRenderer

    public class TextGLRenderer
    extends java.lang.Object
    implements IGLRenderer
    • Constructor Detail

      • TextGLRenderer

        public TextGLRenderer()
    • Method Detail

      • prepareAndExecuteDraw

        public void prepareAndExecuteDraw​(DrawableCombiner dc,
                                          Primitive primitive,
                                          java.lang.Object obj,
                                          ViewportJOGL vp)
        Prepares the object for rendering to a Java2D viewport
        Specified by:
        prepareAndExecuteDraw in interface IGLRenderer
        Parameters:
        dc - the DrawableCombiner drawing the object
        primitive - the primitive being drawn
        obj - the object being drawn
        vp - the viewport
      • draw

        public void draw​(DrawableCombiner dc,
                         Primitive primitive,
                         java.lang.Object obj,
                         ViewportJOGL vp)
        Draws the primitive.
        Specified by:
        draw in interface IGLRenderer
        Parameters:
        dc - the DrawableCombiner drawing the object
        primitive - the primitive being drawn
        obj - the object being drawn
        vp - the viewport