1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/// The bounds of a glyph.
#[derive(PartialEq, Eq, Clone, Copy, Debug)]
pub struct BoundingBox {
	///
	pub width: u32,

	///
	pub height: u32,

	///
	pub x: i32,

	///
	pub y: i32,
}

impl Default for BoundingBox {
	#[inline]
	fn default() -> Self {
		BoundingBox {
			width:  0,
			height: 0,

			x: 0,
			y: 0,
		}
	}
}