Don't set wxINTERPOLATION_GOOD quality by default in wxGDIPlusContext.
This is inconsistent with wxOSX and also doesn't play well with the existence of wxINTERPOLATION_DEFAULT which is different from wxINTERPOLATION_GOOD. See #14134. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -13,6 +13,9 @@ Changes in behaviour not resulting in compilation errors
|
|||||||
--------------------------------------------------------
|
--------------------------------------------------------
|
||||||
|
|
||||||
- wxRibbonButtonBar::DeleteButton() now deletes and not just removes the button.
|
- wxRibbonButtonBar::DeleteButton() now deletes and not just removes the button.
|
||||||
|
- Default interpolation mode in wxGDIPlusContext under MSW is now
|
||||||
|
wxINTERPOLATION_DEFAULT and not wxINTERPOLATION_GOOD as in 3.0 for
|
||||||
|
consistency with OS X, call SetInterpolationQuality() explicitly if needed.
|
||||||
|
|
||||||
|
|
||||||
3.1.0: (released 2014-xx-xx)
|
3.1.0: (released 2014-xx-xx)
|
||||||
|
@@ -1422,8 +1422,6 @@ void wxGDIPlusContext::Init(Graphics* graphics, int width, int height)
|
|||||||
m_context->SetPixelOffsetMode(PixelOffsetModeHalf);
|
m_context->SetPixelOffsetMode(PixelOffsetModeHalf);
|
||||||
m_context->SetSmoothingMode(SmoothingModeHighQuality);
|
m_context->SetSmoothingMode(SmoothingModeHighQuality);
|
||||||
|
|
||||||
SetInterpolationQuality(wxINTERPOLATION_GOOD);
|
|
||||||
|
|
||||||
m_state1 = m_context->Save();
|
m_state1 = m_context->Save();
|
||||||
m_state2 = m_context->Save();
|
m_state2 = m_context->Save();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user