Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Invert brush

Closed Thread
 
Thread Tools Display Modes
Old 07-17-2006   #1 (permalink)
=?Utf-8?B?SmFjayBSb2JpbnM=?=
Guest


 

Invert brush

Is there an equivalent in WPF to BitBlt with DSTINVERT as the last argument?

(This inverts whatever is behind the brush)

Cheers
Old 07-18-2006   #2 (permalink)
Adam Smith [MS]
Guest


 

Re: Invert brush

Sorry, there is not. Blend mode and ROP-type rendering are available if you
wish to leverage our BitmapEffects, but they are not built-in, and this will
allow you to blend between arbitrary *inputs*, though not with the back
buffer . The primary issue with ROPs as they are used in GDI is that they
implicitly require the back-buffer (as you say, "whatever is behind the
brush") to be present, while with a hierarchical retained scene graph, "what
is behind" may not exist yet, or it may be in the process of being
accumulated into a temporary buffer, etc, etc.

-Adam Smith [MS]

"Jack Robins" <Jack Robins@discussions.microsoft.com> wrote in message
news:7F7D1EBD-0822-4DC7-84ED-7C5B8A2BABDA@microsoft.com...
> Is there an equivalent in WPF to BitBlt with DSTINVERT as the last
> argument?
>
> (This inverts whatever is behind the brush)
>
> Cheers



Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where's Explorer's invert selection gone? Mark Vista General 3 11-09-2007 07:22 AM
Problem with Visual Brush Jeremy Chaney Avalon 0 06-29-2007 12:22 PM
Invert Selection Bob Vista General 3 01-07-2007 09:39 PM
Is there a keyboard shortcut to Invert Selection ?? Synapse Syndrome Vista General 2 11-07-2006 03:32 AM
Visual Brush Problem HolaMan Avalon 1 02-24-2006 02:21 AM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50