| java.lang.Object java.awt.Graphics java.awt.Graphics2D org.apache.harmony.awt.gl.CommonGraphics2D org.apache.harmony.awt.gl.opengl.OGLGraphics2D
Method Summary | |
void | activateTexturePaint(TexturePaint p) | final void | checkComposite() | public void | clipRect(int x, int y, int width, int height) | public void | copyArea(int x, int y, int width, int height, int dx, int dy) | boolean | copyArea(int x, int y, int width, int height, int dx, int dy, OGLGraphics2D read, boolean texture) | public Graphics | create() | final static void | deactivateTexturePaint() | public void | dispose() | public void | draw(Shape s) | public void | drawGlyphVector(GlyphVector gv, float x, float y) | public void | drawLine(int x1, int y1, int x2, int y2) | public void | drawPolygon(Polygon polygon) | public void | drawPolygon(int[] xpoints, int[] ypoints, int npoints) | public void | drawPolyline(int[] xpoints, int[] ypoints, int npoints) | public void | drawString(String str, float x, float y) | final static boolean | enableAlphaComposite(AlphaComposite ac, boolean srcPremult, boolean srcHasAlpha) | protected void | fillMultiRectAreaColor(MultiRectArea mra) | protected void | fillMultiRectAreaPaint(MultiRectArea mra) | public void | fillRect(int x, int y, int width, int height) | public void | finalize() | public Shape | getClip() | public Rectangle | getClipBounds() | public GraphicsConfiguration | getDeviceConfiguration() | final OGLSurface | getSurface() | public AffineTransform | getTransform() | final void | makeCurrent() | void | readPixels(int x, int y, int w, int h, Object buffer, boolean topToBottom) | void | resetPaint() | void | resetStroke() Validates stroke. | public void | rotate(double theta) | public void | rotate(double theta, double x, double y) | public void | scale(double sx, double sy) | public void | setColor(Color color) | public void | setComposite(Composite composite) | public void | setPaint(Paint paint) | public void | setStroke(Stroke stroke) | public void | setTransform(AffineTransform transform) | protected void | setTransformedClip(MultiRectArea clip) | public void | shear(double shx, double shy) | public void | transform(AffineTransform at) | public void | translate(double tx, double ty) | public void | translate(int tx, int ty) |
opaqueColor | boolean opaqueColor(Code) | | |
OGLGraphics2D | public OGLGraphics2D(NativeWindow nwin, int tx, int ty, int width, int height)(Code) | | |
checkComposite | final void checkComposite()(Code) | | NOTE - caller should call makeCurrent() before calling this method
|
clipRect | public void clipRect(int x, int y, int width, int height)(Code) | | |
copyArea | public void copyArea(int x, int y, int width, int height, int dx, int dy)(Code) | | |
copyArea | boolean copyArea(int x, int y, int width, int height, int dx, int dy, OGLGraphics2D read, boolean texture)(Code) | | |
deactivateTexturePaint | final static void deactivateTexturePaint()(Code) | | |
dispose | public void dispose()(Code) | | |
drawLine | public void drawLine(int x1, int y1, int x2, int y2)(Code) | | |
drawPolygon | public void drawPolygon(int[] xpoints, int[] ypoints, int npoints)(Code) | | |
drawPolyline | public void drawPolyline(int[] xpoints, int[] ypoints, int npoints)(Code) | | |
drawString | public void drawString(String str, float x, float y)(Code) | | |
enableAlphaComposite | final static boolean enableAlphaComposite(AlphaComposite ac, boolean srcPremult, boolean srcHasAlpha)(Code) | | NOTE - caller should call makeCurrent() before calling this method
Parameters: ac - Parameters: srcPremult - Parameters: srcHasAlpha - true if caller should not premultiply the source, false otherwise |
fillRect | public void fillRect(int x, int y, int width, int height)(Code) | | |
finalize | public void finalize()(Code) | | |
makeCurrent | final void makeCurrent()(Code) | | |
readPixels | void readPixels(int x, int y, int w, int h, Object buffer, boolean topToBottom)(Code) | | |
resetPaint | void resetPaint()(Code) | | |
resetStroke | void resetStroke()(Code) | | Validates stroke.
|
rotate | public void rotate(double theta)(Code) | | |
rotate | public void rotate(double theta, double x, double y)(Code) | | |
scale | public void scale(double sx, double sy)(Code) | | |
shear | public void shear(double shx, double shy)(Code) | | |
translate | public void translate(double tx, double ty)(Code) | | |
translate | public void translate(int tx, int ty)(Code) | | |
Methods inherited from org.apache.harmony.awt.gl.CommonGraphics2D | public void addRenderingHints(Map, ?> hints)(Code)(Java Doc) public void clearRect(int x, int y, int width, int height)(Code)(Java Doc) public void clip(Shape s)(Code)(Java Doc) public void clipRect(int x, int y, int width, int height)(Code)(Java Doc) protected void copyInternalFields(CommonGraphics2D copy)(Code)(Java Doc) public void dispose()(Code)(Java Doc) public void draw(Shape s)(Code)(Java Doc) public void drawArc(int x, int y, int width, int height, int sa, int ea)(Code)(Java Doc) public boolean drawImage(Image image, int x, int y, Color bgcolor, ImageObserver imageObserver)(Code)(Java Doc) public boolean drawImage(Image image, int x, int y, ImageObserver imageObserver)(Code)(Java Doc) public boolean drawImage(Image image, int x, int y, int width, int height, Color bgcolor, ImageObserver imageObserver)(Code)(Java Doc) public boolean drawImage(Image image, int x, int y, int width, int height, ImageObserver imageObserver)(Code)(Java Doc) public boolean drawImage(Image image, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver imageObserver)(Code)(Java Doc) public boolean drawImage(Image image, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver imageObserver)(Code)(Java Doc) public void drawImage(BufferedImage bufImage, BufferedImageOp op, int x, int y)(Code)(Java Doc) public boolean drawImage(Image image, AffineTransform trans, ImageObserver imageObserver)(Code)(Java Doc) public void drawLine(int x1, int y1, int x2, int y2)(Code)(Java Doc) public void drawOval(int x, int y, int width, int height)(Code)(Java Doc) public void drawPolygon(int[] xpoints, int[] ypoints, int npoints)(Code)(Java Doc) public void drawPolygon(Polygon polygon)(Code)(Java Doc) public void drawPolyline(int[] xpoints, int[] ypoints, int npoints)(Code)(Java Doc) public void drawRenderableImage(RenderableImage img, AffineTransform xform)(Code)(Java Doc) public void drawRenderedImage(RenderedImage rimg, AffineTransform xform)(Code)(Java Doc) public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)(Code)(Java Doc) public void drawString(AttributedCharacterIterator iterator, float x, float y)(Code)(Java Doc) public void drawString(AttributedCharacterIterator iterator, int x, int y)(Code)(Java Doc) public void drawString(String str, int x, int y)(Code)(Java Doc) public void fill(Shape s)(Code)(Java Doc) public void fillArc(int x, int y, int width, int height, int sa, int ea)(Code)(Java Doc) protected void fillMultiRectArea(MultiRectArea mra)(Code)(Java Doc) protected void fillMultiRectAreaColor(MultiRectArea mra)(Code)(Java Doc) protected void fillMultiRectAreaPaint(MultiRectArea mra)(Code)(Java Doc) public void fillOval(int x, int y, int width, int height)(Code)(Java Doc) public void fillPolygon(int[] xpoints, int[] ypoints, int npoints)(Code)(Java Doc) public void fillPolygon(Polygon polygon)(Code)(Java Doc) public void fillRect(int x, int y, int width, int height)(Code)(Java Doc) public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)(Code)(Java Doc) public Color getBackground()(Code)(Java Doc) public Shape getClip()(Code)(Java Doc) public Rectangle getClipBounds()(Code)(Java Doc) public Color getColor()(Code)(Java Doc) public Composite getComposite()(Code)(Java Doc) public Font getFont()(Code)(Java Doc) public FontMetrics getFontMetrics(Font font)(Code)(Java Doc) public FontRenderContext getFontRenderContext()(Code)(Java Doc) public Paint getPaint()(Code)(Java Doc) public Object getRenderingHint(RenderingHints.Key key)(Code)(Java Doc) public RenderingHints getRenderingHints()(Code)(Java Doc) public Stroke getStroke()(Code)(Java Doc) public AffineTransform getTransform()(Code)(Java Doc) public boolean hit(Rectangle rect, Shape s, boolean onStroke)(Code)(Java Doc) public void rotate(double theta)(Code)(Java Doc) public void rotate(double theta, double x, double y)(Code)(Java Doc) public void scale(double sx, double sy)(Code)(Java Doc) public void setBackground(Color color)(Code)(Java Doc) public void setClip(int x, int y, int width, int height)(Code)(Java Doc) public void setClip(Shape s)(Code)(Java Doc) public void setColor(Color color)(Code)(Java Doc) public void setComposite(Composite composite)(Code)(Java Doc) public void setFont(Font font)(Code)(Java Doc) public void setPaint(Paint paint)(Code)(Java Doc) public void setPaintMode()(Code)(Java Doc) public void setRenderingHint(RenderingHints.Key key, Object value)(Code)(Java Doc) public void setRenderingHints(Map, ?> hints)(Code)(Java Doc) public void setStroke(Stroke stroke)(Code)(Java Doc) public void setTransform(AffineTransform transform)(Code)(Java Doc) protected void setTransformedClip(MultiRectArea clip)(Code)(Java Doc) public void setXORMode(Color color)(Code)(Java Doc) public void shear(double shx, double shy)(Code)(Java Doc) public void transform(AffineTransform at)(Code)(Java Doc) public void translate(double tx, double ty)(Code)(Java Doc) public void translate(int tx, int ty)(Code)(Java Doc)
|
Methods inherited from java.awt.Graphics2D | abstract public void addRenderingHints(Map, ?> hints)(Code)(Java Doc) abstract public void clip(Shape s)(Code)(Java Doc) abstract public void draw(Shape s)(Code)(Java Doc) public void draw3DRect(int x, int y, int width, int height, boolean raised)(Code)(Java Doc) abstract public void drawGlyphVector(GlyphVector g, float x, float y)(Code)(Java Doc) abstract public boolean drawImage(Image img, AffineTransform xform, ImageObserver obs)(Code)(Java Doc) abstract public void drawImage(BufferedImage img, BufferedImageOp op, int x, int y)(Code)(Java Doc) abstract public void drawRenderableImage(RenderableImage img, AffineTransform xform)(Code)(Java Doc) abstract public void drawRenderedImage(RenderedImage img, AffineTransform xform)(Code)(Java Doc) abstract public void drawString(String str, int x, int y)(Code)(Java Doc) abstract public void drawString(String str, float x, float y)(Code)(Java Doc) abstract public void drawString(AttributedCharacterIterator iterator, int x, int y)(Code)(Java Doc) abstract public void drawString(AttributedCharacterIterator iterator, float x, float y)(Code)(Java Doc) abstract public void fill(Shape s)(Code)(Java Doc) public void fill3DRect(int x, int y, int width, int height, boolean raised)(Code)(Java Doc) abstract public Color getBackground()(Code)(Java Doc) abstract public Composite getComposite()(Code)(Java Doc) abstract public GraphicsConfiguration getDeviceConfiguration()(Code)(Java Doc) abstract public FontRenderContext getFontRenderContext()(Code)(Java Doc) abstract public Paint getPaint()(Code)(Java Doc) abstract public Object getRenderingHint(Key hintKey)(Code)(Java Doc) abstract public RenderingHints getRenderingHints()(Code)(Java Doc) abstract public Stroke getStroke()(Code)(Java Doc) abstract public AffineTransform getTransform()(Code)(Java Doc) abstract public boolean hit(Rectangle rect, Shape s, boolean onStroke)(Code)(Java Doc) abstract public void rotate(double theta)(Code)(Java Doc) abstract public void rotate(double theta, double x, double y)(Code)(Java Doc) abstract public void scale(double sx, double sy)(Code)(Java Doc) abstract public void setBackground(Color color)(Code)(Java Doc) abstract public void setComposite(Composite comp)(Code)(Java Doc) abstract public void setPaint(Paint paint)(Code)(Java Doc) abstract public void setRenderingHint(Key hintKey, Object hintValue)(Code)(Java Doc) abstract public void setRenderingHints(Map, ?> hints)(Code)(Java Doc) abstract public void setStroke(Stroke s)(Code)(Java Doc) abstract public void setTransform(AffineTransform Tx)(Code)(Java Doc) abstract public void shear(double shx, double shy)(Code)(Java Doc) abstract public void transform(AffineTransform Tx)(Code)(Java Doc) abstract public void translate(int x, int y)(Code)(Java Doc) abstract public void translate(double tx, double ty)(Code)(Java Doc)
|
Methods inherited from java.awt.Graphics | abstract public void clearRect(int x, int y, int width, int height)(Code)(Java Doc) abstract public void clipRect(int x, int y, int width, int height)(Code)(Java Doc) abstract public void copyArea(int x, int y, int width, int height, int dx, int dy)(Code)(Java Doc) abstract public Graphics create()(Code)(Java Doc) public Graphics create(int x, int y, int width, int height)(Code)(Java Doc) abstract public void dispose()(Code)(Java Doc) public void draw3DRect(int x, int y, int width, int height, boolean raised)(Code)(Java Doc) abstract public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle)(Code)(Java Doc) public void drawBytes(byte data, int offset, int length, int x, int y)(Code)(Java Doc) public void drawChars(char data, int offset, int length, int x, int y)(Code)(Java Doc) abstract public boolean drawImage(Image img, int x, int y, ImageObserver observer)(Code)(Java Doc) abstract public boolean drawImage(Image img, int x, int y, int width, int height, ImageObserver observer)(Code)(Java Doc) abstract public boolean drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer)(Code)(Java Doc) abstract public boolean drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer)(Code)(Java Doc) abstract public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer)(Code)(Java Doc) abstract public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer)(Code)(Java Doc) abstract public void drawLine(int x1, int y1, int x2, int y2)(Code)(Java Doc) abstract public void drawOval(int x, int y, int width, int height)(Code)(Java Doc) abstract public void drawPolygon(int xPoints, int yPoints, int nPoints)(Code)(Java Doc) public void drawPolygon(Polygon p)(Code)(Java Doc) abstract public void drawPolyline(int xPoints, int yPoints, int nPoints)(Code)(Java Doc) public void drawRect(int x, int y, int width, int height)(Code)(Java Doc) abstract public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)(Code)(Java Doc) abstract public void drawString(String str, int x, int y)(Code)(Java Doc) abstract public void drawString(AttributedCharacterIterator iterator, int x, int y)(Code)(Java Doc) public void fill3DRect(int x, int y, int width, int height, boolean raised)(Code)(Java Doc) abstract public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle)(Code)(Java Doc) abstract public void fillOval(int x, int y, int width, int height)(Code)(Java Doc) abstract public void fillPolygon(int xPoints, int yPoints, int nPoints)(Code)(Java Doc) public void fillPolygon(Polygon p)(Code)(Java Doc) abstract public void fillRect(int x, int y, int width, int height)(Code)(Java Doc) abstract public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)(Code)(Java Doc) public void finalize()(Code)(Java Doc) abstract public Shape getClip()(Code)(Java Doc) abstract public Rectangle getClipBounds()(Code)(Java Doc) public Rectangle getClipBounds(Rectangle r)(Code)(Java Doc) public Rectangle getClipRect()(Code)(Java Doc) abstract public Color getColor()(Code)(Java Doc) abstract public Font getFont()(Code)(Java Doc) public FontMetrics getFontMetrics()(Code)(Java Doc) abstract public FontMetrics getFontMetrics(Font f)(Code)(Java Doc) public boolean hitClip(int x, int y, int width, int height)(Code)(Java Doc) abstract public void setClip(int x, int y, int width, int height)(Code)(Java Doc) abstract public void setClip(Shape clip)(Code)(Java Doc) abstract public void setColor(Color c)(Code)(Java Doc) abstract public void setFont(Font font)(Code)(Java Doc) abstract public void setPaintMode()(Code)(Java Doc) abstract public void setXORMode(Color c1)(Code)(Java Doc) public String toString()(Code)(Java Doc) abstract public void translate(int x, int y)(Code)(Java Doc)
|
|
|