void XMarkBrightChanges_Click(object sender, RoutedEventArgs e) { PhotoCanvas pc = new PhotoCanvas(LayoutRoot); pc.DrawBrightChangesCurve(SourcePhoto, "XMark"); LayoutRoot.Children.Add(pc); }
void XMarkLatitude_Click(object sender, RoutedEventArgs e) { PhotoCanvas pc = new PhotoCanvas(LayoutRoot); pc.DrawLatitudeCurve(SourcePhoto, "XMark"); LayoutRoot.Children.Add(pc); }
void XRiteWhiteBalance_Click(object sender, RoutedEventArgs e) { PhotoCanvas pc = new PhotoCanvas(LayoutRoot); pc.DrawWhiteBalanceCurve(SourcePhoto, "XRite"); LayoutRoot.Children.Add(pc); }
void XMarkDispersiveness_Click(object sender, RoutedEventArgs e) { PhotoCanvas pc = new PhotoCanvas(LayoutRoot); pc.DrawDispersivenessCurve(SourcePhoto, "XMark"); LayoutRoot.Children.Add(pc); }
void ISO12233MTF_Click(object sender, RoutedEventArgs e) { PhotoCanvas pc = new PhotoCanvas(LayoutRoot); pc.DrawMTFCurve(SourcePhoto, "ISO12233"); LayoutRoot.Children.Add(pc); }
void XMarkWaveQ_Click(object sender, RoutedEventArgs e) { PhotoCanvas pc = new PhotoCanvas(LayoutRoot); for (int i = 0; i < 5; i++) { ComboBoxItem ci = new ComboBoxItem(); ci.Content = i.ToString(); pc.ComIndex.Items.Add(ci); } pc.ComIndex.SelectionChanged += new SelectionChangedEventHandler(pc.WaveQ_SelectionChanged); pc.ComIndex.Visibility = Visibility.Visible; pc.DrawWaveQCurve(0, SourcePhoto, "XMark"); LayoutRoot.Children.Add(pc); }