public void Combine(Channel channel, ChannelOps operation) { if (!gimp_selection_combine(channel.ID, operation)) { throw new GimpSharpException(); } }
static extern bool gimp_free_select(Int32 image_ID, int num_segs, double[] segs, ChannelOps operation, bool antialias, bool feather, double feather_radius);
extern static bool gimp_free_select(Int32 image_ID, int num_segs, double[] segs, ChannelOps operation, bool antialias, bool feather, double feather_radius);
static extern bool gimp_by_color_select(Int32 drawable_ID, ref GimpRGB color, int threshold, ChannelOps operation, bool antialias, bool feather, double feather_radius, bool sample_merged);
static extern bool gimp_rect_select(Int32 image_ID, double x, double y, double width, double height, ChannelOps operation, bool feather, double feather_radius);
extern static bool gimp_fuzzy_select(Int32 drawable_ID, double x, double y, int threshold, ChannelOps operation, bool antialias, bool feather, double feather_radius, bool sample_merged);
// Fix me: deprecated public void ToSelection(ChannelOps operation, bool antialias, bool feather, double featherRadiusX, double featherRadiusY) { if (!gimp_vectors_to_selection(_ID, operation, antialias, feather, featherRadiusX, featherRadiusY)) { throw new GimpSharpException(); } }
static extern bool gimp_fuzzy_select(Int32 drawable_ID, double x, double y, int threshold, ChannelOps operation, bool antialias, bool feather, double feather_radius, bool sample_merged);
public void CombineMasks(Channel channel, ChannelOps operation, int offx, int offy) { if (!gimp_channel_combine_masks(ID, channel.ID, operation, offx, offy)) { throw new GimpSharpException(); } }
public void Select(double x, double y, double width, double height, ChannelOps operation, bool feather, double featherRadius) { if (!gimp_rect_select(_imageID, x, y, width, height, operation, feather, featherRadius)) { throw new GimpSharpException(); } }
public void ToSelection(ChannelOps op, bool antialias, bool feather, double feather_radius_x, double feather_radius_y) { if (!gimp_path_to_selection(_imageID, _name, op, antialias, feather, feather_radius_x, feather_radius_y)) { throw new GimpSharpException(); } }
public void Select(CoordinateList<double> segs, ChannelOps operation, bool antialias, bool feather, double featherRadius) { var array = segs.ToArray(); if (!gimp_free_select(_imageID, array.Length, array, operation, antialias, feather, featherRadius)) { throw new GimpSharpException(); } }
public void Select(double x, double y, double width, double height, ChannelOps operation, bool antialias, bool feather, double featherRadius) { if (!gimp_ellipse_select(_imageID, x, y, width, height, operation, antialias, feather, featherRadius)) { throw new GimpSharpException(); } }
public void Select(Coordinate <double> coordinate, int threshold, ChannelOps operation, bool antialias, bool feather, double featherRadius, bool sampleMerged) { if (!gimp_fuzzy_select(_drawableID, coordinate.X, coordinate.Y, threshold, operation, antialias, feather, featherRadius, sampleMerged)) { throw new GimpSharpException(); } }
public void Select(CoordinateList <double> segs, ChannelOps operation, bool antialias, bool feather, double featherRadius) { var array = segs.ToArray(); if (!gimp_free_select(_imageID, array.Length, array, operation, antialias, feather, featherRadius)) { throw new GimpSharpException(); } }
public void Select(Coordinate<double> coordinate, int threshold, ChannelOps operation, bool antialias, bool feather, double featherRadius, bool sampleMerged) { if (!gimp_fuzzy_select(_drawableID, coordinate.X, coordinate.Y, threshold, operation, antialias, feather, featherRadius, sampleMerged)) { throw new GimpSharpException(); } }
extern static bool gimp_fuzzy_select_full(Int32 drawable_ID, double x, double y, int threshold, ChannelOps operation, bool antialias, bool feather, double feather_radius_x, double feather_radius_y, bool sample_merged, bool select_transparent, SelectCriterion select_criterion);
public void Select(RGB color, int threshold, ChannelOps operation, bool antialias, bool feather, double featherRadius, bool sampleMerged) { var rgb = color.GimpRGB; if (!gimp_by_color_select(_drawableID, ref rgb, threshold, operation, antialias, feather, featherRadius, sampleMerged)) { throw new GimpSharpException(); } }
public void Select(Coordinate<double> coordinate, int threshold, ChannelOps operation, bool antialias, bool feather, double featherRadiusX, double featherRadiusY, bool sampleMerged, bool selectTransparent, SelectCriterion selectCriterion) { if (!gimp_fuzzy_select_full(_drawableID, coordinate.X, coordinate.Y, threshold, operation, antialias, feather, featherRadiusX, featherRadiusY, sampleMerged, selectTransparent, selectCriterion)) { throw new GimpSharpException(); } }
public void Select(Coordinate <double> coordinate, int threshold, ChannelOps operation, bool antialias, bool feather, double featherRadiusX, double featherRadiusY, bool sampleMerged, bool selectTransparent, SelectCriterion selectCriterion) { if (!gimp_fuzzy_select_full(_drawableID, coordinate.X, coordinate.Y, threshold, operation, antialias, feather, featherRadiusX, featherRadiusY, sampleMerged, selectTransparent, selectCriterion)) { throw new GimpSharpException(); } }
public void ToSelection(ChannelOps operation, bool antialias, bool feather, double featherRadiusX, double featherRadiusY) { if (!gimp_vectors_to_selection(_ID, operation, antialias, feather, featherRadiusX, featherRadiusY)) { throw new GimpSharpException(); } }
static extern bool gimp_fuzzy_select_full(Int32 drawable_ID, double x, double y, int threshold, ChannelOps operation, bool antialias, bool feather, double feather_radius_x, double feather_radius_y, bool sample_merged, bool select_transparent, SelectCriterion select_criterion);
public void ToSelection(ChannelOps operation, bool antialias) { ToSelection(operation, antialias, false, 0, 0); }
public void Select(CoordinateList <double> segs, ChannelOps operation) { Select(segs, operation, false, false, 0); }
extern static bool gimp_selection_combine(Int32 channel_ID, ChannelOps operation);
static extern bool gimp_path_to_selection(Int32 image_ID, string name, ChannelOps op, bool antialias, bool feather, double feather_radius_x, double feather_radius_y);
static extern bool gimp_channel_combine_masks(Int32 channel1_ID, Int32 channel2_ID, ChannelOps operation, int offx, int offy);
public void CombineMasks(Channel channel, ChannelOps operation, Offset offset) { CombineMasks(channel, operation, offset.X, offset.Y); }
extern static bool gimp_vectors_to_selection(Int32 vectors_ID, ChannelOps operation, bool antialias, bool feather, double feather_radius_x, double feather_radius_y);
public void Select(CoordinateList<double> segs, ChannelOps operation) { Select(segs, operation, false, false, 0); }
static extern bool gimp_vectors_to_selection(Int32 vectors_ID, ChannelOps operation, bool antialias, bool feather, double feather_radius_x, double feather_radius_y);
public void FuzzySelect(double x, double y, int threshold, ChannelOps operation, bool antialias, bool feather, double feather_radius, bool sample_merged) { if (!gimp_fuzzy_select(ID, x, y, threshold, operation, antialias, feather, feather_radius, sample_merged)) { throw new GimpSharpException(); } }
static extern bool gimp_selection_combine(Int32 channel_ID, ChannelOps operation);
extern static bool gimp_path_to_selection(Int32 image_ID, string name, ChannelOps op, bool antialias, bool feather, double feather_radius_x, double feather_radius_y);