Avalon DrawingContext …

DrawingContext is Avalon’s equivalent of hdc (handle to device context) in Win32 programming or Graphics in GDI+. It provides us with low level calls to render/draw on the surface (screen/print/other visuals). Here’s a list of useful draw method in DrawingContext: 1.  DrawDrawing2.  DrawEllipse3.  DrawGeometry4.  DrawGlyphs5.  DrawImage6.  DrawLine7.  DrawRectangle8.  DrawRoundedRectangle9.  DrawSubLineCollection10. DrawText11. DrawVideo Most of the time,…


Follow up: Animation in code. ..

Follow up my last posting with a link to Avalon animation in code.


Experimental US weather service exposed via XML web service

Found out yesterday that this information is available. I’m adding to my sample app (virtual earth) to enrich user experience. For more information, refer to National Oceanic and Atmospheric Administration: http://www.weather.gov/xml/


Intro Animation in XAML

Animation is a based on change of certain value in the object over a duration. The value change can be the following type – DoubleAnimation, PointAnimatiom, ColorAnimation, LengthAnimation, FloatAnimation, SizeAnimation etc.. It’s all based on type. So which type should I use? The type used is based on the property that you want to animate. Take obj.Opacity as…


Calendar Printing Assistant for Outlook 2007

If you have access to Microsoft Office 2007 Beta2, check out this new office program:http://www.microsoft.com/office/preview/programs/outlook/cpa.mspx This software has dependency on Windows Presentation Framework Beta 2 (codename: Avalon) and of course Office 2007 Beta2. This software also utilize the rendering/style power of WPF.  This program allows you to use additional template for your Outlook appointments and data. This allows…


Tiling with VisualBrush – WPF Beta 2

It has been a while since I last blog about WPF (Avalon) related work. Well, here’s some updates on something I tried recently. I have some requirement lately to implement some GridLines for Diagrams. I first try to use OnRender and doing DrawLine inside of OnRender. I found that this is somehow slow when I…


very good 3d read

hah… supposed to be my last post but hey i have 1 more thing to post. This is a good book for 3d – plus it’s very focus and not thick at all. Very well written. I have to buy this full-price since I can’t order book from the company anymore. Actually I ordered it…