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.
Dependents: LPC4088test LPC4088test_ledonly LPC4088test_deleteall LPC4088_RAMtest ... more
GFXFb Class Reference
Graphical library based on Adafruit's GFX using a Frame buffer. More...
#include <GFXFb.h>
Inherits Adafruit_GFX.
Public Member Functions | |
GFXFb (uint16_t w, uint16_t h, uint16_t *fb=0) | |
Create an interface to the GFX graphical library. | |
void | setFb (uint16_t *fb) |
Associate a frame buffer with the graphical library. | |
uint16_t * | getFb () |
Get the frame buffer associated with the graphical library. | |
void | writeString (const char *s) |
Write a null-terminated string. | |
int16_t | getStringWidth (const char *s) |
Get the width in pixels of the given string. | |
int16_t | getStringHeight (const char *s) |
Get the height in pixels of the given string. |
Detailed Description
Graphical library based on Adafruit's GFX using a Frame buffer.
Definition at line 57 of file GFXFb.h.
Constructor & Destructor Documentation
GFXFb | ( | uint16_t | w, |
uint16_t | h, | ||
uint16_t * | fb = 0 |
||
) |
Member Function Documentation
uint16_t* getFb | ( | ) |
int16_t getStringHeight | ( | const char * | s ) |
int16_t getStringWidth | ( | const char * | s ) |
void setFb | ( | uint16_t * | fb ) |
Generated on Fri Jul 15 2022 02:16:08 by
