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

Column number, in pixels, of the left edge of the text grid, with respect to the left edge of the logical screen.

Same as above, for the top edges.

Width of the text grid in pixels.

Height of the text grid in pixels.

Width in pixels of each cell in the text grid.

Height in pixels of each cell in the text grid.

Index of a foreground color in the global color table.

Index of a background color in the global color table.

Trait Implementations

impl Clone for PlainTextExtension
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for PlainTextExtension
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for PlainTextExtension
[src]

impl Debug for PlainTextExtension
[src]

[src]

Formats the value using the given formatter. Read more