| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv double | |
| pack-priv double | |
| pack-priv double | |
| pack-priv ParallelogramPipe |
| Access | Constructor and Description |
|---|---|
| public | PixelToParallelogramConverter(ShapeDrawPipe
pipeline to forward shape calls to shapepipe, ParallelogramPipe pipeline to forward parallelogram calls to
(and drawLine calls if possible) pgrampipe, double minimum pen size for dropout control minPenSize, double sub-pixel location to normalize endpoints
for STROKE_NORMALIZE cases normPosition, boolean boolean to control whethere normalization
constants are also applied to fill operations
(normally true for non-AA, false for AA) adjustfill)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | |
| public void | drawLine(SunGraphics2D sg2d, int x1, int y1, int x2, int y2)
Overrides sun. Implements sun.
|
| public void | drawRect(SunGraphics2D sg2d, int x, int y, int w, int h)
Overrides sun. Implements sun.
|
| public void | |
| public void | |
| public void | fillOuterParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double px, double py, double dx1, double dy1, double dx2, double dy2, double len1, double len2, double lw1, double lw2)
This utility function handles the case where a drawRectangle operation discovered that the interior hole in the rectangle or parallelogram has been completely filled in by the stroke width. |
| public void | fillRect(SunGraphics2D sg2d, int x, int y, int w, int h)
Overrides sun. Implements sun.
|
| public void | |
| pack-priv static double | |
| pack-priv double |
| adjustfill | back to summary |
|---|---|
| pack-priv boolean adjustfill | |
| minPenSize | back to summary |
|---|---|
| pack-priv double minPenSize | |
| normPosition | back to summary |
|---|---|
| pack-priv double normPosition | |
| normRoundingBias | back to summary |
|---|---|
| pack-priv double normRoundingBias | |
| outrenderer | back to summary |
|---|---|
| pack-priv ParallelogramPipe outrenderer | |
| PixelToParallelogramConverter | back to summary |
|---|---|
public PixelToParallelogramConverter(ShapeDrawPipe shapepipe, ParallelogramPipe pgrampipe, double minPenSize, double normPosition, boolean adjustfill)
| |
| draw | back to summary |
|---|---|
| public void draw(SunGraphics2D sg2d, Shape s) Implements sun. | |
| drawGeneralLine | back to summary |
|---|---|
| public boolean drawGeneralLine(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2) | |
| drawLine | back to summary |
|---|---|
| public void drawLine(SunGraphics2D sg2d, int x1, int y1, int x2, int y2) Overrides sun. Implements sun. | |
| drawRect | back to summary |
|---|---|
| public void drawRect(SunGraphics2D sg2d, int x, int y, int w, int h) Overrides sun. Implements sun. | |
| drawRectangle | back to summary |
|---|---|
| public void drawRectangle(SunGraphics2D sg2d, double rx, double ry, double rw, double rh, double lw) | |
| fill | back to summary |
|---|---|
| public void fill(SunGraphics2D sg2d, Shape s) Implements sun. | |
| fillOuterParallelogram | back to summary |
|---|---|
| public void fillOuterParallelogram(SunGraphics2D sg2d, double ux1, double uy1, double ux2, double uy2, double px, double py, double dx1, double dy1, double dx2, double dy2, double len1, double len2, double lw1, double lw2) This utility function handles the case where a drawRectangle operation discovered that the interior hole in the rectangle or parallelogram has been completely filled in by the stroke width. It calculates the outer parallelogram of the stroke and issues a single fillParallelogram request to fill it. | |
| fillRect | back to summary |
|---|---|
| public void fillRect(SunGraphics2D sg2d, int x, int y, int w, int h) Overrides sun. Implements sun. | |
| fillRectangle | back to summary |
|---|---|
| public void fillRectangle(SunGraphics2D sg2d, double rx, double ry, double rw, double rh) | |
| len | back to summary |
|---|---|
| pack-priv static double len(double x, double y) | |
| normalize | back to summary |
|---|---|
| pack-priv double normalize(double v) | |