Class: Wx::RTC::RichTextFontTable

Inherits:
Object
  • Object
show all
Defined in:
lib/wx/doc/gen/rtc/rich_text_buffer.rb

Overview

Manages quick access to a pool of fonts for rendering rich text.

Category: Rich Text

See Also:

Requires:

  • USE_RICHTEXT

Instance Method Summary collapse

Methods inherited from Object

#clone, #dup, #is_same_as, #un_share

Constructor Details

#initializeWx::RTC::RichTextFontTable #initialize(table) ⇒ Wx::RTC::RichTextFontTable

Returns a new instance of RichTextFontTable.

Overloads:



698
# File 'lib/wx/doc/gen/rtc/rich_text_buffer.rb', line 698

def initialize(*args) end

Instance Method Details

#==(table) ⇒ Boolean

Equality operator.

Parameters:

Returns:

  • (Boolean)


717
# File 'lib/wx/doc/gen/rtc/rich_text_buffer.rb', line 717

def ==(table) end

#clearvoid

This method returns an undefined value.

Clears the font table.



712
# File 'lib/wx/doc/gen/rtc/rich_text_buffer.rb', line 712

def clear; end

#find_font(fontSpec) ⇒ Wx::Font

Finds a font for the given attribute object.

Parameters:

Returns:



708
# File 'lib/wx/doc/gen/rtc/rich_text_buffer.rb', line 708

def find_font(fontSpec) end

#is_okBoolean Also known as: ok?

Returns true if the font table is valid.

Returns:

  • (Boolean)


702
# File 'lib/wx/doc/gen/rtc/rich_text_buffer.rb', line 702

def is_ok; end

#set_font_scale(fontScale) ⇒ void Also known as: font_scale=

This method returns an undefined value.

Set the font scale factor.

Parameters:

  • fontScale (Float)


722
# File 'lib/wx/doc/gen/rtc/rich_text_buffer.rb', line 722

def set_font_scale(fontScale) end