poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ye...@apache.org
Subject svn commit: r1344204 - /poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/PPGraphics2D.java
Date Wed, 30 May 2012 11:33:37 GMT
Author: yegor
Date: Wed May 30 11:33:36 2012
New Revision: 1344204

URL: http://svn.apache.org/viewvc?rev=1344204&view=rev
Log:
set line color in draw command in PPGraphics2D.java

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/PPGraphics2D.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/PPGraphics2D.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/PPGraphics2D.java?rev=1344204&r1=1344203&r2=1344204&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/PPGraphics2D.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/PPGraphics2D.java Wed May 30 11:33:36
2012
@@ -218,6 +218,9 @@ public final class PPGraphics2D extends 
         p.setPath(path);
         p.getFill().setForegroundColor(null);
         applyStroke(p);
+        if (_paint instanceof Color) {
+            p.setLineColor((Color)_paint);
+        }
         _group.addShape(p);
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message