예제 #1
0
 private void UpdateMatrices()
 {
     colorMatrix           = ColorMatrix.FromPrimaries((double)ctpRx.Value, (double)ctpRy.Value, (double)ctpGx.Value, (double)ctpGy.Value, (double)ctpBx.Value, (double)ctpBy.Value, (double)ctpWx.Value, (double)ctpWy.Value);
     colorInverse          = colorMatrix.Inverse();
     ctpMatrix.Text        = colorMatrix.ToString();
     ctpMatrixInverse.Text = colorInverse.ToString();
 }