1 /* 2 * Copyright 2012 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 #ifndef SkPaintDefaults_DEFINED 9 #define SkPaintDefaults_DEFINED 10 11 #include "SkFontTypes.h" 12 13 /** 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 16 * edited directly. 17 */ 18 19 #ifndef SkPaintDefaults_Flags 20 #define SkPaintDefaults_Flags 0 21 #endif 22 23 #ifndef SkPaintDefaults_TextSize 24 #define SkPaintDefaults_TextSize SkIntToScalar(12) 25 #endif 26 27 #ifndef SkPaintDefaults_Hinting 28 #define SkPaintDefaults_Hinting kNormal_SkFontHinting 29 #endif 30 31 #ifndef SkPaintDefaults_MiterLimit 32 #define SkPaintDefaults_MiterLimit SkIntToScalar(4) 33 #endif 34 35 #endif 36