2
votes
Custom drawing on glass (1)
Delphi Haven
– As I noted in a previous post, large parts of the classic GDI (and therefore, TCanvas and its associated classes) are not alpha-channel aware, being as a result not suitable for drawing on glass. Because of this, if you actually want to make use of the GlassFrame property of TForm, it is frequently advisable to use another drawing API, specifically GDI+ or Direct2D – at present, GDI+ can be used via various header translations and open source wrappers (just Google ‘Delphi GDI+’), and Delphi 2010 gets you Direct2D support (for earlier versions, you can grab an API translation by John Bladen ...
Statistics
|
Visits by Source |
User Actions |




