Uses of Class
net.ctdp.rfdynhud.render.TextureImage2D

Packages that use TextureImage2D
net.ctdp.rfdynhud.properties   
net.ctdp.rfdynhud.render   
net.ctdp.rfdynhud.widgets.base.needlemeter   
net.ctdp.rfdynhud.widgets.base.revneedlemeter   
net.ctdp.rfdynhud.widgets.base.widget   
net.ctdp.rfdynhud.widgets.internal   
 

Uses of TextureImage2D in net.ctdp.rfdynhud.properties
 

Methods in net.ctdp.rfdynhud.properties that return TextureImage2D
 TextureImage2D ImagePropertyWithTexture.getTexture()
          Gets the scaled texture.
 TextureImage2D ImagePropertyWithTexture.updateSize(int width, int height, boolean isEditorMode)
          Updates the stored TextureImage2D to the given size and returns the texture.
 

Uses of TextureImage2D in net.ctdp.rfdynhud.render
 

Methods in net.ctdp.rfdynhud.render that return TextureImage2D
static TextureImage2D TextureImage2D.createDrawTexture(int width, int height, boolean alpha)
           
static TextureImage2D TextureImage2D.createDrawTexture(int maxWidth, int maxHeight, int usedWidth, int usedHeight, boolean alpha)
           
 TextureImage2D Texture2DCanvas.getImage()
           
 TextureImage2D BackgroundColorBorderRenderer.getImage(java.awt.Color backgroundColor)
           
 TextureImage2D WidgetsDrawingManager.getMainTexture(int widgetIndex)
           
static TextureImage2D TextureImage2D.getOrCreateDrawTexture(int width, int height, boolean alpha, TextureImage2D possibleResult, boolean usePowerOfTwoSizes)
           
 TextureImage2D ImageTemplate.getScaledTextureImage(int width, int height, boolean usePowerOfTwoSize)
          Gets a scaled representation of this image template.
 TextureImage2D ImageTemplate.getScaledTextureImage(int width, int height, TextureImage2D possibleResult, boolean tryToResize)
          Gets a scaled representation of this image template.
 TextureImage2D TransformableTexture.getTexture()
           
 TextureImage2D ImageBorderRenderer.getTexture()
          Returns the border's texture.
 TextureImage2D ImageTemplate.getTextureImage()
          Gets a representation of this image template.
 

Methods in net.ctdp.rfdynhud.render with parameters of type TextureImage2D
 void TextureImage2D.clear(TextureImage2D srcTI, boolean markDirty, Rect2i dirtyRect)
          Draws the given TextureImage2D onto this one and simply overwrites anything.
 void TextureImage2D.clear(TextureImage2D srcTI, int trgX, int trgY, boolean markDirty, Rect2i dirtyRect)
          Draws the given TextureImage2D onto this one and simply overwrites anything.
 void TextureImage2D.clear(TextureImage2D srcTI, int trgX, int trgY, int trgWidth, int trgHeight, boolean markDirty, Rect2i dirtyRect)
          Draws the given TextureImage2D onto this one and simply overwrites anything.
 void TextureImage2D.clear(TextureImage2D srcTI, int srcX, int srcY, int srcWidth, int srcHeight, int trgX, int trgY, boolean markDirty, Rect2i dirtyRect)
          Draws the given TextureImage2D onto this one and simply overwrites anything.
 void TextureImage2D.clear(TextureImage2D srcTI, int srcX, int srcY, int srcWidth, int srcHeight, int trgX, int trgY, int trgWidth, int trgHeight, boolean markDirty, Rect2i dirtyRect)
          Draws the given TextureImage2D onto this one and simply overwrites anything.
 void TextureImage2D.clear(TextureImage2D srcTI, Rect2i srcRect, int trgX, int trgY, boolean markDirty, Rect2i dirtyRect)
          Draws the given TextureImage2D onto this one and simply overwrites anything.
 void DrawnString.draw(int offsetX, int offsetY, java.lang.String str, java.awt.Color fontColor, TextureImage2D texture)
          Draws the specified String as configured in this class instance.
 void DrawnString.draw(int offsetX, int offsetY, java.lang.String str, java.awt.Color fontColor, TextureImage2D texture, boolean clearBefore)
          Draws the specified String as configured in this class instance.
 int DrawnString.draw(int offsetX, int offsetY, java.lang.String str, java.awt.Color fontColor, TextureImage2D texture, java.awt.Color clearColor)
          Draws the specified String as configured in this class instance.
 int DrawnString.draw(int offsetX, int offsetY, java.lang.String str, java.awt.Color fontColor, TextureImage2D texture, TextureImage2D clearBackground, int clearOffsetX, int clearOffsetY)
          Draws the specified String as configured in this class instance.
 void DrawnString.draw(int offsetX, int offsetY, java.lang.String str, TextureImage2D texture)
          Draws the specified String as configured in this class instance.
 void DrawnString.draw(int offsetX, int offsetY, java.lang.String str, TextureImage2D texture, boolean clearBefore)
          Draws the specified String as configured in this class instance.
 void DrawnString.draw(int offsetX, int offsetY, java.lang.String str, TextureImage2D texture, java.awt.Color clearColor)
          Draws the specified String as configured in this class instance.
 void DrawnString.draw(int offsetX, int offsetY, java.lang.String str, TextureImage2D texture, TextureImage2D clearBackground)
          Draws the specified String as configured in this class instance.
 void DrawnString.draw(int offsetX, int offsetY, java.lang.String str, TextureImage2D texture, TextureImage2D clearBackground, int clearOffsetX, int clearOffsetY)
          Draws the specified String as configured in this class instance.
 void ImageBorderRenderer.drawBorder(java.awt.Color backgroundColor, BorderMeasures measures, TextureImage2D texture, int offsetX, int offsetY, int width, int height)
           
 void BorderRenderer.drawBorder(java.awt.Color backgroundColor, BorderMeasures measures, TextureImage2D texture, int offsetX, int offsetY, int width, int height)
           
 void BackgroundColorBorderRenderer.drawBorder(java.awt.Color backgroundColor, BorderMeasures measures, TextureImage2D texture, int offsetX, int offsetY, int width, int height)
           
 void BorderWrapper.drawBorder(java.awt.Color backgroundColor, TextureImage2D texture, int offsetX, int offsetY, int width, int height)
           
