Class: Wx::RTC::RichTextDrawingContext
- Defined in:
- lib/wx/doc/gen/rtc/rich_text_object.rb
Overview
This class is untracked and should not be derived from nor instances extended!
A class for passing information to drawing and measuring functions.
Category: Rich Text
Instance Method Summary collapse
-
#apply_virtual_attributes(attr, obj) ⇒ Boolean
Applies any virtual attributes relevant to this object.
-
#enable_delayed_image_loading(b) ⇒ void
Enable or disable delayed image loading.
-
#enable_images(b) ⇒ void
Enable or disable images.
-
#enable_virtual_attributes(b) ⇒ void
Enables virtual attribute processing.
-
#get_delayed_image_loading ⇒ Boolean
(also: #delayed_image_loading)
Returns true if delayed image loading is enabled.
-
#get_images_enabled ⇒ Boolean
(also: #images_enabled)
Returns true if images are enabled.
-
#get_laying_out ⇒ Boolean
(also: #laying_out)
Returns true if laying out.
-
#get_virtual_attributes(obj) ⇒ Wx::RTC::RichTextAttr
(also: #virtual_attributes)
Returns the virtual attributes for this object.
-
#get_virtual_attributes_enabled ⇒ Boolean
(also: #virtual_attributes_enabled)
Returns true if virtual attribute processing is enabled.
-
#get_virtual_subobject_attributes(obj, positions, attributes) ⇒ Integer
(also: #virtual_subobject_attributes)
Gets the mixed virtual attributes for individual positions within the object.
-
#get_virtual_subobject_attributes_count(obj) ⇒ Integer
(also: #virtual_subobject_attributes_count)
Gets the count for mixed virtual attributes for individual positions within the object.
-
#get_virtual_text(obj, text) ⇒ Boolean
(also: #virtual_text)
Gets the virtual text for this object.
-
#has_virtual_attributes(obj) ⇒ Boolean
(also: #has_virtual_attributes?)
Does this object have virtual attributes? Virtual attributes can be provided for visual cues without affecting the actual styling.
-
#has_virtual_text(obj) ⇒ Boolean
(also: #has_virtual_text?)
Do we have virtual text for this object? Virtual text allows an application to replace characters in an object for editing and display purposes, for example for highlighting special characters.
- #init ⇒ void
-
#initialize(buffer) ⇒ Wx::RTC::RichTextDrawingContext
constructor
Pass the buffer to the context so the context can retrieve information such as virtual attributes.
-
#set_laying_out(b) ⇒ void
(also: #laying_out=)
Set laying out flag.
Methods inherited from Object
#clone, #dup, #is_same_as, #un_share
Constructor Details
#initialize(buffer) ⇒ Wx::RTC::RichTextDrawingContext
Pass the buffer to the context so the context can retrieve information such as virtual attributes.
1339 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 1339 def initialize(buffer) end |
Instance Method Details
#apply_virtual_attributes(attr, obj) ⇒ Boolean
Applies any virtual attributes relevant to this object.
1362 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 1362 def apply_virtual_attributes(attr, obj) end |
#enable_delayed_image_loading(b) ⇒ void
This method returns an undefined value.
Enable or disable delayed image loading.
1429 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 1429 def enable_delayed_image_loading(b) end |
#enable_images(b) ⇒ void
This method returns an undefined value.
Enable or disable images.
1408 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 1408 def enable_images(b) end |
#enable_virtual_attributes(b) ⇒ void
This method returns an undefined value.
Enables virtual attribute processing.
1398 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 1398 def enable_virtual_attributes(b) end |
#get_delayed_image_loading ⇒ Boolean Also known as: delayed_image_loading
Returns true if delayed image loading is enabled.
1433 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 1433 def get_delayed_image_loading; end |
#get_images_enabled ⇒ Boolean Also known as: images_enabled
Returns true if images are enabled.
1412 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 1412 def get_images_enabled; end |
#get_laying_out ⇒ Boolean Also known as: laying_out
Returns true if laying out.
1423 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 1423 def ; end |
#get_virtual_attributes(obj) ⇒ Wx::RTC::RichTextAttr Also known as: virtual_attributes
Returns the virtual attributes for this object.
Virtual attributes can be provided for visual cues without affecting the actual styling.
1355 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 1355 def get_virtual_attributes(obj) end |
#get_virtual_attributes_enabled ⇒ Boolean Also known as: virtual_attributes_enabled
Returns true if virtual attribute processing is enabled.
1402 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 1402 def get_virtual_attributes_enabled; end |
#get_virtual_subobject_attributes(obj, positions, attributes) ⇒ Integer Also known as: virtual_subobject_attributes
Gets the mixed virtual attributes for individual positions within the object.
For example, individual characters within a text object may require special highlighting. The function is passed the count returned by GetVirtualSubobjectAttributesCount.
1379 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 1379 def get_virtual_subobject_attributes(obj, positions, attributes) end |
#get_virtual_subobject_attributes_count(obj) ⇒ Integer Also known as: virtual_subobject_attributes_count
Gets the count for mixed virtual attributes for individual positions within the object.
For example, individual characters within a text object may require special highlighting.
1369 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 1369 def get_virtual_subobject_attributes_count(obj) end |
#get_virtual_text(obj, text) ⇒ Boolean Also known as: virtual_text
Gets the virtual text for this object.
1392 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 1392 def get_virtual_text(obj, text) end |
#has_virtual_attributes(obj) ⇒ Boolean Also known as: has_virtual_attributes?
Does this object have virtual attributes? Virtual attributes can be provided for visual cues without affecting the actual styling.
1347 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 1347 def has_virtual_attributes(obj) end |
#has_virtual_text(obj) ⇒ Boolean Also known as: has_virtual_text?
Do we have virtual text for this object? Virtual text allows an application to replace characters in an object for editing and display purposes, for example for highlighting special characters.
1385 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 1385 def has_virtual_text(obj) end |
#init ⇒ void
This method returns an undefined value.
1342 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 1342 def init; end |
#set_laying_out(b) ⇒ void Also known as: laying_out=
This method returns an undefined value.
Set laying out flag.
1418 |
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 1418 def (b) end |