Class: Wx::FontMetrics
- Inherits:
- 
      Object
      
        - Object
- Wx::FontMetrics
 
- Defined in:
- lib/wx/doc/gen/dc.rb
Overview
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
- 
  
    
      #ascent  ⇒ Integer 
    
    
  
  
  
  
  
  
  
  
  
    Part of the height above the baseline. 
- 
  
    
      #ascent=(val)  ⇒ void 
    
    
  
  
  
  
  
  
  
  
  
    Part of the height above the baseline. 
- 
  
    
      #average_width  ⇒ Integer 
    
    
  
  
  
  
  
  
  
  
  
    Average font width, a.k.a. 
- 
  
    
      #average_width=(val)  ⇒ void 
    
    
  
  
  
  
  
  
  
  
  
    Average font width, a.k.a. 
- 
  
    
      #descent  ⇒ Integer 
    
    
  
  
  
  
  
  
  
  
  
    Part of the height below the baseline. 
- 
  
    
      #descent=(val)  ⇒ void 
    
    
  
  
  
  
  
  
  
  
  
    Part of the height below the baseline. 
- 
  
    
      #external_leading  ⇒ Integer 
    
    
  
  
  
  
  
  
  
  
  
    Inter-line spacing. 
- 
  
    
      #external_leading=(val)  ⇒ void 
    
    
  
  
  
  
  
  
  
  
  
    Inter-line spacing. 
- 
  
    
      #height  ⇒ Integer 
    
    
  
  
  
  
  
  
  
  
  
    Total character height. 
- 
  
    
      #height=(val)  ⇒ void 
    
    
  
  
  
  
  
  
  
  
  
    Total character height. 
- 
  
    
      #initialize  ⇒ Wx::FontMetrics 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    Constructor initializes all fields to 0. 
- 
  
    
      #internal_leading  ⇒ Integer 
    
    
  
  
  
  
  
  
  
  
  
    Intra-line spacing. 
- 
  
    
      #internal_leading=(val)  ⇒ void 
    
    
  
  
  
  
  
  
  
  
  
    Intra-line spacing. 
Constructor Details
#initialize ⇒ Wx::FontMetrics
Constructor initializes all fields to 0.
| 1609 | # File 'lib/wx/doc/gen/dc.rb', line 1609 def initialize; end | 
Instance Method Details
#ascent ⇒ Integer
Part of the height above the baseline.
| 1551 | # File 'lib/wx/doc/gen/dc.rb', line 1551 def ascent; end | 
#ascent=(val) ⇒ void
This method returns an undefined value.
Part of the height above the baseline.
| 1557 | # File 'lib/wx/doc/gen/dc.rb', line 1557 def ascent=(val); end | 
#average_width ⇒ Integer
Average font width, a.k.a. “x-width”.
| 1599 | # File 'lib/wx/doc/gen/dc.rb', line 1599 def average_width; end | 
#average_width=(val) ⇒ void
This method returns an undefined value.
Average font width, a.k.a. “x-width”.
| 1605 | # File 'lib/wx/doc/gen/dc.rb', line 1605 def average_width=(val); end | 
#descent ⇒ Integer
Part of the height below the baseline.
| 1563 | # File 'lib/wx/doc/gen/dc.rb', line 1563 def descent; end | 
#descent=(val) ⇒ void
This method returns an undefined value.
Part of the height below the baseline.
| 1569 | # File 'lib/wx/doc/gen/dc.rb', line 1569 def descent=(val); end | 
#external_leading ⇒ Integer
Inter-line spacing.
| 1587 | # File 'lib/wx/doc/gen/dc.rb', line 1587 def external_leading; end | 
#external_leading=(val) ⇒ void
This method returns an undefined value.
Inter-line spacing.
| 1593 | # File 'lib/wx/doc/gen/dc.rb', line 1593 def external_leading=(val); end | 
#height ⇒ Integer
Total character height.
| 1539 | # File 'lib/wx/doc/gen/dc.rb', line 1539 def height; end | 
#height=(val) ⇒ void
This method returns an undefined value.
Total character height.
| 1545 | # File 'lib/wx/doc/gen/dc.rb', line 1545 def height=(val); end | 
#internal_leading ⇒ Integer
Intra-line spacing.
| 1575 | # File 'lib/wx/doc/gen/dc.rb', line 1575 def internal_leading; end | 
#internal_leading=(val) ⇒ void
This method returns an undefined value.
Intra-line spacing.
| 1581 | # File 'lib/wx/doc/gen/dc.rb', line 1581 def internal_leading=(val); end |