]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/graphics.h
Fix wxFont::GetFaceName() for not realized yet fonts in wxMSW.
[wxWidgets.git] / include / wx / graphics.h
index d30fd3b7c10845be7f8dd0c7a6d10df87514d8c8..6e7cf27fe3d2c1c3395984344855f97106d01ea7 100644 (file)
@@ -24,7 +24,7 @@
 enum wxAntialiasMode
 {
     wxANTIALIAS_NONE, // should be 0
-    wxANTIALIAS_DEFAULT,
+    wxANTIALIAS_DEFAULT
 };
 
 enum wxInterpolationQuality
@@ -49,6 +49,7 @@ enum wxCompositionMode
     // classic Porter-Duff compositions
     // http://keithp.com/~keithp/porterduff/p253-porter.pdf
 
+    wxCOMPOSITION_INVALID = -1, /* indicates invalid/unsupported mode */
     wxCOMPOSITION_CLEAR, /* R = 0 */
     wxCOMPOSITION_SOURCE, /* R = S */
     wxCOMPOSITION_OVER, /* R = S + D*(1 - Sa) */
@@ -64,7 +65,7 @@ enum wxCompositionMode
     wxCOMPOSITION_XOR, /* R = S*(1 - Da) + D*(1 - Sa) */
 
     // mathematical compositions
-    wxCOMPOSITION_ADD, /* R = S + D */
+    wxCOMPOSITION_ADD /* R = S + D */
 };
 
 class WXDLLIMPEXP_FWD_CORE wxWindowDC;