static void ImageBorderRenderer.drawBorderFromTexture(TextureImage2D borderTexture, BorderMeasures measures, TextureImage2D texture, int offsetX, int offsetY, int width, int height)
           
 int DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, DrawnString.Alignment[] aligns, int padding, int[] colWidths, java.awt.Color[] fontColors, TextureImage2D texture)
          Draws the specified Strings as configured in this class instance and clears the previously used area with the Widget's background, if necessary.
 int DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, DrawnString.Alignment[] aligns, int padding, int[] colWidths, java.awt.Color[] fontColors, TextureImage2D texture, boolean clearBefore)
          Draws the specified Strings as configured in this class instance and clears the previously used area with the Widget's background, if necessary.
 int DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, DrawnString.Alignment[] aligns, int padding, int[] colWidths, java.awt.Color[] fontColors, TextureImage2D texture, java.awt.Color clearColor)
          Draws the specified Strings as configured in this class instance.
 int DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, DrawnString.Alignment[] aligns, int padding, int[] colWidths, java.awt.Color[] fontColors, TextureImage2D texture, TextureImage2D clearBackground, int clearOffsetX, int clearOffsetY)
          Draws the specified Strings as configured in this class instance.
 int DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, DrawnString.Alignment[] aligns, int padding, int[] colWidths, java.awt.Color fontColor, TextureImage2D texture)
          Draws the specified Strings as configured in this class instance and clears the previously used area with the Widget's background, if necessary.
 int DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, DrawnString.Alignment[] aligns, int padding, int[] colWidths, java.awt.Color fontColor, TextureImage2D texture, boolean clearBefore)
          Draws the specified Strings as configured in this class instance and clears the previously used area with the Widget's background, if necessary.
 int DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, DrawnString.Alignment[] aligns, int padding, int[] colWidths, java.awt.Color fontColor, TextureImage2D texture, java.awt.Color clearColor)
          Draws the specified Strings as configured in this class instance.
 int DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, DrawnString.Alignment[] aligns, int padding, int[] colWidths, java.awt.Color fontColor, TextureImage2D texture, TextureImage2D clearBackground, int clearOffsetX, int clearOffsetY)
          Draws the specified Strings as configured in this class instance.
 void DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, DrawnString.Alignment[] aligns, int padding, int[] colWidths, TextureImage2D texture)
          Draws the specified Strings as configured in this class instance and clears the previously used area with the Widget's background, if necessary.
 void DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, DrawnString.Alignment[] aligns, int padding, int[] colWidths, TextureImage2D texture, boolean clearBefore)
          Draws the specified Strings as configured in this class instance and clears the previously used area with the Widget's background, if necessary.
 void DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, DrawnString.Alignment[] aligns, int padding, int[] colWidths, TextureImage2D texture, java.awt.Color clearColor)
          Draws the specified Strings as configured in this class instance.
 int DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, int[] colWidths, java.awt.Color fontColor, TextureImage2D texture)
          Draws the specified Strings as configured in this class instance and clears the previously used area with the Widget's background, if necessary.
 int DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, int[] colWidths, java.awt.Color fontColor, TextureImage2D texture, boolean clearBefore)
          Draws the specified Strings as configured in this class instance and clears the previously used area with the Widget's background, if necessary.
 int DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, int[] colWidths, java.awt.Color fontColor, TextureImage2D texture, java.awt.Color clearColor)
          Draws the specified Strings as configured in this class instance.
 int DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, int[] colWidths, java.awt.Color fontColor, TextureImage2D texture, TextureImage2D clearBackground, int clearOffsetX, int clearOffsetY)
          Draws the specified Strings as configured in this class instance.
 void DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, int[] colWidths, TextureImage2D texture)
          Draws the specified Strings as configured in this class instance and clears the previously used area with the Widget's background, if necessary.
 void DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, int[] colWidths, TextureImage2D texture, boolean clearBefore)
          Draws the specified Strings as configured in this class instance and clears the previously used area with the Widget's background, if necessary.
 void DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, int[] colWidths, TextureImage2D texture, java.awt.Color clearColor)
          Draws the specified Strings as configured in this class instance.
 void DrawnString.drawColumns(int offsetX, int offsetY, java.lang.String[] strs, int[] colWidths, TextureImage2D texture, TextureImage2D clearBackground, int clearOffsetX, int clearOffsetY)
          Draws the specified Strings as configured in this class instance.
