• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2017 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 SkDrawShadowRec_DEFINED
9 #define SkDrawShadowRec_DEFINED
10 
11 #include "SkColor.h"
12 #include "SkPath.h"
13 #include "SkPoint3.h"
14 
15 struct SkDrawShadowRec {
16     SkPoint3    fZPlaneParams;
17     SkPoint3    fLightPos;
18     SkScalar    fLightRadius;
19     SkScalar    fAmbientAlpha;
20     SkScalar    fSpotAlpha;
21     SkColor     fColor;
22     uint32_t    fFlags;
23 };
24 
25 #endif
26