Struct libvips::ops::SvgloadBufferOptions[][src]

pub struct SvgloadBufferOptions {
    pub dpi: f64,
    pub scale: f64,
    pub unlimited: bool,
    pub flags: ForeignFlags,
    pub memory: bool,
    pub access: Access,
    pub fail: bool,
}
Expand description

Options for svgload_buffer operation

Fields

dpi: f64

dpi: f64 -> Render at this DPI min: 0.001, max: 100000, default: 72

scale: f64

scale: f64 -> Scale output by this factor min: 0.001, max: 100000, default: 1

unlimited: bool

unlimited: bool -> Allow SVG of any size default: false

flags: ForeignFlags

flags: ForeignFlags -> Flags for this file None -> VIPS_FOREIGN_NONE = 0 [DEFAULT] Partial -> VIPS_FOREIGN_PARTIAL = 1 Bigendian -> VIPS_FOREIGN_BIGENDIAN = 2 Sequential -> VIPS_FOREIGN_SEQUENTIAL = 4 All -> VIPS_FOREIGN_ALL = 7

memory: bool

memory: bool -> Force open via memory default: false

access: Access

access: Access -> Required access pattern for this file Random -> VIPS_ACCESS_RANDOM = 0 [DEFAULT] Sequential -> VIPS_ACCESS_SEQUENTIAL = 1 SequentialUnbuffered -> VIPS_ACCESS_SEQUENTIAL_UNBUFFERED = 2 Last -> VIPS_ACCESS_LAST = 3

fail: bool

fail: bool -> Fail on first error default: false

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.