|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Graphics
java.awt.Graphics2D
com.jmex.awt.swingui.ImageGraphics
com.jmex.awt.swingui.ImageGraphicsBaseImpl
com.jmex.awt.swingui.JOGLImageGraphics
class JOGLImageGraphics
JOGL implementation of ImageGraphics
.
Field Summary |
---|
Fields inherited from class com.jmex.awt.swingui.ImageGraphicsBaseImpl |
---|
awtImage, data, delegate, dirty, glTexSubImage2DSupported, idBuff, logger, mipMapChild, mipMapLevel, paintedMipMapCount, scaleX, scaleY, tmp_byteBuffer, translation, TRANSPARENT, tx |
Fields inherited from class com.jmex.awt.swingui.ImageGraphics |
---|
image |
Constructor Summary | |
---|---|
protected |
JOGLImageGraphics(int width,
int height,
int paintedMipMapCount)
|
Method Summary | |
---|---|
java.awt.Graphics |
create()
|
void |
update(Texture texture,
boolean clean)
Update a texture that contains the image from ImageGraphics.getImage() . |
Methods inherited from class com.jmex.awt.swingui.ImageGraphicsBaseImpl |
---|
addRenderingHints, clearRect, clip, clipRect, copyArea, dispose, draw, drawArc, drawGlyphVector, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawPolygon, drawPolyline, drawRenderableImage, drawRenderedImage, drawRoundRect, drawString, drawString, drawString, drawString, fill, fillArc, fillOval, fillPolygon, fillRect, fillRoundRect, getAwtImage, getBackground, getClip, getClipBounds, getColor, getComposite, getDeviceConfiguration, getFont, getFontMetrics, getFontRenderContext, getImageBounds, getPaint, getRenderingHint, getRenderingHints, getStroke, getTransform, hit, isDirty, makeDirty, rotate, rotate, scale, setBackground, setClip, setClip, setColor, setComposite, setFont, setPaint, setPaintMode, setRenderingHint, setRenderingHints, setStroke, setTransform, setXORMode, shear, transform, translate, translate, update |
Methods inherited from class com.jmex.awt.swingui.ImageGraphics |
---|
createInstance, getImage, isExpandDirtyRegion, setExpandDirtyRegion, update |
Methods inherited from class java.awt.Graphics2D |
---|
draw3DRect, fill3DRect |
Methods inherited from class java.awt.Graphics |
---|
create, drawBytes, drawChars, drawPolygon, drawRect, fillPolygon, finalize, getClipBounds, getClipRect, getFontMetrics, hitClip, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected JOGLImageGraphics(int width, int height, int paintedMipMapCount)
Method Detail |
---|
public void update(Texture texture, boolean clean)
ImageGraphics
ImageGraphics.getImage()
. Only dirty areas are updated. The texture must
have mipmapping turned off (Texture#MM_NONE
).
update
in class ImageGraphics
texture
- texture to be updatedclean
- true to mark whole area as clean after updating, false to keep dirty area for updating more texturespublic java.awt.Graphics create()
create
in class java.awt.Graphics
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |