DrawLineView() { fFB.setWHZ(24, 16, 48); fPts[0].set(48, 48); fPts[1].set(48 * 5, 48 * 4); fPts[2].set(48 * 2, 48 * 6); fIsRect = false; }
DrawLineView() { fFB.setWHZ(24*2, 16*2, fZoom); fPts[0].set(1, 1); fPts[1].set(5, 4); fPts[2].set(2, 6); SkMatrix::MakeScale(SkIntToScalar(fZoom)).mapPoints(fPts, 3); fIsRect = false; }
DrawLineView() { fFB.setWHZ(24, 16, kZoom); fPts[0].set(1, 1); fPts[1].set(5, 4); fPts[2].set(2, 6); SkMatrix::MakeScale(kZoom, kZoom).mapPoints(fPts, 3); fIsRect = false; }