Searched defs:divy (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/skia/src/core/
H A DSkMatrix.cpp336 bool SkMatrix::setIDiv(int divx, int divy) { argument
337 if (!divx || !divy) {
340 this->setScale(SK_Scalar1 / divx, SK_Scalar1 / divy);
411 bool SkMatrix::postIDiv(int divx, int divy) { argument
412 if (divx == 0 || divy == 0) {
421 fMat[kMScaleY] = roundidiv(fMat[kMScaleY], divy);
422 fMat[kMSkewY] = roundidiv(fMat[kMSkewY], divy);
423 fMat[kMTransY] = roundidiv(fMat[kMTransY], divy);
426 const float invY = 1.f / divy;
/external/skia/src/core/
H A DSkMatrix.cpp336 bool SkMatrix::setIDiv(int divx, int divy) { argument
337 if (!divx || !divy) {
340 this->setScale(SK_Scalar1 / divx, SK_Scalar1 / divy);
411 bool SkMatrix::postIDiv(int divx, int divy) { argument
412 if (divx == 0 || divy == 0) {
421 fMat[kMScaleY] = roundidiv(fMat[kMScaleY], divy);
422 fMat[kMSkewY] = roundidiv(fMat[kMSkewY], divy);
423 fMat[kMTransY] = roundidiv(fMat[kMTransY], divy);
426 const float invY = 1.f / divy;

Completed in 73 milliseconds