Code

remove remaining use of assume in nr-rect.cpp
[inkscape.git] / src / attributes.cpp
index 867e5989c73128be532974de96c62f14760d454f..5f7a710c3bfdfd409c84ca56aea763979f472cfa 100644 (file)
@@ -7,6 +7,7 @@
  * Author:
  *   Lauris Kaplinski <lauris@kaplinski.com>
  *
+ * Copyright (C) 2006 Johan Engelen <johan@shouraizou.nl>
  * Copyright (C) 2002 Lauris Kaplinski
  *
  * Released under GNU GPL, read the file 'COPYING' for more information
@@ -59,6 +60,7 @@ static SPStyleProp const props[] = {
     /* SPNamedView */
     {SP_ATTR_VIEWONLY, "viewonly"},
     {SP_ATTR_SHOWGRID, "showgrid"},
+    {SP_ATTR_GRIDTYPE, "gridtype"},
     {SP_ATTR_SHOWGUIDES, "showguides"},
     {SP_ATTR_GRIDTOLERANCE, "gridtolerance"},
     {SP_ATTR_GUIDETOLERANCE, "guidetolerance"},
@@ -68,6 +70,8 @@ static SPStyleProp const props[] = {
     {SP_ATTR_GRIDORIGINY, "gridoriginy"},
     {SP_ATTR_GRIDSPACINGX, "gridspacingx"},
     {SP_ATTR_GRIDSPACINGY, "gridspacingy"},
+    {SP_ATTR_GRIDANGLEX, "gridanglex"},
+    {SP_ATTR_GRIDANGLEZ, "gridanglez"},
     {SP_ATTR_GRIDCOLOR, "gridcolor"},
     {SP_ATTR_GRIDOPACITY, "gridopacity"},
     {SP_ATTR_GRIDEMPCOLOR, "gridempcolor"},
@@ -229,13 +233,12 @@ static SPStyleProp const props[] = {
     //{SP_ATTR_DX, "dx"},
     //{SP_ATTR_DY, "dy"},
        /*feSpecularLighting*/
-    //{SP_ATTR_SURFACESCALE, "surfaceScale"},
     {SP_ATTR_SPECULARCONSTANT, "specularConstant"},
     {SP_ATTR_SPECULAREXPONENT, "specularExponent"},
     /*feTile*/
     /*feTurbulence*/
     {SP_ATTR_BASEFREQUENCY, "baseFrequency"},
-       {SP_ATTR_NUMOCTAVES, "numOctaves"},
+    {SP_ATTR_NUMOCTAVES, "numOctaves"},
     {SP_ATTR_SEED, "seed"},
     {SP_ATTR_STITCHTILES, "stitchTiles"},
     //{SP_ATTR_TYPE, "type"},