blob: cc55804891a7663e310d6a399ef16218613b1ac6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*
* 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 "SkColor.h"
#include "SkPath.h"
#include "SkPoint3.h"
struct SkDrawShadowRec {
SkPoint3 fZPlaneParams;
SkPoint3 fLightPos;
SkScalar fLightRadius;
SkScalar fAmbientAlpha;
SkScalar fSpotAlpha;
SkColor fColor;
uint32_t fFlags;
};
#endif
|