Replace unless ... not with simply if ... in docs
This commit is contained in:
parent
be6dea75a8
commit
034c5248d9
1 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ pub struct LayoutGlyph {
|
||||||
pub cache_key: CacheKey,
|
pub cache_key: CacheKey,
|
||||||
/// X offset in line
|
/// X offset in line
|
||||||
///
|
///
|
||||||
/// Unless you are not dealing with physical coordinates, you will want to use [`Self::x_int`]
|
/// If you are dealing with physical coordinates, you will want to use [`Self::x_int`]
|
||||||
/// together with [`CacheKey::x_bin`] instead. This will ensure the best alignment of the
|
/// together with [`CacheKey::x_bin`] instead. This will ensure the best alignment of the
|
||||||
/// rasterized glyphs with the pixel grid.
|
/// rasterized glyphs with the pixel grid.
|
||||||
///
|
///
|
||||||
|
|
@ -32,7 +32,7 @@ pub struct LayoutGlyph {
|
||||||
pub x_offset: f32,
|
pub x_offset: f32,
|
||||||
/// Y offset in line
|
/// Y offset in line
|
||||||
///
|
///
|
||||||
/// Unless you are not dealing with physical coordinates, you will want to use [`Self::y_int`]
|
/// If you are dealing with physical coordinates, you will want to use [`Self::y_int`]
|
||||||
/// together with [`CacheKey::y_bin`] instead. This will ensure the best alignment of the
|
/// together with [`CacheKey::y_bin`] instead. This will ensure the best alignment of the
|
||||||
/// rasterized glyphs with the pixel grid.
|
/// rasterized glyphs with the pixel grid.
|
||||||
///
|
///
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue