gfx/skia/trunk/src/core/SkPaintDefaults.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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  */
     8 #ifndef SkPaintDefaults_DEFINED
     9 #define SkPaintDefaults_DEFINED
    11 #include "SkPaint.h"
    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  */
    19 #ifndef SkPaintDefaults_Flags
    20     #define SkPaintDefaults_Flags           0
    21 #endif
    23 #ifndef SkPaintDefaults_TextSize
    24     #define SkPaintDefaults_TextSize        SkIntToScalar(12)
    25 #endif
    27 #ifndef SkPaintDefaults_Hinting
    28     #define SkPaintDefaults_Hinting         SkPaint::kNormal_Hinting
    29 #endif
    31 #ifndef SkPaintDefaults_MiterLimit
    32     #define SkPaintDefaults_MiterLimit      SkIntToScalar(4)
    33 #endif
    35 #endif

mercurial