support generic flag for pixel offsetting, see #11853
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -534,7 +534,8 @@ IMPLEMENT_ABSTRACT_CLASS(wxGraphicsContext, wxObject)
|
||||
wxGraphicsContext::wxGraphicsContext(wxGraphicsRenderer* renderer) :
|
||||
wxGraphicsObject(renderer),
|
||||
m_antialias(wxANTIALIAS_DEFAULT),
|
||||
m_composition(wxCOMPOSITION_OVER)
|
||||
m_composition(wxCOMPOSITION_OVER),
|
||||
m_enableOffset(false)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -564,6 +565,11 @@ void wxGraphicsContext::Flush()
|
||||
{
|
||||
}
|
||||
|
||||
void wxGraphicsContext::EnableOffset(bool enable)
|
||||
{
|
||||
m_enableOffset = enable;
|
||||
}
|
||||
|
||||
#if 0
|
||||
void wxGraphicsContext::SetAlpha( wxDouble WXUNUSED(alpha) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user