static void TextureDirtyRectsManager.drawDirtyRects(TextureImage2D texture)
          This is just for debugging!
 void TextureImage2D.drawImage(TextureImage2D srcTI, int trgX, int trgY, boolean markDirty, Rect2i dirtyRect)
          Draws the given TextureImage2D onto this one and honors the alpha channels (if any).
 void TextureImage2D.drawImage(TextureImage2D srcTI, int srcX, int srcY, int srcWidth, int srcHeight, int trgX, int trgY, boolean markDirty, Rect2i dirtyRect)
          Draws the given TextureImage2D onto this one and honors the alpha channels (if any).
 void TextureImage2D.drawImage(TextureImage2D srcTI, int srcX, int srcY, int srcWidth, int srcHeight, int trgX, int trgY, int trgWidth, int trgHeight, boolean markDirty, Rect2i dirtyRect)
          Draws the given TextureImage2D onto this one and honors the alpha channels (if any).
 void TextureImage2D.drawImage(TextureImage2D srcTI, Rect2i srcRect, int trgX, int trgY, boolean markDirty, Rect2i dirtyRect)
          Draws the given TextureImage2D onto this one and honors the alpha channels (if any).
 void ImageTemplate.drawScaled(int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, TextureImage2D texture, boolean clearBefore)
          Draws a scaled representation of this image template to the given texture image.
 void ImageTemplate.drawScaled(int x, int y, int width, int height, TextureImage2D texture, boolean clearBefore)
          Draws a scaled representation of this image template to the given texture image.
static short TextureDirtyRectsManager.getDirtyRects(TextureImage2D texture, java.nio.ByteBuffer buffer, boolean resetBufferToStart)
          Gets all the current dirty-rects from the given texture.
static TextureImage2D TextureImage2D.getOrCreateDrawTexture(int width, int height, boolean alpha, TextureImage2D possibleResult, boolean usePowerOfTwoSizes)
           
 TextureImage2D ImageTemplate.getScaledTextureImage(int width, int height, TextureImage2D possibleResult, boolean tryToResize)
          Gets a scaled representation of this image template.
 

Constructors in net.ctdp.rfdynhud.render with parameters of type TextureImage2D
ImageBorderRenderer(java.lang.String imageFilename, TextureImage2D image)
           
Texture2DCanvas(TextureImage2D ti)
           
Texture2DCanvas(TextureImage2D ti, java.awt.Graphics2D graphics)
           
 

Uses of TextureImage2D in net.ctdp.rfdynhud.widgets.base.needlemeter
 

Methods in net.ctdp.rfdynhud.widgets.base.needlemeter with parameters of type TextureImage2D
protected  void NeedleMeterWidget.drawBackground(LiveGameData gameData, boolean isEditorMode, TextureImage2D texture, int offsetX, int offsetY, int width, int height, boolean isRoot)
           
protected  void NeedleMeterWidget.drawWidget(Clock clock, boolean needsCompleteRedraw, LiveGameData gameData, boolean isEditorMode, TextureImage2D texture, int offsetX, int offsetY, int width, int height)
           
protected  void NeedleMeterWidget.initialize(LiveGameData gameData, boolean isEditorMode, DrawnStringFactory dsf, TextureImage2D texture, int width, int height)
          This method is called once to initialized DrawnStrings used on this Widget.
 

Uses of TextureImage2D in net.ctdp.rfdynhud.widgets.base.revneedlemeter
 

