/** * mypaint_brush_set_mapping_point: * * Set a X,Y point of a dynamics mapping. * The index must be within the number of points set using mypaint_brush_set_mapping_n() */ void mypaint_brush_set_mapping_point(MyPaintBrush *self, MyPaintBrushSetting id, MyPaintBrushInput input, int index, float x, float y) { assert (id >= 0 && id < MYPAINT_BRUSH_SETTINGS_COUNT); mypaint_mapping_set_point(self->settings[id], input, index, x, y); }
void set_point (int input, int index, float x, float y) { mypaint_mapping_set_point(c_mapping, input, index, x, y); }