fixing test, adding minimal docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -508,10 +508,10 @@ public:
|
|||||||
// sets the antialiasing mode, returns true if it supported
|
// sets the antialiasing mode, returns true if it supported
|
||||||
virtual bool SetAntialiasMode(wxAntialiasMode antialias) = 0;
|
virtual bool SetAntialiasMode(wxAntialiasMode antialias) = 0;
|
||||||
|
|
||||||
// returns the current interpolation mode
|
// returns the current interpolation quality
|
||||||
virtual wxInterpolationQuality GetInterpolationQuality() const { return m_interpolation; }
|
virtual wxInterpolationQuality GetInterpolationQuality() const { return m_interpolation; }
|
||||||
|
|
||||||
// sets the interpolation mode, returns true if it supported
|
// sets the interpolation quality, returns true if it supported
|
||||||
virtual bool SetInterpolationQuality(wxInterpolationQuality interpolation) = 0;
|
virtual bool SetInterpolationQuality(wxInterpolationQuality interpolation) = 0;
|
||||||
|
|
||||||
// returns the current compositing operator
|
// returns the current compositing operator
|
||||||
|
@@ -212,6 +212,21 @@ enum wxAntialiasMode
|
|||||||
wxANTIALIAS_DEFAULT,
|
wxANTIALIAS_DEFAULT,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
Interpolation quality used by wxGraphicsContext::SetInterpolationQuality().
|
||||||
|
*/
|
||||||
|
enum wxInterpolationQuality
|
||||||
|
{
|
||||||
|
/** no interpolation */
|
||||||
|
wxINTERPOLATION_NONE,
|
||||||
|
/** fast interpolation, suited for interactivity */
|
||||||
|
wxINTERPOLATION_FAST,
|
||||||
|
/** better quality */
|
||||||
|
wxINTERPOLATION_GOOD,
|
||||||
|
/** best quality, not suited for interactivity */
|
||||||
|
wxINTERPOLATION_BEST
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Compositing is done using Porter-Duff compositions
|
Compositing is done using Porter-Duff compositions
|
||||||
(see http://keithp.com/~keithp/porterduff/p253-porter.pdf) with
|
(see http://keithp.com/~keithp/porterduff/p253-porter.pdf) with
|
||||||
@@ -658,6 +673,16 @@ public:
|
|||||||
*/
|
*/
|
||||||
virtual wxAntialiasMode GetAntialiasMode() const ;
|
virtual wxAntialiasMode GetAntialiasMode() const ;
|
||||||
|
|
||||||
|
/**
|
||||||
|
Sets the interpolation quality, returns true if it supported
|
||||||
|
*/
|
||||||
|
virtual bool SetInterpolationQuality(wxInterpolationQuality interpolation) = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
Returns the current interpolation quality
|
||||||
|
*/
|
||||||
|
virtual wxInterpolationQuality GetInterpolationQuality() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Sets the compositing operator, returns true if it supported
|
Sets the compositing operator, returns true if it supported
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user