Methods in net.ctdp.rfdynhud.widgets.base.revneedlemeter with parameters of type TextureImage2D
protected  boolean AbstractRevNeedleMeterWidget.checkForChanges(LiveGameData gameData, boolean isEditorMode, TextureImage2D texture, int width, int height)
          Checks, if the Widget needs any changes before it is drawn.
protected  void AbstractRevNeedleMeterWidget.drawWidget(Clock clock, boolean needsCompleteRedraw, LiveGameData gameData, boolean isEditorMode, TextureImage2D texture, int offsetX, int offsetY, int width, int height)
           
protected  void AbstractRevNeedleMeterWidget.initialize(LiveGameData gameData, boolean isEditorMode, DrawnStringFactory dsf, TextureImage2D texture, int width, int height)
          This method is called once to initialized DrawnStrings used on this Widget.
 

Uses of TextureImage2D in net.ctdp.rfdynhud.widgets.base.widget
 

Methods in net.ctdp.rfdynhud.widgets.base.widget that return TextureImage2D
 TextureImage2D WidgetBackground.getMergedTexture()
          Gets the merged background, composed of the backgrounds of this (possibly assembled) Widget and the parts of this Widget.
 TextureImage2D WidgetBackground.getTexture()
          Gets the TextureImage2D from this BackgroundProperty.
 

Methods in net.ctdp.rfdynhud.widgets.base.widget with parameters of type TextureImage2D
protected  boolean Widget.checkForChanges(LiveGameData gameData, boolean isEditorMode, TextureImage2D texture, int width, int height)
          Checks, if the Widget needs any changes before it is drawn.
protected  boolean AbstractAssembledWidget.checkForChanges(LiveGameData gameData, boolean isEditorMode, TextureImage2D texture, int width, int height)
          Checks, if the Widget needs any changes before it is drawn.
 boolean Widget.clearBackgroundRegion(TextureImage2D texture, int offsetX, int offsetY, int localX, int localY, int width, int height, boolean markDirty, Rect2i dirtyRect)
          Clears the given part of the Widget area with the current background.
 void Widget.clearRegion(TextureImage2D texture, int offsetX, int offsetY)
          Clears the region on the texture, that is covered by this Widget.
protected  void Widget.clearRegion(TextureImage2D texture, int offsetX, int offsetY, int width, int height)
           
static void __WPrivilegedAccess.clearRegion(Widget widget, TextureImage2D texture, int offsetX, int offsetY, int width, int height)
           
protected  void Widget.drawBackground(LiveGameData gameData, boolean isEditorMode, TextureImage2D texture, int offsetX, int offsetY, int width, int height, boolean isRoot)
          You can use this method to directly draw static content onto your Widget's background.
protected  void Widget.drawBorder(boolean isEditorMode, BorderWrapper border, TextureImage2D texture, int offsetX, int offsetY, int width, int height)
           
 void Widget.drawWidget(Clock clock, boolean completeRedrawForced, LiveGameData gameData, boolean isEditorMode, TextureImage2D texture, boolean drawAtZero)
          This method invokes the parts of the actual drawing code for this Widget.
protected abstract  void Widget.drawWidget(Clock clock, boolean needsCompleteRedraw, LiveGameData gameData, boolean isEditorMode, TextureImage2D texture, int offsetX, int offsetY, int width, int height)
          This method must contain the actual drawing code for this Widget.
protected  void AbstractAssembledWidget.drawWidget(Clock clock, boolean needsCompleteRedraw, LiveGameData gameData, boolean isEditorMode, TextureImage2D texture, int offsetX, int offsetY, int width, int height)
          This method must contain the actual drawing code for this Widget.
protected abstract  void Widget.initialize(LiveGameData gameData, boolean isEditorMode, DrawnStringFactory drawnStringFactory, TextureImage2D texture, int width, int height)
          This method is called once to initialized DrawnStrings used on this Widget.
protected  void AbstractAssembledWidget.initialize(LiveGameData gameData, boolean isEditorMode, DrawnStringFactory drawnStringFactory, TextureImage2D texture, int width, int height)
          This method is called once to initialized DrawnStrings used on this Widget.
 

Uses of TextureImage2D in net.ctdp.rfdynhud.widgets.internal
 

Methods in net.ctdp.rfdynhud.widgets.internal with parameters of type TextureImage2D
protected  void InternalWidget.drawWidget(Clock clock, boolean needsCompleteRedraw, LiveGameData gameData, boolean isEditorMode, TextureImage2D texture, int offsetX, int offsetY, int width, int height)
           
protected  void InternalWidget.initialize(LiveGameData gameData, boolean isEditorMode, DrawnStringFactory drawnStringFactory, TextureImage2D texture, int width, int height)