2006-07-01 John Luke <john.luke@gmail.com>
authorJohn Luke <jluke@mono-cvs.ximian.com>
Sat, 1 Jul 2006 18:38:05 +0000 (18:38 -0000)
committerJohn Luke <jluke@mono-cvs.ximian.com>
Sat, 1 Jul 2006 18:38:05 +0000 (18:38 -0000)
        * Mono.Cairo/FontType.cs:
        * Mono.Cairo/PatternType.cs: add new enums for cairo 1.2

svn path=/trunk/mcs/; revision=62176

mcs/class/Mono.Cairo/ChangeLog
mcs/class/Mono.Cairo/Mono.Cairo.dll.sources
mcs/class/Mono.Cairo/Mono.Cairo/FontType.cs [new file with mode: 0644]
mcs/class/Mono.Cairo/Mono.Cairo/PatternType.cs [new file with mode: 0644]

index c03d860c28b3be9bfb9534e07b36739627f47bb2..a7c940da27cf8f0a8f37d41430b2f7fcca2397a7 100644 (file)
@@ -1,3 +1,8 @@
+2006-07-01  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/FontType.cs:
+       * Mono.Cairo/PatternType.cs: add new enums for cairo 1.2
+
 2006-06-25  John Luke  <john.luke@gmail.com>
 
        * Mono.Cairo/Surface.cs: make Destroy() call Dispose()
index ff0f22973df4a07b85a7fbca6f0d381fa0ce270f..3e27d91e781f67b3bfa6fe669043c7a62c78662d 100644 (file)
@@ -11,6 +11,7 @@
 ./Mono.Cairo/FontExtents.cs
 ./Mono.Cairo/FontOptions.cs
 ./Mono.Cairo/FontSlant.cs
+./Mono.Cairo/FontType.cs
 ./Mono.Cairo/FontWeight.cs
 ./Mono.Cairo/Format.cs
 ./Mono.Cairo/Glyph.cs
@@ -24,6 +25,7 @@
 ./Mono.Cairo/Matrix.cs
 ./Mono.Cairo/Operator.cs
 ./Mono.Cairo/Pattern.cs
+./Mono.Cairo/PatternType.cs
 ./Mono.Cairo/PdfSurface.cs
 ./Mono.Cairo/PSSurface.cs
 ./Mono.Cairo/RadialGradient.cs
diff --git a/mcs/class/Mono.Cairo/Mono.Cairo/FontType.cs b/mcs/class/Mono.Cairo/Mono.Cairo/FontType.cs
new file mode 100644 (file)
index 0000000..9aa7f4b
--- /dev/null
@@ -0,0 +1,45 @@
+//
+// Mono.Cairo.FontType.cs
+//
+// Authors:
+//    John Luke
+//
+// (C) John Luke, 2006.
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if CAIRO_1_2
+
+using System;
+
+namespace Cairo {
+
+       [Serializable]
+       public enum FontType
+       {
+               Toy,
+               FreeType,
+               Win32,
+               Atsui,
+       }
+}
+
+#endif
diff --git a/mcs/class/Mono.Cairo/Mono.Cairo/PatternType.cs b/mcs/class/Mono.Cairo/Mono.Cairo/PatternType.cs
new file mode 100644 (file)
index 0000000..4aa69f4
--- /dev/null
@@ -0,0 +1,45 @@
+//
+// Mono.Cairo.PatternType.cs
+//
+// Authors:
+//    John Luke
+//
+// (C) John Luke, 2006.
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if CAIRO_1_2
+
+using System;
+
+namespace Cairo {
+
+       [Serializable]
+       public enum PatternType
+       {
+               Solid,
+               Surface,
+               Linear,
+               Radial,
+       }
+}
+
+#endif