public class DynamicRenderer extends StaticRenderer
currentBaseRaster, currentOffScreen, currentRaster, defaultRenderingHints, isDoubleBuffered, lastCache, lastCR, offScreenHeight, offScreenWidth, renderingHints, rootCR, rootFilter, rootGN, usr2dev, workingBaseRaster, workingOffScreen, workingRaster| Constructor and Description |
|---|
DynamicRenderer()
Constructs a new dynamic renderer with the specified buffer image.
|
DynamicRenderer(RenderingHints rh,
AffineTransform at) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush(Collection areas)
Flush a list of rectangles of cached image data.
|
void |
flush(Rectangle r)
Flush a rectangle of cached image data.
|
void |
repaint(RectListManager devRLM)
Repaints the associated GVT tree under the list of
areas. |
protected CachableRed |
setupCache(CachableRed img) |
protected void |
updateWorkingBuffers()
Internal method used to synchronize local state in response to
various set methods.
|
clearOffScreen, dispose, flush, getOffScreen, getRenderingHints, getTransform, getTree, isDoubleBuffered, renderGNR, repaint, setDoubleBuffered, setRenderingHints, setTransform, setTree, updateOffScreenpublic DynamicRenderer()
public DynamicRenderer(RenderingHints rh, AffineTransform at)
protected CachableRed setupCache(CachableRed img)
setupCache in class StaticRendererpublic void flush(Rectangle r)
StaticRendererflush in interface ImageRendererflush in class StaticRendererpublic void flush(Collection areas)
flush in interface ImageRendererflush in class StaticRendererprotected void updateWorkingBuffers()
StaticRendererupdateWorkingBuffers in class StaticRendererpublic void repaint(RectListManager devRLM)
areas.
If double buffered is true and this method completes cleanly it
will set the result of the repaint as the image returned by
getOffscreen otherwise the old image will still be returned.
If double buffered is false it is possible some effects of
the failed rendering will be visible in the image returned
by getOffscreen.repaint in interface Rendererrepaint in class StaticRendererdevRLM - regions to be repainted, in the current
user space coordinate system.Copyright © 2000–2020 Apache Software Foundation. All rights reserved.