EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Namespaces | Variables
EBGeometry_ViewerFont.hpp File Reference

The bitmap font the viewer writes its overlay in. More...

Go to the source code of this file.

Namespaces

namespace  EBGeometry
 Namespace containing all of EBGeometry's functionality.
 

Variables

constexpr int EBGeometry::Render::ViewerDetail::GlyphWidth = 6
 Width of a glyph in pixels.
 
constexpr int EBGeometry::Render::ViewerDetail::GlyphHeight = 13
 Height of a glyph in pixels.
 
constexpr unsigned char EBGeometry::Render::ViewerDetail::Glyphs [95][GlyphHeight]
 The glyphs of the characters from ' ' (32) to '~' (126): one byte per row from the top, the leftmost pixel in bit 5.
 

Detailed Description

The bitmap font the viewer writes its overlay in.

Internal to the viewer; not part of the public API. The glyphs are those of the X11 misc-fixed 6x13 font (a public domain font), for the printable ASCII characters.

Author
Robert Marskar