/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrNonAAStrokeRectBatch_DEFINED #define GrNonAAStrokeRectBatch_DEFINED #include "GrColor.h" #include "SkTypes.h" class GrDrawBatch; struct SkRect; class SkStrokeRec; class SkMatrix; namespace GrNonAAStrokeRectBatch { GrDrawBatch* Create(GrColor color, const SkMatrix& viewMatrix, const SkRect& rect, const SkStrokeRec&, bool snapToPixelCenters); } #endif