adding placeholders for interpolation setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -27,6 +27,18 @@ enum wxAntialiasMode
|
||||
wxANTIALIAS_DEFAULT,
|
||||
};
|
||||
|
||||
enum wxInterpolationQuality
|
||||
{
|
||||
// no interpolation
|
||||
wxINTERPOLATION_NONE, // should be 0
|
||||
// fast interpolation, suited for interactivity
|
||||
wxINTERPOLATION_FAST,
|
||||
// better quality
|
||||
wxINTERPOLATION_GOOD,
|
||||
// best quality, not suited for interactivity
|
||||
wxINTERPOLATION_BEST
|
||||
};
|
||||
|
||||
enum wxCompositionMode
|
||||
{
|
||||
// R = Result, S = Source, D = Destination, premultiplied with alpha
|
||||
@@ -496,6 +508,12 @@ public:
|
||||
// sets the antialiasing mode, returns true if it supported
|
||||
virtual bool SetAntialiasMode(wxAntialiasMode antialias) = 0;
|
||||
|
||||
// returns the current interpolation mode
|
||||
virtual wxInterpolationQuality GetInterpolationQuality() const { return m_interpolation; }
|
||||
|
||||
// sets the interpolation mode, returns true if it supported
|
||||
virtual bool SetInterpolationQuality(wxInterpolationQuality interpolation) = 0;
|
||||
|
||||
// returns the current compositing operator
|
||||
virtual wxCompositionMode GetCompositionMode() const { return m_composition; }
|
||||
|
||||
@@ -660,6 +678,7 @@ protected:
|
||||
wxGraphicsFont m_font;
|
||||
wxAntialiasMode m_antialias;
|
||||
wxCompositionMode m_composition;
|
||||
wxInterpolationQuality m_interpolation;
|
||||
bool m_enableOffset;
|
||||
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user