Enum fontdue::layout::CoordinateSystem
source · pub enum CoordinateSystem {
PositiveYUp,
PositiveYDown,
}
Expand description
The direction that the Y coordinate increases in. Layout needs to be aware of your coordinate system to place the glyphs correctly.
Variants§
PositiveYUp
The Y coordinate increases up relative to the window or image. The higher up on the window, the more positive Y becomes.
PositiveYDown
The Y coordinate increases down relative to the window or image. The lower down on the window, the more positive Y becomes.
Trait Implementations§
source§impl Clone for CoordinateSystem
impl Clone for CoordinateSystem
source§fn clone(&self) -> CoordinateSystem
fn clone(&self) -> CoordinateSystem
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<CoordinateSystem> for CoordinateSystem
impl PartialEq<CoordinateSystem> for CoordinateSystem
source§fn eq(&self, other: &CoordinateSystem) -> bool
fn eq(&self, other: &CoordinateSystem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.