Chromium Code Reviews| Index: src/utils/SkMatrix22.h |
| =================================================================== |
| --- src/utils/SkMatrix22.h (revision 0) |
| +++ src/utils/SkMatrix22.h (working copy) |
| @@ -0,0 +1,16 @@ |
| +/* |
| + * Copyright 2014 Google Inc. |
| + * |
| + * Use of this source code is governed by a BSD-style license that can be |
| + * found in the LICENSE file. |
| + */ |
| + |
| +#include "SkPoint.h" |
| + |
| +class SkMatrix; |
| + |
| +/** Find the Givens matrix G = [[c, -s],[s, c]] |
| + * which rotates the baseline vector h to the positive hoizontal axis. |
| + * G * h = [hypot(h), 0] |
| + */ |
| +void Sk2x2Givens(SkVector h, SkMatrix* G); |
|
reed1
2014/03/26 20:19:57
SkComputeGivensMatrix ?
const SkVector& baseline
bungeman-skia
2014/04/08 21:33:39
Done.
|