\r
package org.apache.poi.xslf.usermodel;\r
\r
-import org.apache.poi.util.Beta;\r
-import org.apache.poi.util.Internal;\r
-import org.apache.xmlbeans.XmlObject;\r
-\r
import java.awt.Graphics2D;\r
import java.awt.geom.AffineTransform;\r
import java.awt.geom.Rectangle2D;\r
\r
+import org.apache.poi.util.Beta;\r
+import org.apache.poi.util.Internal;\r
+import org.apache.xmlbeans.XmlObject;\r
+\r
/**\r
* Base super-class class for all shapes in PresentationML\r
*\r
\r
// scale to bounding box (bug #53176)\r
if (quadrant == 1 || quadrant == 3) {\r
- // In quadrant 1 and 3, which is basically a shape in a more or less portrait orientation (45°-135° and 225°-315°),\r
- // we need to first rotate the shape by a multiple of 90° and then resize the bounding box \r
- // to its original bbox. After that we can rotate the shape to the exact rotation amount.\r
+ // In quadrant 1 and 3, which is basically a shape in a more or less portrait orientation \r
+ // (45-135 degrees and 225-315 degrees), we need to first rotate the shape by a multiple \r
+ // of 90 degrees and then resize the bounding box to its original bbox. After that we can \r
+ // rotate the shape to the exact rotation amount.\r
// It's strange that you'll need to rotate the shape back and forth again, but you can\r
// think of it, as if you paint the shape on a canvas. First you rotate the canvas, which might\r
// be already (differently) scaled, so you can paint the shape in its default orientation\r