DCBrushChanger is a small helper class for setting a brush on a DC and unsetting it automatically in the destructor, restoring the previous one.
See also
DC.SetBrush , DCFontChanger, DCTextColourChanger, DCPenChanger, DCClipper
DCBrushChanger is a small helper class for setting a brush on a DC and unsetting it automatically in the destructor, restoring the previous one.
Possible constructors:
DCBrushChanger(dc, brush)
Sets brush on the given dc, storing the old one.
Parameters: |
---|