wGdiObject is the superclasses of all the GDI objects, such as wPen, wBrush and wFont.
Subclasses: | wPen wBrusn wFont wBitmap wIcon wCursor wRegion |
---|
Seealso: | wDC |
---|
Types
wGdiObjectError = object of wError
Procs
proc getHandle(self: wGdiObject): HANDLE {...}{.inline, raises: [], tags: [].}
- Gets the real resource handle in system.
proc init(self: wGdiObject) {...}{.inline, raises: [], tags: [].}
- Initializer.
Methods
method delete(self: wGdiObject) {...}{.base, inline, raises: [], tags: [].}
- Nim's garbage collector will delete this object by default. However, sometimes you maybe want do that by yourself.