You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by sp...@apache.org on 2010/12/14 10:10:27 UTC
svn commit: r1048988 -
/xmlgraphics/commons/branches/Temp_Color/src/java/org/apache/xmlgraphics/java2d/ps/PSTilingPattern.java
Author: spepping
Date: Tue Dec 14 09:10:26 2010
New Revision: 1048988
URL: http://svn.apache.org/viewvc?rev=1048988&view=rev
Log:
Fixing unknown characters in unknown encoding
Modified:
xmlgraphics/commons/branches/Temp_Color/src/java/org/apache/xmlgraphics/java2d/ps/PSTilingPattern.java
Modified: xmlgraphics/commons/branches/Temp_Color/src/java/org/apache/xmlgraphics/java2d/ps/PSTilingPattern.java
URL: http://svn.apache.org/viewvc/xmlgraphics/commons/branches/Temp_Color/src/java/org/apache/xmlgraphics/java2d/ps/PSTilingPattern.java?rev=1048988&r1=1048987&r2=1048988&view=diff
==============================================================================
--- xmlgraphics/commons/branches/Temp_Color/src/java/org/apache/xmlgraphics/java2d/ps/PSTilingPattern.java (original)
+++ xmlgraphics/commons/branches/Temp_Color/src/java/org/apache/xmlgraphics/java2d/ps/PSTilingPattern.java Tue Dec 14 09:10:26 2010
@@ -51,7 +51,7 @@ public class PSTilingPattern {
protected String patternName = null;
/**
- * The XUID is an extended unique ID an array of integers that provides for
+ * The XUID is an extended unique ID -- an array of integers that provides for
* distributed, hierarchical management of the space of unique ID numbers
* (optional)
*/
@@ -65,7 +65,7 @@ public class PSTilingPattern {
/**
* An array of four numbers in the pattern coordinate system, giving
* the coordinates of the left, bottom, right, and top edges, respectively, of the
- * pattern cells bounding box
+ * pattern cell's bounding box
*/
protected Rectangle2D bBox = null;
@@ -108,7 +108,7 @@ public class PSTilingPattern {
* the name is null, the pattern should be stored in PSPatternStorage, where the pattern
* gets a name (the pattern without name cannot be use in PS file)
* @param paintProc a postscript procedure for painting the pattern cell
- * @param bBox a pattern cells bounding box
+ * @param bBox a pattern cell's bounding box
* @param xStep the desired horizontal spacing between pattern cells
* @param yStep the desired vertical spacing between pattern cells
* @param paintType 1 for colored pattern, 2 for uncolored pattern
@@ -192,7 +192,7 @@ public class PSTilingPattern {
/**
* Returns the bounding box.
*
- * @return a pattern cells bounding box
+ * @return a pattern cell's bounding box
*/
public Rectangle2D getBoundingBox() {
return (this.bBox);
@@ -201,7 +201,7 @@ public class PSTilingPattern {
/**
* Sets the bounding box.
*
- * @param bBox a pattern cells bounding box
+ * @param bBox a pattern cell's bounding box
*/
public void setBoundingBox(Rectangle2D bBox) {
if (bBox == null) {
@@ -392,9 +392,9 @@ public class PSTilingPattern {
}
// define color image: width height bits/comp matrix
- // datasrc0
datasrcncomp-1 multi ncomp colorimage
+ // datasrc0 � datasrcncomp-1 multi ncomp colorimage
sb.append(width + " " + height + " 8 " + "matrix\n"); // width height bits/comp matrix
- int [] argb = new int[width * height]; // datasrc0
datasrcncomp-1
+ int [] argb = new int[width * height]; // datasrc0 � datasrcncomp-1
sb.append("{<");
texture.getImage().getRGB(0, 0, width, height, argb, 0, width);
int count = 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org