Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 * Copyright 2014 Google Inc. | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license that can be | |
| 5 * found in the LICENSE file. | |
| 6 */ | |
| 7 | |
| 8 #include "SkPoint.h" | |
| 9 | |
| 10 class SkMatrix; | |
| 11 | |
| 12 /** Find the Givens matrix G = [[c, -s],[s, c]] | |
| 13 * which rotates the baseline vector h to the positive hoizontal axis. | |
| 14 * G * h = [hypot(h), 0] | |
| 15 */ | |
| 16 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.
| |
| OLD | NEW |