aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkDrawShadowRec.h
blob: 62f14604075270ef6007d87baf051b4f282f8ae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Copyright 2017 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkDrawShadowRec_DEFINED
#define SkDrawShadowRec_DEFINED

#include "SkPath.h"

struct SkDrawShadowRec {
    SkPoint3    fZPlaneParams;
    SkPoint3    fLightPos;
    SkScalar    fLightRadius;
    SkScalar    fAmbientAlpha;
    SkScalar    fSpotAlpha;
    SkColor     fColor;
    uint32_t    fFlags;
};

#endif