public class

ValidatePipe

extends Object
implements DrawImagePipe PixelDrawPipe PixelFillPipe ShapeDrawPipe TextPipe
java.lang.Object
   ↳ sun.java2d.pipe.ValidatePipe

Class Overview

This class is used to force a revalidation of the pipelines of the indicated SunGraphics2D object before a draw command. After calling SunGraphics2D.validatePipe() to force the pipeline to be revalidated, this object redispatches the draw command to the new valid pipe object.

Summary

Public Constructors
ValidatePipe()
Public Methods
boolean copyImage(SunGraphics2D sg, Image img, int dx, int dy, int sx, int sy, int w, int h, Color bgColor, ImageObserver observer)
boolean copyImage(SunGraphics2D sg, Image img, int x, int y, Color bgColor, ImageObserver observer)
void draw(SunGraphics2D sg, Shape s)
void drawArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle)
void drawChars(SunGraphics2D sg, char[] data, int offset, int length, int x, int y)
void drawGlyphVector(SunGraphics2D sg, GlyphVector g, float x, float y)
void drawLine(SunGraphics2D sg, int x1, int y1, int x2, int y2)
void drawOval(SunGraphics2D sg, int x, int y, int width, int height)
void drawPolygon(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)
void drawPolyline(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)
void drawRect(SunGraphics2D sg, int x, int y, int width, int height)
void drawRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight)
void drawString(SunGraphics2D sg, String s, double x, double y)
void fill(SunGraphics2D sg, Shape s)
void fillArc(SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle)
void fillOval(SunGraphics2D sg, int x, int y, int width, int height)
void fillPolygon(SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)
void fillRect(SunGraphics2D sg, int x, int y, int width, int height)
void fillRoundRect(SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight)
boolean scaleImage(SunGraphics2D sg, Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgColor, ImageObserver observer)
boolean scaleImage(SunGraphics2D sg, Image img, int x, int y, int w, int h, Color bgColor, ImageObserver observer)
boolean transformImage(SunGraphics2D sg, Image img, AffineTransform atfm, ImageObserver observer)
void transformImage(SunGraphics2D sg, BufferedImage img, BufferedImageOp op, int x, int y)
boolean validate(SunGraphics2D sg)
[Expand]
Inherited Methods
From class java.lang.Object
From interface sun.java2d.pipe.DrawImagePipe
From interface sun.java2d.pipe.PixelDrawPipe
From interface sun.java2d.pipe.PixelFillPipe
From interface sun.java2d.pipe.ShapeDrawPipe
From interface sun.java2d.pipe.TextPipe

Public Constructors

public ValidatePipe ()

Public Methods

public boolean copyImage (SunGraphics2D sg, Image img, int dx, int dy, int sx, int sy, int w, int h, Color bgColor, ImageObserver observer)

public boolean copyImage (SunGraphics2D sg, Image img, int x, int y, Color bgColor, ImageObserver observer)

public void draw (SunGraphics2D sg, Shape s)

public void drawArc (SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle)

public void drawChars (SunGraphics2D sg, char[] data, int offset, int length, int x, int y)

public void drawGlyphVector (SunGraphics2D sg, GlyphVector g, float x, float y)

public void drawLine (SunGraphics2D sg, int x1, int y1, int x2, int y2)

public void drawOval (SunGraphics2D sg, int x, int y, int width, int height)

public void drawPolygon (SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)

public void drawPolyline (SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)

public void drawRect (SunGraphics2D sg, int x, int y, int width, int height)

public void drawRoundRect (SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight)

public void drawString (SunGraphics2D sg, String s, double x, double y)

public void fill (SunGraphics2D sg, Shape s)

public void fillArc (SunGraphics2D sg, int x, int y, int width, int height, int startAngle, int arcAngle)

public void fillOval (SunGraphics2D sg, int x, int y, int width, int height)

public void fillPolygon (SunGraphics2D sg, int[] xPoints, int[] yPoints, int nPoints)

public void fillRect (SunGraphics2D sg, int x, int y, int width, int height)

public void fillRoundRect (SunGraphics2D sg, int x, int y, int width, int height, int arcWidth, int arcHeight)

public boolean scaleImage (SunGraphics2D sg, Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgColor, ImageObserver observer)

public boolean scaleImage (SunGraphics2D sg, Image img, int x, int y, int w, int h, Color bgColor, ImageObserver observer)

public boolean transformImage (SunGraphics2D sg, Image img, AffineTransform atfm, ImageObserver observer)

public void transformImage (SunGraphics2D sg, BufferedImage img, BufferedImageOp op, int x, int y)

public boolean validate (SunGraphics2D sg)