summaryrefslogtreecommitdiffstats
path: root/font/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'font/src/lib.rs')
-rw-r--r--font/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/font/src/lib.rs b/font/src/lib.rs
index 2a19f620..d5b9716e 100644
--- a/font/src/lib.rs
+++ b/font/src/lib.rs
@@ -173,7 +173,10 @@ pub struct RasterizedGlyph {
#[derive(Clone, Debug)]
pub enum BitmapBuffer {
+ /// RGB alphamask.
RGB(Vec<u8>),
+
+ /// RGBA pixels with premultiplied alpha.
RGBA(Vec<u8>),
}