HomeBlogsPaweł GłowackiDirect2D "Advanced Path Geometries" Win7 SDK Example Translated to Delphi 2010
Direct2D "Advanced Path Geometries" Win7 SDK Example Translated to Delphi 2010
In two days I'm talking about Windows 7 development at Delphi 2010 HandsOn Workshop with Bob Swart and Bruno Fierens from TMS Software.
One of the cool new features introduced in Delphi 2010 specifically for Windows 7 is support for native Direct2D development. Direct2D is very interesting, new graphics subsystem that utilizies GPU processing power for rendering regular operating system windows.
Because of the performance considerations Direct2D has been implemented in native code in Windows 7 and Delphi VCL provides superior object oriented abstractions on top of raw Windows API.
I have decided to give it a try and translated to Delphi from C++ code the "Advanced Geometries" example that ships with Windows 7 SDK.
[caption id="attachment_38865" align="alignnone" width="300" caption="Delphi 2010 version of Windows 7 SDK Direct2D Advanced Geometries Example"]
[/caption]
The main form in my "DelphiAdvD2DGeometries" Delphi 2010 project has been structured based on information provided by Chris Bensen in his blog post http://chrisbensen.blogspot.com/2009/09/touch-demo-part-i.html.
Delphi 2010 version of Direct2D "Advanced Geometries" Windows 7 SDK example is available for download from EDN Code Central.
One of the cool new features introduced in Delphi 2010 specifically for Windows 7 is support for native Direct2D development. Direct2D is very interesting, new graphics subsystem that utilizies GPU processing power for rendering regular operating system windows.
Because of the performance considerations Direct2D has been implemented in native code in Windows 7 and Delphi VCL provides superior object oriented abstractions on top of raw Windows API.
I have decided to give it a try and translated to Delphi from C++ code the "Advanced Geometries" example that ships with Windows 7 SDK.
[caption id="attachment_38865" align="alignnone" width="300" caption="Delphi 2010 version of Windows 7 SDK Direct2D Advanced Geometries Example"]

The main form in my "DelphiAdvD2DGeometries" Delphi 2010 project has been structured based on information provided by Chris Bensen in his blog post http://chrisbensen.blogspot.com/2009/09/touch-demo-part-i.html.
Delphi 2010 version of Direct2D "Advanced Geometries" Windows 7 SDK example is available for download from EDN Code Central.
Tags:
Delphi
Delphi 2010
Delphi Programming
Direct2D
Example
source-code
source-code
Windows 7
Windows 7 SDK


Crazy about Delphi Programming!
The D2D takes Windows one step closer to the Mac and its certainly a big+ that Delphi now supports this very much needed "graphics subsystem". It will be most interesting to see how this may be used for graphic overlays on video.