X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a173c8134039a09712f8fa119169c80096a98676..b84947323739900eb1174f507679878ea3e35fe4:/include/wx/graphics.h diff --git a/include/wx/graphics.h b/include/wx/graphics.h index 7263b6776d..6e7cf27fe3 100644 --- a/include/wx/graphics.h +++ b/include/wx/graphics.h @@ -24,13 +24,15 @@ enum wxAntialiasMode { wxANTIALIAS_NONE, // should be 0 - wxANTIALIAS_DEFAULT, + wxANTIALIAS_DEFAULT }; enum wxInterpolationQuality { + // default interpolation + wxINTERPOLATION_DEFAULT, // no interpolation - wxINTERPOLATION_NONE, // should be 0 + wxINTERPOLATION_NONE, // fast interpolation, suited for interactivity wxINTERPOLATION_FAST, // better quality @@ -47,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) */ @@ -62,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;