git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43765
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual void DrawPath( const wxGraphicsPath &path, int fillStyle = wxODDEVEN_RULE );
virtual bool ShouldOffset() const
virtual void DrawPath( const wxGraphicsPath &path, int fillStyle = wxODDEVEN_RULE );
virtual bool ShouldOffset() const
int penwidth = 0 ;
if ( !m_pen.IsNull() )
{
int penwidth = 0 ;
if ( !m_pen.IsNull() )
{
if ( CGContextSetBlendMode != NULL )
{
CGContextSetBlendMode( m_cgContext, kCGBlendModeNormal );
if ( CGContextSetBlendMode != NULL )
{
CGContextSetBlendMode( m_cgContext, kCGBlendModeNormal );
+ CGContextSetShouldAntialias( m_cgContext, true );
{
// change color to white
CGContextSetBlendMode( m_cgContext, kCGBlendModeExclusion );
{
// change color to white
CGContextSetBlendMode( m_cgContext, kCGBlendModeExclusion );
+ CGContextSetShouldAntialias( m_cgContext, false );