|
@@ -73,6 +73,10 @@ public:
|
|
|
View* GetView() const;
|
|
View* GetView() const;
|
|
|
/// Return rectangle.
|
|
/// Return rectangle.
|
|
|
const IntRect& GetRect() const { return rect_; }
|
|
const IntRect& GetRect() const { return rect_; }
|
|
|
|
|
+ /// Return the viewport width
|
|
|
|
|
+ int GetWidth () const { return rect_.Width(); }
|
|
|
|
|
+ /// Return the viewport height
|
|
|
|
|
+ int GetHeight () const { return rect_.Height(); }
|
|
|
/// Return rendering path.
|
|
/// Return rendering path.
|
|
|
RenderPath* GetRenderPath() const;
|
|
RenderPath* GetRenderPath() const;
|
|
|
/// Return whether to draw debug geometry.
|
|
/// Return whether to draw debug geometry.
|