2 * Copyright 2012 Google Inc.
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
8 #ifndef SkPaintDefaults_DEFINED
9 #define SkPaintDefaults_DEFINED
11 #include "include/core/SkFontTypes.h"
14 * Any of these can be specified by the build system (or SkUserConfig.h)
15 * to change the default values for a SkPaint. This file should not be
19 #ifndef SkPaintDefaults_TextSize
20 #define SkPaintDefaults_TextSize SkIntToScalar(12)
23 #ifndef SkPaintDefaults_Hinting
24 #define SkPaintDefaults_Hinting SkFontHinting::kNormal
27 #ifndef SkPaintDefaults_MiterLimit
28 #define SkPaintDefaults_MiterLimit SkIntToScalar(4)