Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SimpleGUI by
FontRenderer Class Reference
Abstract base class defining the interface for class which can render fonts to a GraphicsDisplay Should probably use some template wizardy to specify the covariant Font type.... More...
#include <FontRenderer.h>
Inherited by FastFontRenderer, and UGFontRenderer.
Public Member Functions | |
virtual void | putc (const char c, GraphicsDisplay *display, Font *font)=0 |
Render a single character at the current cursor location, advance the cursor Clip/wrap as necessary. | |
virtual void | puts (const char *s, GraphicsDisplay *display, Font *font)=0 |
Render a string at the current cursor location, advance the cursor Clip/wrap as necessary. | |
void | window (int x, int y, int width, int height, bool clip) |
Sets the window into which to render. |
Detailed Description
Abstract base class defining the interface for class which can render fonts to a GraphicsDisplay Should probably use some template wizardy to specify the covariant Font type....
Definition at line 10 of file FontRenderer.h.
Member Function Documentation
virtual void putc | ( | const char | c, |
GraphicsDisplay * | display, | ||
Font * | font | ||
) | [pure virtual] |
Render a single character at the current cursor location, advance the cursor Clip/wrap as necessary.
Implemented in UGFontRenderer.
virtual void puts | ( | const char * | s, |
GraphicsDisplay * | display, | ||
Font * | font | ||
) | [pure virtual] |
Render a string at the current cursor location, advance the cursor Clip/wrap as necessary.
Implemented in UGFontRenderer.
void window | ( | int | x, |
int | y, | ||
int | width, | ||
int | height, | ||
bool | clip | ||
) |
Sets the window into which to render.
placing the cursor at (x,y)
Definition at line 43 of file FontRenderer.h.
Generated on Tue Jul 12 2022 22:27:14 by
