Struct ilmenite::raster::ImtRasterOpts
source · [−]pub struct ImtRasterOpts {
pub fill_quality: ImtFillQuality,
pub sample_quality: ImtSampleQuality,
pub align_whole_pixels: bool,
pub cpu_rasterization: bool,
pub raster_to_image: bool,
pub raster_image_format: Format,
}
Fields
fill_quality: ImtFillQuality
This effects how many rays are casted
sample_quality: ImtSampleQuality
This effects how many samples will be used per subpixel
align_whole_pixels: bool
Whether to align bitmaps to whole pixels. This will adjust bearings to whole pixels and offset the resulting bitmap.
cpu_rasterization: bool
This option will be ignored and set by _cpu or _gpu constructors
raster_to_image: bool
Whether or to output a image instead of raw data. Only effects gpu rasterization
raster_image_format: Format
Format used for the bitmap image.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ImtRasterOpts
impl Send for ImtRasterOpts
impl Sync for ImtRasterOpts
impl Unpin for ImtRasterOpts
impl UnwindSafe for ImtRasterOpts
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.