blob: b8cb82655dc6fa0e15f87e463aa7fe133188ecfb [file] [log] [blame]
/*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrDashingEffect_DEFINED
#define GrDashingEffect_DEFINED
#include "GrColor.h"
#include "GrTypesPriv.h"
#include "SkPathEffect.h"
class GrGpu;
class GrDrawTarget;
class GrPaint;
class GrPipelineBuilder;
class GrStrokeInfo;
namespace GrDashingEffect {
bool DrawDashLine(GrGpu*, GrDrawTarget*, GrPipelineBuilder*, GrColor,
const SkMatrix& viewMatrix, const SkPoint pts[2], const GrPaint& paint,
const GrStrokeInfo& strokeInfo);
}
#endif