chromium/third_party/freetype-testing/src/fuzzing/src/visitors/glyphvisitor-bitmap-handling.cpp

// glyphvisitor-bitmap-handling.cpp
//
//   Implementation of GlyphVisitorBitmapHandling.
//
// Copyright 2018-2019 by
// Armin Hasitzka.
//
// This file is part of the FreeType project, and may only be used,
// modified, and distributed under the terms of the FreeType project
// license, LICENSE.TXT.  By continuing to use, modify, or distribute
// this file you indicate that you have read the license and
// understand and accept it fully.


#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 =;

  // Offset vectors are in 26.6 fixed-point format.

  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 )
  {}