Lines Matching refs:edgeDistances
880 const skvx::Vec<4, float>& edgeDistances) {
881 fEdgeDistances = edgeDistances;
891 float widthChange = edgeDistances[0] + edgeDistances[3];
892 float heightChange = edgeDistances[1] + edgeDistances[2];
903 // If possible, the corners will move +/-edgeDistances * 1/sin(theta). The entire
917 V4f edgeAdjust = edgeDistances * (halfTanTheta + next_ccw(halfTanTheta)) +
918 next_ccw(edgeDistances) * next_ccw(edgeVectors.fInvSinTheta) +
919 next_cw(edgeDistances) * edgeVectors.fInvSinTheta;
1129 V4f TessellationHelper::inset(const skvx::Vec<4, float>& edgeDistances,
1134 const OutsetRequest& request = this->getOutsetRequest(edgeDistances);
1154 void TessellationHelper::outset(const skvx::Vec<4, float>& edgeDistances,
1159 const OutsetRequest& request = this->getOutsetRequest(edgeDistances);
1186 const skvx::Vec<4, float>& edgeDistances) {
1189 SkASSERT(all(edgeDistances >= 0.f));
1192 if (!fOutsetRequestValid || any(edgeDistances != fOutsetRequest.fEdgeDistances)) {
1193 fOutsetRequest.reset(fEdgeVectors, fDeviceType, edgeDistances);