| org.apache.harmony.awt.gl.CommonGraphics2D org.apache.harmony.awt.gl.windows.WinGDIGraphics2D
WinGDIGraphics2D | public class WinGDIGraphics2D extends CommonGraphics2D (Code) | | Graphics2D implementation for Windows GDI library
|
Constructor Summary | |
public | WinGDIGraphics2D(NativeWindow nw, int tx, int ty, MultiRectArea clip) | public | WinGDIGraphics2D(NativeWindow nw, int tx, int ty, int width, int height) | public | WinGDIGraphics2D(WinVolatileImage img, int width, int height) | public | WinGDIGraphics2D(WinVolatileImage img, long ogi, int width, int height) |
Method Summary | |
public void | addRenderingHints(Map, ?> hints) | public void | copyArea(int x, int y, int width, int height, int dx, int dy) | public Graphics | create() | native static long | createCompatibleImageInfo(long hwnd, int width, int height) | native static long | createCompatibleImageInfo(byte[] bytes, int width, int height) | public void | dispose() | native static void | disposeGraphicsInfo(long gi) | 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 | drawOval(int x, int y, int width, int height) | public void | drawRect(int x, int y, int width, int height) | public void | drawString(String str, float x, float y) | public void | fill(Shape s) | protected void | fillMultiRectAreaPaint(MultiRectArea mra) | public void | fillRect(int x, int y, int width, int height) | public long | getDC() | public GraphicsConfiguration | getDeviceConfiguration() | public long | getGraphicsInfo() | 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 | setPaint(Paint paint) | public void | setRenderingHint(RenderingHints.Key key, Object value) | public void | setRenderingHints(Map, ?> hints) | 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) |
WinGDIGraphics2D | public WinGDIGraphics2D(NativeWindow nw, int tx, int ty, int width, int height)(Code) | | |
addRenderingHints | public void addRenderingHints(Map, ?> hints)(Code) | | |
copyArea | public void copyArea(int x, int y, int width, int height, int dx, int dy)(Code) | | |
createCompatibleImageInfo | native static long createCompatibleImageInfo(long hwnd, int width, int height)(Code) | | |
createCompatibleImageInfo | native static long createCompatibleImageInfo(byte[] bytes, int width, int height)(Code) | | |
dispose | public void dispose()(Code) | | |
disposeGraphicsInfo | native static void disposeGraphicsInfo(long gi)(Code) | | |
drawLine | public void drawLine(int x1, int y1, int x2, int y2)(Code) | | |
drawOval | public void drawOval(int x, int y, int width, int height)(Code) | | |
drawRect | public void drawRect(int x, int y, int width, int height)(Code) | | |
drawString | public void drawString(String str, float x, float y)(Code) | | |
fillRect | public void fillRect(int x, int y, int width, int height)(Code) | | |
getDC | public long getDC()(Code) | | Returns handle to underlying device context
|
getGraphicsInfo | public long getGraphicsInfo()(Code) | | Returns pointer to underlying native GraphicsInfo structure
Pointer to GraphicsInfo structure |
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) | | |
setColor | public void setColor(Color color)(Code) | | Overriden methods
|
setRenderingHints | public void setRenderingHints(Map, ?> hints)(Code) | | |
setTransformedClip | protected void setTransformedClip(MultiRectArea clip)(Code) | | Sets native clip to specified area
Parameters: clip - Transformed clip to set |
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)
|
|
|