Trait figures::PixelScaling

source ·
pub trait PixelScaling {
    const PX_SCALING_FACTOR: u16;
}
Expand description

A type that has a scaling factor when converting to pixels.

Required Associated Constants§

source

const PX_SCALING_FACTOR: u16

The scaling factor to apply when converting to pixels, in addition to any spatial scaling already being applied.

Object Safety§

This trait is not object safe.

Implementors§