| Index: remoting/client/view_matrix.h
|
| diff --git a/remoting/client/view_matrix.h b/remoting/client/view_matrix.h
|
| index 56b4ec5a162aa593367a74f040f7a6f000101344..e13d70ba3e1ab41879ad05f11fe4dd1476ddfb96 100644
|
| --- a/remoting/client/view_matrix.h
|
| +++ b/remoting/client/view_matrix.h
|
| @@ -44,6 +44,9 @@ class ViewMatrix {
|
| // Returns the scale of this matrix.
|
| float GetScale() const;
|
|
|
| + // Sets the offset.
|
| + void SetOffset(const Point& offset);
|
| +
|
| // Adjust the matrix M to M' such that:
|
| // M * p_a = p_b => M' * p_a = scale * (p_b - pivot) + pivot
|
| void PostScale(const Point& pivot, float scale);
|
|
|