Flutter Engine
The Flutter Engine
SkPaintDefaults.h
Go to the documentation of this file.
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
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_TextSize
20 #define SkPaintDefaults_TextSize SkIntToScalar(12)
21#endif
22
23#ifndef SkPaintDefaults_Hinting
24 #define SkPaintDefaults_Hinting SkFontHinting::kNormal
25#endif
26
27#ifndef SkPaintDefaults_MiterLimit
28 #define SkPaintDefaults_MiterLimit SkIntToScalar(4)
29#endif
30
31#endif