Class: Wx::InfoDC

Inherits:
ReadOnlyDC show all
Defined in:
lib/wx/doc/gen/dc.rb

Overview

Note:

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

Class used for querying the window device context.

This class can be used to retrieve information about the window device context, including its coordinate system and text extents. Unlike PaintDC, objects of this class can be created at any time.

Instance Method Summary collapse

Methods inherited from ReadOnlyDC

#can_draw_bitmap, #can_get_text_extent, #can_use_transform_matrix, #device_to_logical, #device_to_logical_rel, #device_to_logical_x, #device_to_logical_x_rel, #device_to_logical_y, #device_to_logical_y_rel, #from_dip, #get_char_height, #get_char_width, #get_content_scale_factor, #get_depth, #get_device_origin, #get_dimensions, #get_dimensions_mm, #get_font, #get_font_metrics, #get_layout_direction, #get_logical_origin, #get_logical_scale, #get_map_mode, #get_multi_line_text_extent, #get_multi_line_text_size, #get_ppi, #get_size, #get_size_mm, #get_text_extent, #get_text_size, #get_transform_matrix, #get_user_scale, #is_ok, #logical_to_device, #logical_to_device_rel, #logical_to_device_x, #logical_to_device_x_rel, #logical_to_device_y, #logical_to_device_y_rel, #reset_transform_matrix, #set_axis_orientation, #set_device_origin, #set_font, #set_layout_direction, #set_logical_origin, #set_logical_scale, #set_map_mode, #set_transform_matrix, #set_user_scale, #to_dip

Methods inherited from Object

#clone, #dup, #is_same_as, #un_share

Constructor Details

#initialize(win) ⇒ Wx::InfoDC

Create the information device context associated with the given window.

Parameters:

  • win (Wx::Window)

    Valid, i.e. non-nil, window pointer.



1520
# File 'lib/wx/doc/gen/dc.rb', line 1520

def initialize(win) end