Hey gang.
I have been really wanting to render some simple XAML for button / UI
styling in Windows Mobile apps and I'm not sure if this is coming any time
soon or not to the CF so I have a few questions.
I am thinking of writting a simple XML parser to take simple XAML shapes and
render them. I would like to support gradients with alpha transparency.
My challenge is I know with the Alpha Blending API you take a back buffer
and blend it with your new image. However I want the controls to be
owner-drawn but still blend with the overall Winforms application UI.
Is this possible? Is there a way to get the current bitmap of what is behind
the control that is trying to render in the window?
I'm not sure if its going to be possible to marry Winforms and some limited
vector rendering like this or not.
I envision it as an owner drawn control which you set a property to the XAML
file and it renders it as such which supports some very basic shapes,
gradients and simple animation timelines.
Any thoughts on this?
Thanks and take care.
|