[wx-dev] [ wxwindows-Bugs-1770631 ] Logical Functions for wxGCDC result into blank screen

SourceForge.net noreply at sourceforge.net
Tue Apr 22 10:06:55 PDT 2008


Bugs item #1770631, was opened at 2007-08-09 09:41
Message generated for change (Comment added) made by vadz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1770631&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: FireMail (firemail)
Assigned to: Nobody/Anonymous (nobody)
Summary: Logical Functions for wxGCDC result into blank screen

Initial Comment:
because of my need to draw anti aliased output i started using wxGCDC. Works fine, but for drawing postscript images I need the logical function wxINVERT and the output results into a blank screen.
possible workarounds by rendering everything into a bitmap, loading it and then getting the anti aliased output results also in a blank screen.

i think i found out that it's not supported?!
bool wxGraphicsContext::SetLogicalFunction( int function ) {
     if ( function == wxCOPY )
     {
         m_logicalFunction = function;
         return true;
     }
     return false;
 }

----------------------------------------------------------------------

>Comment By: Vadim Zeitlin (vadz)
Date: 2008-04-22 19:06

Message:
Logged In: YES 
user_id=71618
Originator: NO

FWIW I think we should remove (well, deprecate) SetLogicalFunction() as it
doesn't seem to be supported in any of wxGC implementations.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1770631&group_id=9863


More information about the wx-dev mailing list