X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/84536a5e58b1ca89831e1056a70bba6d8b800a2f..5c2141756385058897145c8da49ec13204c4b0b0:/drivers/displays/tft/aafonts.c?ds=sidebyside diff --git a/drivers/displays/tft/aafonts.c b/drivers/displays/tft/aafonts.c index bc8875a..6ae5668 100644 --- a/drivers/displays/tft/aafonts.c +++ b/drivers/displays/tft/aafonts.c @@ -318,17 +318,11 @@ uint16_t aafontsGetStringWidth(const aafontsFont_t *font, char *str) /**************************************************************************/ /*! - @brief Creates a 4 or 16 shade color between the specified bg and - fore color for use with anti-aliased fonts. + @brief Calculates a 4 or 16 color lookup table between the specified + bg and fore colors for use with anti-aliased fonts. - @note This method can be used to place anti-aliased in any color on - any known, solid-colored background. - - You can get slightly higher-quality results by calculating - the color tables by hand, but this method is a convenient - method to create text in a variety of colors or on a variety - of backgrounds. Please note, though, that the visual quality - of the text heavily on the colors being used. + @note This method can be used to place anti-aliased text on any color + of background, as long as it's a single solid color. @param[in] bgColor The RGB565 color of the background