Thanks all.

It seems the click through on that link is dodgy though.

 

I could do it as a line, but I was also thinking it might be better as a
path?

That way as the user moves the mouse, it becomes a long collection of points
in the path.

 

The ever popular Paint program that comes with your OS has a spray can
"airbrush" that you can select. The result is a "scattered particle" effect
where you draw.

Do you think this is replicable easily in SilverLight?

 

Cheers,
Steven

 

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Tim Heuer
Sent: Sunday, 26 August 2007 8:52 AM
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:  <mailto:[EMAIL PROTECTED]> [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

Reply via email to