Class FixedScaledGraphics
java.lang.Object
org.eclipse.draw2d.Graphics
org.eclipse.draw2d.ScaledGraphics
org.eclipse.graphiti.ui.internal.fixed.FixedScaledGraphics
public class FixedScaledGraphics
extends org.eclipse.draw2d.ScaledGraphics
This class is a subclass of ScaledGraphics, which only purpose is to fix bugs
in ScaledGraphics or implement previously not implemented methods. This class
does not add any Graphiti specific coding.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.draw2d.ScaledGraphics
org.eclipse.draw2d.ScaledGraphics.State -
Field Summary
Fields inherited from class org.eclipse.draw2d.Graphics
LINE_CUSTOM, LINE_DASH, LINE_DASHDOT, LINE_DASHDOTDOT, LINE_DOT, LINE_SOLID -
Constructor Summary
ConstructorsConstructorDescriptionFixedScaledGraphics(org.eclipse.draw2d.Graphics graphics) Instantiates a new fixed scaled graphics. -
Method Summary
Modifier and TypeMethodDescriptionvoidclipPath(org.eclipse.swt.graphics.Path path) voiddispose()voiddrawPath(org.eclipse.swt.graphics.Path path) voidfillGradient(int x, int y, int w, int h, boolean vertical) voidfillPath(org.eclipse.swt.graphics.Path path) booleanvoidrotate(float degrees) voidsetClip(org.eclipse.swt.graphics.Path path) voidtranslate(float dx, float dy) Methods inherited from class org.eclipse.draw2d.ScaledGraphics
clipRect, drawArc, drawFocus, drawImage, drawImage, drawLine, drawOval, drawPoint, drawPolygon, drawPolygon, drawPolyline, drawPolyline, drawRectangle, drawRoundRectangle, drawString, drawText, drawText, drawTextLayout, fillArc, fillOval, fillPolygon, fillPolygon, fillRectangle, fillRoundRectangle, fillString, fillText, getAbsoluteScale, getAdvanced, getAlpha, getAntialias, getBackgroundColor, getClip, getFillRule, getFont, getFontMetrics, getForegroundColor, getInterpolation, getLineAttributes, getLineCap, getLineJoin, getLineMiterLimit, getLineStyle, getLineWidth, getLineWidthFloat, getTextAntialias, getXORMode, popState, pushState, restoreState, scale, setAdvanced, setAlpha, setAntialias, setBackgroundColor, setBackgroundPattern, setClip, setFillRule, setFont, setForegroundColor, setForegroundPattern, setInterpolation, setLineAttributes, setLineCap, setLineDash, setLineDash, setLineDashOffset, setLineJoin, setLineMiterLimit, setLineStyle, setLineWidth, setLineWidthFloat, setTextAntialias, setXORMode, translateMethods inherited from class org.eclipse.draw2d.Graphics
drawArc, drawFocus, drawImage, drawImage, drawLine, drawOval, drawRectangle, drawString, drawText, drawText, drawTextLayout, fillArc, fillGradient, fillOval, fillRectangle, fillString, fillText, scale, shear, translate
-
Constructor Details
-
FixedScaledGraphics
public FixedScaledGraphics(org.eclipse.draw2d.Graphics graphics) Instantiates a new fixed scaled graphics.- Parameters:
graphics- the graphics
-
-
Method Details
-
isDisposed
public boolean isDisposed() -
fillGradient
public void fillGradient(int x, int y, int w, int h, boolean vertical) - Overrides:
fillGradientin classorg.eclipse.draw2d.ScaledGraphics
-
dispose
public void dispose()- Overrides:
disposein classorg.eclipse.draw2d.ScaledGraphics
-
rotate
public void rotate(float degrees) - Overrides:
rotatein classorg.eclipse.draw2d.ScaledGraphics
-
translate
public void translate(float dx, float dy) - Overrides:
translatein classorg.eclipse.draw2d.ScaledGraphics
-
drawPath
public void drawPath(org.eclipse.swt.graphics.Path path) - Overrides:
drawPathin classorg.eclipse.draw2d.ScaledGraphics
-
fillPath
public void fillPath(org.eclipse.swt.graphics.Path path) - Overrides:
fillPathin classorg.eclipse.draw2d.ScaledGraphics
-
clipPath
public void clipPath(org.eclipse.swt.graphics.Path path) - Overrides:
clipPathin classorg.eclipse.draw2d.ScaledGraphics
-
setClip
public void setClip(org.eclipse.swt.graphics.Path path) - Overrides:
setClipin classorg.eclipse.draw2d.ScaledGraphics
-