Class: Wx::GDIObject

Inherits:
Object show all
Defined in:
lib/wx/doc/gen/gdi_object.rb,
lib/wx/doc/gdi_object.rb

Overview

Note:

This class is untracked and should not be derived from nor instances extended!

This class allows platforms to implement functionality to optimise GDI objects, such as Pen, Brush and Font.

On Windows, the underling GDI objects are a scarce resource and are cleaned up when a usage count goes to zero. On some platforms this class may not have any special functionality. Since the functionality of this class is platform-specific, it is not documented here in detail.

Category: Graphics Device Interface (GDI)

See Also:

Direct Known Subclasses

Bitmap, Brush, Cursor, Font, IconBundle, Palette, Pen, Region

Instance Method Summary collapse

Methods inherited from Object

#is_same_as, #un_share

Constructor Details

#initializeWx::GDIObject

Default constructor.



26
# File 'lib/wx/doc/gen/gdi_object.rb', line 26

def initialize; end

Instance Method Details

#cloneWx::GDIObject

Calls #dup.

Returns:



18
# File 'lib/wx/doc/gdi_object.rb', line 18

def clone; end

#dupWx::GDIObject

Returns a copy-constructed GDI object.

Returns:



14
# File 'lib/wx/doc/gdi_object.rb', line 14

def dup; end