public class AxeBox2d.RotatedTextBitmapRenderer extends TextBitmapRenderer
font, fontHeight, glut
defSceneOffset, defScreenOffset
Constructor and Description |
---|
RotatedTextBitmapRenderer() |
Modifier and Type | Method and Description |
---|---|
BoundingBox3d |
drawText(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Camera cam,
String text,
Coord3d position,
Halign halign,
Valign valign,
Color color,
Coord2d screenOffset,
Coord3d sceneOffset)
Draw a string at the specified position and compute the 3d volume
occupied by the string according to the current Camera configuration.
|
void |
loadIdentity(com.jogamp.opengl.GL gl) |
void |
rotateOf(com.jogamp.opengl.GL gl,
double angle,
int axis) |
void |
rotateText(com.jogamp.opengl.GL gl,
Coord3d posReal) |
void |
translateTo(com.jogamp.opengl.GL gl,
Coord3d position,
boolean reverse) |
color, computeTextBounds, computeXWithAlign, computeYWithAlign, drawSimpleText, glRasterPos
drawText, drawText, drawText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
drawText, drawText, drawText
public BoundingBox3d drawText(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam, String text, Coord3d position, Halign halign, Valign valign, Color color, Coord2d screenOffset, Coord3d sceneOffset)
TextBitmapRenderer
drawText
in interface ITextRenderer
drawText
in class TextBitmapRenderer
public void rotateText(com.jogamp.opengl.GL gl, Coord3d posReal)
public void loadIdentity(com.jogamp.opengl.GL gl)
public void rotateOf(com.jogamp.opengl.GL gl, double angle, int axis)
public void translateTo(com.jogamp.opengl.GL gl, Coord3d position, boolean reverse)
Copyright © 2016. All rights reserved.