Exemplo n.º 1
0
	Font::Font(FontFamily &font_family, float height)
	{
		font_family.throw_if_null();
		FontDescription desc;
		desc.set_height(height);
		*this = Font(font_family, desc);
	}
Exemplo n.º 2
0
	Font_Impl::Font_Impl(FontFamily &new_font_family, const FontDescription &description)
	{
		new_font_family.throw_if_null();

		font_family = new_font_family;

		selected_description = description.clone();
		selected_line_height = description.get_line_height();
	}