diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-06-11 15:36:13 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-06-11 15:36:13 +0000 |
commit | 64aef2bacd1f5c25ffd9347aabd6265c9b60c0f4 (patch) | |
tree | 3ccc5c8f1698e759d872e8d357fe2319174d7eb3 /src/gpu/GrPath.h | |
parent | f8a2289667e2ad2a4776e43485ce29f32e584d0b (diff) |
Towards NV path rendering
Review URL: http://codereview.appspot.com/6302049/
git-svn-id: http://skia.googlecode.com/svn/trunk@4219 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrPath.h')
-rw-r--r-- | src/gpu/GrPath.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/gpu/GrPath.h b/src/gpu/GrPath.h new file mode 100644 index 0000000000..872859d982 --- /dev/null +++ b/src/gpu/GrPath.h @@ -0,0 +1,28 @@ + +/* + * Copyright 2012 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#ifndef GrPath_DEFINED +#define GrPath_DEFINED + +#include "GrResource.h" +#include "GrRect.h" + +class GrPath : public GrResource { +public: + GrPath(GrGpu* gpu) : INHERITED(gpu) {} + + const GrIRect& getBounds() const { return fBounds; } + +protected: + GrIRect fBounds; + +private: + typedef GrResource INHERITED; +}; + +#endif |