< prev index next >
src/java.desktop/share/classes/sun/java2d/pipe/RenderingEngine.java
Print this page
*** 178,188 ****
public abstract Shape createStrokedShape(Shape src,
float width,
int caps,
int join,
float miterlimit,
! float dashes[],
float dashphase);
/**
* Sends the geometry for a widened path as specified by the parameters
* to the specified consumer.
--- 178,188 ----
public abstract Shape createStrokedShape(Shape src,
float width,
int caps,
int join,
float miterlimit,
! float[] dashes,
float dashphase);
/**
* Sends the geometry for a widened path as specified by the parameters
* to the specified consumer.
*** 269,279 ****
AffineTransform at,
Region clip,
BasicStroke bs,
boolean thin,
boolean normalize,
! int bbox[]);
/**
* Construct an antialiased tile generator for the given parallelogram
* store the bounds of the tile iteration in the bbox parameter.
* The parallelogram is specified as a starting point and 2 delta
--- 269,279 ----
AffineTransform at,
Region clip,
BasicStroke bs,
boolean thin,
boolean normalize,
! int[] bbox);
/**
* Construct an antialiased tile generator for the given parallelogram
* store the bounds of the tile iteration in the bbox parameter.
* The parallelogram is specified as a starting point and 2 delta
*** 335,345 ****
public abstract AATileGenerator getAATileGenerator(double x, double y,
double dx1, double dy1,
double dx2, double dy2,
double lw1, double lw2,
Region clip,
! int bbox[]);
/**
* Returns the minimum pen width that the antialiasing rasterizer
* can represent without dropouts occurring.
* @since 1.7
--- 335,345 ----
public abstract AATileGenerator getAATileGenerator(double x, double y,
double dx1, double dy1,
double dx2, double dy2,
double lw1, double lw2,
Region clip,
! int[] bbox);
/**
* Returns the minimum pen width that the antialiasing rasterizer
* can represent without dropouts occurring.
* @since 1.7
*** 351,361 ****
* given {@link PathIterator}.
* This method deals with the details of running the iterator and
* feeding the consumer a segment at a time.
*/
public static void feedConsumer(PathIterator pi, PathConsumer2D consumer) {
! float coords[] = new float[6];
while (!pi.isDone()) {
switch (pi.currentSegment(coords)) {
case PathIterator.SEG_MOVETO:
consumer.moveTo(coords[0], coords[1]);
break;
--- 351,361 ----
* given {@link PathIterator}.
* This method deals with the details of running the iterator and
* feeding the consumer a segment at a time.
*/
public static void feedConsumer(PathIterator pi, PathConsumer2D consumer) {
! float[] coords = new float[6];
while (!pi.isDone()) {
switch (pi.currentSegment(coords)) {
case PathIterator.SEG_MOVETO:
consumer.moveTo(coords[0], coords[1]);
break;
*** 391,401 ****
public Shape createStrokedShape(Shape src,
float width,
int caps,
int join,
float miterlimit,
! float dashes[],
float dashphase)
{
System.out.println(name+".createStrokedShape("+
src.getClass().getName()+", "+
"width = "+width+", "+
--- 391,401 ----
public Shape createStrokedShape(Shape src,
float width,
int caps,
int join,
float miterlimit,
! float[] dashes,
float dashphase)
{
System.out.println(name+".createStrokedShape("+
src.getClass().getName()+", "+
"width = "+width+", "+
*** 437,447 ****
AffineTransform at,
Region clip,
BasicStroke bs,
boolean thin,
boolean normalize,
! int bbox[])
{
System.out.println(name+".getAATileGenerator("+
s.getClass().getName()+", "+
at+", "+
clip+", "+
--- 437,447 ----
AffineTransform at,
Region clip,
BasicStroke bs,
boolean thin,
boolean normalize,
! int[] bbox)
{
System.out.println(name+".getAATileGenerator("+
s.getClass().getName()+", "+
at+", "+
clip+", "+
*** 455,465 ****
public AATileGenerator getAATileGenerator(double x, double y,
double dx1, double dy1,
double dx2, double dy2,
double lw1, double lw2,
Region clip,
! int bbox[])
{
System.out.println(name+".getAATileGenerator("+
x+", "+y+", "+
dx1+", "+dy1+", "+
dx2+", "+dy2+", "+
--- 455,465 ----
public AATileGenerator getAATileGenerator(double x, double y,
double dx1, double dy1,
double dx2, double dy2,
double lw1, double lw2,
Region clip,
! int[] bbox)
{
System.out.println(name+".getAATileGenerator("+
x+", "+y+", "+
dx1+", "+dy1+", "+
dx2+", "+dy2+", "+
< prev index next >