Extract draw_bitmap from draw_glyph.

This commit is contained in:
Jared Boone
2016-02-03 10:33:54 -08:00
parent ceef8d32d3
commit 5d0b5d427a
2 changed files with 25 additions and 8 deletions

View File

@@ -65,6 +65,14 @@ public:
draw_pixels(r, colors.data(), colors.size());
}
void draw_bitmap(
const ui::Point p,
const ui::Size size,
const uint8_t* const data,
const ui::Color foreground,
const ui::Color background
);
void draw_glyph(
const ui::Point p,
const ui::Glyph& glyph,