Searched refs:divy (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/skia/include/core/
H A DSkMatrix.h192 /** Set the matrix to scale by 1/divx and 1/divy. Returns false and doesn't
193 touch the matrix if either divx or divy is zero.
195 bool setIDiv(int divx, int divy);
273 M' = S(1/divx, 1/divy, 0, 0) * M
275 bool postIDiv(int divx, int divy);
/external/skia/include/core/
H A DSkMatrix.h192 /** Set the matrix to scale by 1/divx and 1/divy. Returns false and doesn't
193 touch the matrix if either divx or divy is zero.
195 bool setIDiv(int divx, int divy);
273 M' = S(1/divx, 1/divy, 0, 0) * M
275 bool postIDiv(int divx, int divy);
/external/chromium_org/third_party/skia/src/core/
H A DSkMatrix.cpp318 bool SkMatrix::setIDiv(int divx, int divy) { argument
319 if (!divx || !divy) {
322 this->setScale(SkScalarInvert(divx), SkScalarInvert(divy));
377 bool SkMatrix::postIDiv(int divx, int divy) { argument
378 if (divx == 0 || divy == 0) {
383 const float invY = 1.f / divy;
/external/skia/src/core/
H A DSkMatrix.cpp318 bool SkMatrix::setIDiv(int divx, int divy) { argument
319 if (!divx || !divy) {
322 this->setScale(SkScalarInvert(divx), SkScalarInvert(divy));
377 bool SkMatrix::postIDiv(int divx, int divy) { argument
378 if (divx == 0 || divy == 0) {
383 const float invY = 1.f / divy;

Completed in 99 milliseconds