GrPath.h revision ded4f4b163f5aa19c22c871178c55ecb34623846
1 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 19 const GrRect& getBounds() const { return fBounds; } 20 21protected: 22 GrRect fBounds; 23 24private: 25 typedef GrResource INHERITED; 26}; 27 28#endif 29