Jalaj P. Jha

Technical & Miscellaneous Ramblings

Archive for February 28th, 2007

Creating Solid and Hatch Brushes

with 2 comments

The default brush associated with a device context is a hollow brush thus the Rectangle, Ellipse and similar function all tends to draw outlines only and doesn’t fill the shape. The current brush setting can be received in a LOGBRUSH structure (discussed in WinAPI: Using Brushes) using the GetCurrentObject and GetObject functions, already discussed in Modifying Existing Pen in DC
Read the rest of this entry »

Written by Jalaj

February 28th, 2007 at 4:15 am

Posted in Visual Basic, WinAPI

Tagged with