protected async void OnSketchModeChanged(SketchMode mode) { this.sketchFilter.SketchMode = mode; this.ResetWorkingBitmap(); this.workingBitmap = await NokiaRenderer.Render(this.workingBitmap, filters); this.ModifiedImage = this.workingBitmap; }
public DistributionSketchSettings(SketchMode skmode, int imagesize) { _mode = skmode; has_axis_values = false; has_axis_titles = false; has_heatmap = false; use_special_colormap = false; has_info = false; has_cartesian_gridlines = false; x_cart_gridlines = 10; y_cart_gridlines = 10; x_label_count = 5; y_label_count = 5; image_height = imagesize; image_width = imagesize; horizontal_title = "x"; vertical_title = "y"; }
public DistributionSketchSettings(SketchMode skmode, bool hasaxisvalues, bool hasaxistitles, bool hasheatmap, bool hasinfo, bool hascartesians, int xgridcount, int ygridcount, int xlabelcount, int ylabelcount, int imagesize) { _mode = skmode; has_axis_values = hasaxisvalues; has_axis_titles = hasaxistitles; has_heatmap = hasheatmap; use_special_colormap = false; has_info = hasinfo; has_cartesian_gridlines = false; x_cart_gridlines = xgridcount; y_cart_gridlines = ygridcount; x_label_count = xlabelcount; y_label_count = ylabelcount; image_height = imagesize; image_width = imagesize; horizontal_title = "x"; vertical_title = "y"; }