public abstract class AbstractDrawing
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AbstractDrawing.LayerColor |
Modifier and Type | Field and Description |
---|---|
WindowFrame.DisplayAttributes |
da |
EditWindow |
wnd |
Modifier | Constructor and Description |
---|---|
protected |
AbstractDrawing(EditWindow wnd) |
Modifier and Type | Method and Description |
---|---|
void |
abortRendering() |
static void |
clearSubCellCache(boolean layerAlso)
Method to clear the cache of expanded subcells.
|
static AbstractDrawing |
createDrawing(EditWindow wnd,
AbstractDrawing drawing,
Cell cell) |
static void |
drawShapes(java.awt.Graphics2D g,
GraphicsPreferences gp,
int imgX,
int imgY,
double scale,
VectorCache.VectorBase[] shapes,
PixelDrawing offscreen,
java.awt.Rectangle entryRect)
Method to draw polygon "poly", transformed through "trans".
|
static void |
forceRedraw(Cell cell) |
boolean |
hasOpacity() |
void |
opacityChanged() |
abstract boolean |
paintComponent(java.awt.Graphics2D g,
LayerVisibility lv,
java.awt.Dimension sz) |
abstract void |
render(java.awt.Dimension sz,
WindowFrame.DisplayAttributes da,
GraphicsPreferences gp,
boolean fullInstantiate,
java.awt.geom.Rectangle2D bounds) |
void |
testJogl() |
boolean |
visibilityChanged()
Notifies about visibilit change
Retruns true if full repaint is necessary
|
public final EditWindow wnd
public WindowFrame.DisplayAttributes da
protected AbstractDrawing(EditWindow wnd)
public static AbstractDrawing createDrawing(EditWindow wnd, AbstractDrawing drawing, Cell cell)
public abstract boolean paintComponent(java.awt.Graphics2D g, LayerVisibility lv, java.awt.Dimension sz)
public abstract void render(java.awt.Dimension sz, WindowFrame.DisplayAttributes da, GraphicsPreferences gp, boolean fullInstantiate, java.awt.geom.Rectangle2D bounds)
public void abortRendering()
public void opacityChanged()
public boolean visibilityChanged()
public boolean hasOpacity()
public void testJogl()
public static void clearSubCellCache(boolean layerAlso)
public static void forceRedraw(Cell cell)
public static void drawShapes(java.awt.Graphics2D g, GraphicsPreferences gp, int imgX, int imgY, double scale, VectorCache.VectorBase[] shapes, PixelDrawing offscreen, java.awt.Rectangle entryRect)