3#include "roo_logging.h"
4#include "roo_io/text/unicode.h"
20 stream <<
"FontLayout::kHorizontal";
23 stream <<
"FontLayout::kVertical";
26 stream <<
"FontLayout::(unknown)";
36 stream <<
"FontProperties::Charset::kAscii";
39 stream <<
"FontProperties::Charset::kUnicodeBmp";
42 stream <<
"FontProperties::Charset::(unknown)";
52 stream <<
"FontProperties::Spacing::kProportional";
55 stream <<
"FontProperties::Spacing::kMonospace";
58 stream <<
"FontProperties::Spacing::(unknown)";
68 stream <<
"FontProperties::Smoothing::kNone";
71 stream <<
"FontProperties::Smoothing::kGrayscale";
74 stream <<
"FontProperties::Smoothing::(unknown)";
84 stream <<
"FontProperties::Kerning::kNone";
87 stream <<
"FontProperties::Kerning::kPairs";
90 stream <<
"FontProperties::Kerning::(unknown)";
ARGB8888 color stored as a 32-bit unsigned integer.
Smoothing
Smoothing/anti-aliasing mode.
Spacing
Spacing behavior for glyph advances.
Charset
Character set supported by the font.
Kerning
Kerning information availability.
void drawHorizontalString(const Surface &s, roo::string_view text, Color color) const
Draw a UTF-8 string horizontally using a string view.
virtual void drawGlyph(const Surface &s, char32_t code, FontLayout layout, Color color) const
Draw a single glyph.
Low-level handle used to draw to an underlying device.
Defines 140 opaque HTML named colors.
FontLayout
Glyph layout direction.
roo_logging::Stream & operator<<(roo_logging::Stream &os, BlendingMode mode)