< prev index next >
src/java.desktop/windows/classes/sun/awt/windows/WPathGraphics.java
Print this page
@@ -114,12 +114,12 @@
boolean canRedraw) {
super(graphics, printerJob, painter, pageFormat, pageIndex, canRedraw);
}
/**
- * Creates a new <code>Graphics</code> object that is
- * a copy of this <code>Graphics</code> object.
+ * Creates a new {@code Graphics} object that is
+ * a copy of this {@code Graphics} object.
* @return a new graphics context that is a copy of
* this graphics context.
* @since 1.0
*/
@Override
@@ -373,23 +373,23 @@
}
return awScale;
}
/**
- * Renders the text specified by the specified <code>String</code>,
- * using the current <code>Font</code> and <code>Paint</code> attributes
- * in the <code>Graphics2D</code> context.
+ * Renders the text specified by the specified {@code String},
+ * using the current {@code Font} and {@code Paint} attributes
+ * in the {@code Graphics2D} context.
* The baseline of the first character is at position
* (<i>x</i>, <i>y</i>) in the User Space.
- * The rendering attributes applied include the <code>Clip</code>,
- * <code>Transform</code>, <code>Paint</code>, <code>Font</code> and
- * <code>Composite</code> attributes. For characters in script systems
+ * The rendering attributes applied include the {@code Clip},
+ * {@code Transform}, {@code Paint}, {@code Font} and
+ * {@code Composite} attributes. For characters in script systems
* such as Hebrew and Arabic, the glyphs can be rendered from right to
* left, in which case the coordinate supplied is the location of the
* leftmost character on the baseline.
- * @param str the <code>String</code> to be rendered
- * @param x, y the coordinates where the <code>String</code>
+ * @param str the {@code String} to be rendered
+ * @param x, y the coordinates where the {@code String}
* should be rendered
* @see #setPaint
* @see java.awt.Graphics#setColor
* @see java.awt.Graphics#setFont
* @see #setTransform
@@ -867,15 +867,15 @@
}
return true;
}
/**
- * The various <code>drawImage()</code> methods for
- * <code>WPathGraphics</code> are all decomposed
- * into an invocation of <code>drawImageToPlatform</code>.
+ * The various {@code drawImage()} methods for
+ * {@code WPathGraphics} are all decomposed
+ * into an invocation of {@code drawImageToPlatform}.
* The portion of the passed in image defined by
- * <code>srcX, srcY, srcWidth, and srcHeight</code>
+ * {@code srcX, srcY, srcWidth, and srcHeight}
* is transformed by the supplied AffineTransform and
* drawn using GDI to the printer context.
*
* @param image The image to be drawn.
* @param xform Used to transform the image before drawing.
@@ -1332,11 +1332,11 @@
return true;
}
/**
* Have the printing application redraw everything that falls
- * within the page bounds defined by <code>region</code>.
+ * within the page bounds defined by {@code region}.
*/
@Override
public void redrawRegion(Rectangle2D region, double scaleX, double scaleY,
Shape savedClip, AffineTransform savedTransform)
throws PrinterException {
@@ -1432,11 +1432,11 @@
deepImage.getWidth(), deepImage.getHeight());
}
/*
- * Fill the path defined by <code>pathIter</code>
+ * Fill the path defined by {@code pathIter}
* with the specified color.
* The path is provided in device coordinates.
*/
@Override
protected void deviceFill(PathIterator pathIter, Color color) {
@@ -1448,11 +1448,11 @@
wPrinterJob.fillPath();
}
/*
* Set the printer device's clip to be the
- * path defined by <code>pathIter</code>
+ * path defined by {@code pathIter}
* The path is provided in device coordinates.
*/
@Override
protected void deviceClip(PathIterator pathIter) {
@@ -1672,11 +1672,11 @@
}
}
/**
- * Given a Java2D <code>PathIterator</code> instance,
+ * Given a Java2D {@code PathIterator} instance,
* this method translates that into a Window's path
* in the printer device context.
*/
private void convertToWPath(PathIterator pathIter) {
< prev index next >