Flutter Engine
The Flutter Engine
Namespaces | Functions
SkDrawShadowInfo.cpp File Reference
#include "src/core/SkDrawShadowInfo.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkPath.h"
#include "include/core/SkRect.h"
#include "include/private/base/SkTo.h"
#include "include/utils/SkShadowUtils.h"

Go to the source code of this file.

Namespaces

namespace  SkDrawShadowMetrics
 

Functions

static SkScalar SkDrawShadowMetrics::compute_z (SkScalar x, SkScalar y, const SkPoint3 &params)
 
bool SkDrawShadowMetrics::GetSpotShadowTransform (const SkPoint3 &lightPos, SkScalar lightRadius, const SkMatrix &ctm, const SkPoint3 &zPlaneParams, const SkRect &pathBounds, bool directional, SkMatrix *shadowTransform, SkScalar *radius)
 
void SkDrawShadowMetrics::GetLocalBounds (const SkPath &path, const SkDrawShadowRec &rec, const SkMatrix &ctm, SkRect *bounds)