/* * Copyright 2006-2012 The Android Open Source Project * Copyright 2012 Mozilla Foundation * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SKFONTHOST_FREETYPE_COMMON_H_ #define SKFONTHOST_FREETYPE_COMMON_H_ #include "include/core/SkColor.h" #include "include/core/SkSpan.h" #include "include/core/SkTypes.h" #include "src/core/SkGlyph.h" #include "src/core/SkScalerContext.h" class SkCanvas; // These are forward declared to avoid pimpl but also hide the FreeType implementation. FT_Face; FT_Pos; #ifdef SK_DEBUG const char* SkTraceFtrGetError(int); #define SK_TRACEFTR(ERR, MSG, ...) … #else #define SK_TRACEFTR … #endif struct SkScalerContextFTUtils { … }; #endif // SKFONTHOST_FREETYPE_COMMON_H_