[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    =?utf-8?q?=5Bcalligra=5D_plugins/vectorshape/libsvm=3A_Some_impr?=
From:       Inge Wallin <inge () lysator ! liu ! se>
Date:       2011-04-30 22:06:24
Message-ID: 20110430220624.B6FAAA60A6 () git ! kde ! org
[Download RAW message or body]

Git commit 44b3fca30051ef69f0f866454abe649de005c43f by Inge Wallin.
Committed on 01/05/2011 at 00:05.
Pushed by ingwa into branch 'master'.

Some improvements to the spec

* Add META_POLYGON_ACTION
* Some language improvements

M  +34   -4    plugins/vectorshape/libsvm/SPEC     

http://commits.kde.org/calligra/44b3fca30051ef69f0f866454abe649de005c43f

diff --git a/plugins/vectorshape/libsvm/SPEC b/plugins/vectorshape/libsvm/SPEC
index 70b5fca..7da71ca 100644
--- a/plugins/vectorshape/libsvm/SPEC
+++ b/plugins/vectorshape/libsvm/SPEC
@@ -461,7 +461,7 @@ It contains a uint16 that is never used.
 2.3.1.2 META_COMMENT_ACTION (512)
 
 A comment action has no effect on the rendering.
-It contains the following parts :
+
 string          comment
 uint32          value
 string          comment2
@@ -485,12 +485,12 @@ These actions change the state of the drawing context.
 A line color sets the pen color in the drawing context.
 
 uint32          colorData
-bool            isSet
+bool            doSet
 
 colorData       The color of the pen, in RGB format
                 (... QColor::fromRgb format)
 
-isSet           Should the color be applied (true), or should the pen
+doSet           Should the color be applied (true), or should the pen
                 be hidden (false) 
 
 
@@ -542,6 +542,7 @@ These actions all cause some form of output to the picture.  The
 operations described by these actions are influenced by the current
 drawing context.
 
+
 2.3.3.1 META_POLYLINE_ACTION (109)
 
 A polyline action draws a polygon without filling it.
@@ -560,11 +561,40 @@ bool            polygonFlagsEnabled
 ....... FIXME!
 
 polygon         The polygon to draw
+
+penInfos        The pen style to apply
+
+polygonFlags    Indicate the presence of extra polygon informations
+....... FIXME: next part is complicated...
+
+
+2.3.3.2 META_POLYGON_ACTION (110)
+
+A polygon action draws a polygon and filling it.
+
+// FIXME: Check if the following is true.  Right now it is just copied
+// from META_POLYLINE_ACTION
+Polygon         polygon
+    If the version of the action is greater than 1:
+PenInformations penInfos
+    If the version of the action is greater than 2:
+bool            polygonFlags
+    If polygonFlags is true:
+VersionCompat   flagsVersionCompat
+Polygon         polygon (replaces the previous polygon)
+bool            polygonFlagsEnabled
+    If polygonFlagsEnabled
+....... FIXME!
+
+polygon         The polygon to draw
+
 penInfos        The pen style to apply
+
 polygonFlags    Indicate the presence of extra polygon informations
 ....... FIXME: next part is complicated...
 
-2.3.3.1 META_POLYPOLYGON_ACTION (109)
+
+2.3.3.3 META_POLYPOLYGON_ACTION (111)
 
 A polypolygon action draws a group of polygons.
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic