public void applyPressure(float pressure) {
		// FIXME: no variable size for smudge and oil :(
		if (pressureSize && paintMode != M_SMUDGE && paintMode != M_OIL) {
			curSize = Math.max(.1f, size * pressure);
		} else {
			curSize = Math.max(.1f, size);
		}

		// FIXME: what is the point of doing that?
		if (curSize > 16) {
			curSize = (int) curSize;
		}

		curAlpha = pressureAlpha ? (int) (alpha * pressure) : alpha;
		curSqueeze = squeeze;
		curAngle = angle;
		curScattering = scattering * curSize * (pressureScattering ? pressure : 1.f);

		// tests
		// curScattering = scattering * pressure;
		// curSqueeze = squeeze * pressure;
		// curAngle = angle * pressure;

	}