protected void UpdateResolution(ImageDimensionInt res) { m_resolution = res; m_dimensionRatio = 0; if (m_resolution.Width > 0 && m_resolution.Height > 0) { m_dimensionRatio = m_resolution.CalculateRatio(); } }
protected void ResetResolution() { m_resolution = new ImageDimensionInt(); m_dimensionRatio = 0; }