--
Laurent Bugnion [Microsoft MVP, MCP]
Software engineering, Blog: http://www.galasoft.ch
PhotoAlbum: http://www.galasoft.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Looking for a way to render a gradient along a circular path.
Example. If you had a Rectangle and set the Background to a linear gradient, the colors would flow from left to right.
Now think of a short long Rectangle (10 X 300), now wrap the two ends together forming a doughnut shape and the gradient still flows from start to finish.
Any ideas?
Cheers,
Karl
FYI: I just got another PET scan result from my doctor for my cancer. Doc says I’m doing good.
I also want to know how to achieve this type of things:) note that custom brush is still not supported in the current version of WPF, probably it will be introduced into the VNext by leveraging pixel shader:)
Yong
Pavan,
Thank you. I’m firing up Blend right now!
Cheers,
Karl
Pavan,
Thank you. 20 months in remission. It’s all good.
k-dawg
>FYI: I just got another PET scan result from my doctor for my cancer. Doc says I’m doing good.
This is a great new! Well done Karl.
Corrado
From: wpf-di...@googlegroups.com [mailto:wpf-di...@googlegroups.com] On Behalf Of Karl Shifflett
Sent: venerdì 10 ottobre 2008 02:50
To: wpf-di...@googlegroups.com
Laurent
Karl Shifflett wrote:
>
> Pavan,
>
> Thank you. 20 months in remission. It’s all good.
>
> k-dawg
>
> *From:* wpf-di...@googlegroups.com
> [mailto:wpf-di...@googlegroups.com] *On Behalf Of *Pavan Podila
> *Sent:* Thursday, October 09, 2008 8:37 PM
> *To:* wpf-di...@googlegroups.com
> *Subject:* [WPF Disciples] Re: Does anyone know how to render a
> gradient along a path?
>
> Karl,
> If you don't need that to be a vector, you could also do the same in
> Illustrator and export as PNG. This is only if you don't need it to be
> a vector. Its tricky to get that gradient in WPF as of today.
>
>
> BTW, I had skipped your part about the PET scan. Hope its all good
> Karl. Best Wishes.
>
>
> On Thu, Oct 9, 2008 at 10:38 PM, Karl Shifflett <ka...@littlerichie.com
> <mailto:ka...@littlerichie.com>> wrote:
>
> Pavan,
>
> Thank you. I'm firing up Blend right now!
>
> Cheers,
>
> Karl
>
> *From:* wpf-di...@googlegroups.com
> <mailto:wpf-di...@googlegroups.com>
> [mailto:wpf-di...@googlegroups.com
> <mailto:wpf-di...@googlegroups.com>] *On Behalf Of *Pavan Podila
> *Sent:* Thursday, October 09, 2008 7:33 PM
> *To:* wpf-di...@googlegroups.com
> <mailto:wpf-di...@googlegroups.com>
> *Subject:* [WPF Disciples] Re: Does anyone know how to render a
> gradient along a path?
>
> This is exactly what I talked about with the PathGradientBrush. Your
> case is to use a circular path geometry for the brush's gradient flow.
> Wish there were a PathGradientBrush.
>
> On Thu, Oct 9, 2008 at 10:24 PM, Zhou Yong <footb...@gmail.com
> <mailto:footb...@gmail.com>> wrote:
>
> I also want to know how to achieve this type of things:) note that
> custom brush is still not supported in the current version of WPF,
> probably it will be introduced into the VNext by leveraging pixel shader:)
>
> Yong
>
>
>
>
> --
> the approach, rather than the solution
> ...o0O0o...
> http://blog.pixelingene.com
>
>
>
>
> --
> the approach, rather than the solution
> ...o0O0o...
> http://blog.pixelingene.com
>
--