Thanks Tim!
 

-Dave


________________________________

From: [EMAIL PROTECTED] on behalf of Tim Heuer
Sent: Sat 8/25/2007 3:51 PM
To: listserver@ozSilverlight.com
Subject: RE: [OzSilverlight] Drawing a single pixel



Here's the link Dave is referring too - it hasn't been updated, but if you do 
some clever sniffing you might get some starting points.

 

http://blogs.interfacett.com/simon/2006/12/13/wpfe-mouse-track.html 

 

-th

 

tim heuer | (602) 405-4567 | im: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  
| blog: http://timheuer.com/blog/ <http://timheuer.com/blog/> 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David L. Campbell
Sent: Saturday, August 25, 2007 3:30 PM
To: listserver@ozSilverlight.com
Subject: RE: [OzSilverlight] Drawing a single pixel

 

Well... 

 

I'd probably do a 1 pixel-width line one pixel long, if that's what I needed.

 

Simon Allardice did a scribble type program in WPF/E ... not sure if it had 
source... I'll look.

 

Also beware that depending upon where you start and stop your lines, they may 
be anti-aliased even if you pick 1 pixel as the width. If you run into that, I 
have an article on my site that discusses it.

 


-Dave


 

________________________________

From: [EMAIL PROTECTED] on behalf of Steven Nagy
Sent: Sat 8/25/2007 3:03 PM
To: listserver@ozSilverlight.com
Subject: [OzSilverlight] Drawing a single pixel

Hi,

Someone asked this last week and I don't think the answers really met the 
question.
Now I'm seeking to do the same thing so I suppose I'm going to re-ask the 
question.

 

I need to paint a single pixel at a time. The idea is that the user will be 
holding the mouse down and where they move it, there will be a trail of pixels.

Essentially similar to a painting program.

 

I'm guessing I could just draw a whole lot of 1x1 rectangles but this seems 
spammy.

What would be the best way to do this painting affect?

 

Thanks,

Steven

------------------------------------------------------------------- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net 

------------------------------------------------------------------- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net 



------------------------------------------------------------------- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.

Powered by mailenable.com - List managed by www.readify.net

<<winmail.dat>>

Reply via email to