blob: 1404546b7369369f112628c4038b8204749afd3c [file] [log] [blame]
bsalomon@google.com64aef2b2012-06-11 15:36:13 +00001
2/*
3 * Copyright 2012 Google Inc.
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8
9#ifndef GrPath_DEFINED
10#define GrPath_DEFINED
11
12#include "GrResource.h"
13#include "GrRect.h"
14
15class GrPath : public GrResource {
16public:
17 GrPath(GrGpu* gpu) : INHERITED(gpu) {}
18
bsalomon@google.comded4f4b2012-06-28 18:48:06 +000019 const GrRect& getBounds() const { return fBounds; }
bsalomon@google.com64aef2b2012-06-11 15:36:13 +000020
21protected:
bsalomon@google.comded4f4b2012-06-28 18:48:06 +000022 GrRect fBounds;
bsalomon@google.com64aef2b2012-06-11 15:36:13 +000023
24private:
25 typedef GrResource INHERITED;
26};
27
28#endif