Class: Wx::FontMetrics

Inherits:
Object
  • Object
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!

Simple collection of various font metrics.

This object is returned by DC#get_font_metrics.

Category: Device Contexts, Graphics Device Interface (GDI)

Instance Method Summary collapse

Constructor Details

#initializeWx::FontMetrics

Constructor initializes all fields to 0.



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

def initialize; end

Instance Method Details

#ascentInteger

Part of the height above the baseline.

Returns:

  • (Integer)


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

def ascent; end

#ascent=(val) ⇒ void

This method returns an undefined value.

Part of the height above the baseline.

Parameters:

  • val (Integer)


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

def ascent=(val); end

#average_widthInteger

Average font width, a.k.a. "x-width".

Returns:

  • (Integer)


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

def average_width; end

#average_width=(val) ⇒ void

This method returns an undefined value.

Average font width, a.k.a. "x-width".

Parameters:

  • val (Integer)


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

def average_width=(val); end

#descentInteger

Part of the height below the baseline.

Returns:

  • (Integer)


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

def descent; end

#descent=(val) ⇒ void

This method returns an undefined value.

Part of the height below the baseline.

Parameters:

  • val (Integer)


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

def descent=(val); end

#external_leadingInteger

Inter-line spacing.

Returns:

  • (Integer)


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

def external_leading; end

#external_leading=(val) ⇒ void

This method returns an undefined value.

Inter-line spacing.

Parameters:

  • val (Integer)


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

def external_leading=(val); end

#heightInteger

Total character height.

Returns:

  • (Integer)


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

def height; end

#height=(val) ⇒ void

This method returns an undefined value.

Total character height.

Parameters:

  • val (Integer)


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

def height=(val); end

#internal_leadingInteger

Intra-line spacing.

Returns:

  • (Integer)


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

def internal_leading; end

#internal_leading=(val) ⇒ void

This method returns an undefined value.

Intra-line spacing.

Parameters:

  • val (Integer)


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

def internal_leading=(val); end