wrflib_vector 0.0.3

The vector library for Wrflib
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright (c) 2021-present, Cruise LLC
//
// This source code is licensed under the Apache License, Version 2.0,
// found in the LICENSE-APACHE file in the root directory of this source tree.
// You may not use this file except in compliance with the License.

/// The horizontal metrics for a glyph
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct HorizontalMetrics {
    pub advance_width: f32,
    pub(crate) left_side_bearing: f32,
}