1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/skia/trunk/src/core/SkPaintDefaults.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,35 @@ 1.4 +/* 1.5 + * Copyright 2012 Google Inc. 1.6 + * 1.7 + * Use of this source code is governed by a BSD-style license that can be 1.8 + * found in the LICENSE file. 1.9 + */ 1.10 + 1.11 +#ifndef SkPaintDefaults_DEFINED 1.12 +#define SkPaintDefaults_DEFINED 1.13 + 1.14 +#include "SkPaint.h" 1.15 + 1.16 +/** 1.17 + * Any of these can be specified by the build system (or SkUserConfig.h) 1.18 + * to change the default values for a SkPaint. This file should not be 1.19 + * edited directly. 1.20 + */ 1.21 + 1.22 +#ifndef SkPaintDefaults_Flags 1.23 + #define SkPaintDefaults_Flags 0 1.24 +#endif 1.25 + 1.26 +#ifndef SkPaintDefaults_TextSize 1.27 + #define SkPaintDefaults_TextSize SkIntToScalar(12) 1.28 +#endif 1.29 + 1.30 +#ifndef SkPaintDefaults_Hinting 1.31 + #define SkPaintDefaults_Hinting SkPaint::kNormal_Hinting 1.32 +#endif 1.33 + 1.34 +#ifndef SkPaintDefaults_MiterLimit 1.35 + #define SkPaintDefaults_MiterLimit SkIntToScalar(4) 1.36 +#endif 1.37 + 1.38 +#endif