#include "visitors/glyphvisitor-bitmap-handling.h"
#include <cassert>
#include <ft2build.h>
#include FT_BITMAP_H
#include "utils/logging.h"
const FT_Color
freetype::GlyphVisitorBitmapHandling::
COLOUR_PINK = …;
const FT_Vector
freetype::GlyphVisitorBitmapHandling::
SOURCE_OFFSET = …;
void
freetype::GlyphVisitorBitmapHandling::
run( Unique_FT_Glyph glyph )
{ … }
bool
freetype::GlyphVisitorBitmapHandling::
extract_bitmap( Unique_FT_Glyph& glyph,
FT_Bitmap& bitmap )
{ … }
bool
freetype::GlyphVisitorBitmapHandling::
copy_bitmap( FT_Library library,
const FT_Bitmap& source,
FT_Bitmap& target )
{ … }
void
freetype::GlyphVisitorBitmapHandling::
embolden( FT_Library library,
FT_Bitmap& bitmap,
FT_Pos xStrength,
FT_Pos yStrength )
{ … }
void
freetype::GlyphVisitorBitmapHandling::
blend( FT_Library library,
const FT_Bitmap& source,
FT_Bitmap& target )
{ … }
void
freetype::GlyphVisitorBitmapHandling::
convert( Unique_FT_Glyph& glyph,
FT_Bitmap& bitmap,
FT_Int alignment )
{ … }