EFM32 Jade Gecko 12 Software Documentation
efm32jg12-doc-5.1.2
|
Silicon Labs Graphics Library: String Drawing Routines.
Copyright 2015 Silicon Labs, http://www.silabs.com
This file is licensensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.
Definition in file glib_string.c.
#include <stdint.h>
#include <string.h>
#include <stdbool.h>
#include "em_types.h"
#include "glib.h"
#include "glib_color.h"
Go to the source code of this file.
Functions | |
EMSTATUS | GLIB_drawChar (GLIB_Context_t *pContext, char myChar, int32_t x, int32_t y, bool opaque) |
Draws a char using the font supplied with the library. More... | |
EMSTATUS | GLIB_drawString (GLIB_Context_t *pContext, const char *pString, uint32_t sLength, int32_t x0, int32_t y0, bool opaque) |
Draws a string using the font supplied with the library. More... | |
EMSTATUS | GLIB_setFont (GLIB_Context_t *pContext, GLIB_Font_t *pFont) |
Set new font for the library. Note that GLIB defines a default font in glib.c. Redefine GLIB_DEFAULT_FONT to change the default font. More... | |