Struct immeta::formats::gif::PlainTextExtension
[−]
[src]
pub struct PlainTextExtension { pub left: u16, pub top: u16, pub width: u16, pub height: u16, pub cell_width: u8, pub cell_height: u8, pub foreground_color_index: u8, pub background_color_index: u8, }
Contains metadata for a plain text extension block.
Plain text blocks can be used to render texts represented as an actual textual data as opposed to pre-rendered rasterized text. However, it seems that these blocks are not well supported by the existing software.
Fields
left: u16
Column number, in pixels, of the left edge of the text grid, with respect to the left edge of the logical screen.
top: u16
Same as above, for the top edges.
width: u16
Width of the text grid in pixels.
height: u16
Height of the text grid in pixels.
cell_width: u8
Width in pixels of each cell in the text grid.
cell_height: u8
Height in pixels of each cell in the text grid.
foreground_color_index: u8
Index of a foreground color in the global color table.
background_color_index: u8
Index of a background color in the global color table.
Trait Implementations
impl Clone for PlainTextExtension
[src]
fn clone(&self) -> PlainTextExtension
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for PlainTextExtension
[src]
fn eq(&self, __arg_0: &PlainTextExtension) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PlainTextExtension) -> bool
[src]
This method tests for !=
.