818739a0e3
app: remove superfluous frame and label from GEGL tool
2012-05-02 17:50:47 +02:00
e437d72468
app: remove color_pixels()
2012-05-02 17:50:47 +02:00
db0eb0f77c
app: paint ink's color into the paint_buffer not the paint_area
2012-05-02 17:50:47 +02:00
9ac79ddc9c
app: port paintbrush and eraser to paint to GEGL buffers
2012-05-02 17:50:47 +02:00
12ac0bea13
app: add gimp_paint_core_get_paint_buffer()
...
which is the same as gimp_paint_core_get_paint_area() but returns a
GeglBuffer to paint to, not a TempBuf.
2012-05-02 17:50:47 +02:00
ab29daf758
app: remove unneeded includes from gimpairbush.c
2012-05-02 17:50:47 +02:00
1dbadb772d
app: rename GimpPaintCore->canvas_buf to ->paint_area
...
because that's what it's called in public API. This has confused me
long enough now.
2012-05-02 17:50:46 +02:00
ca7ee8400e
app: remove gimp_image_transform_temp_buf()
2012-05-02 17:50:46 +02:00
3b936fe595
app: GimpImageType -> Babl in GipmBrushClipboard
2012-05-02 17:50:46 +02:00
93009ef274
app: use gimp_temp_buf_create_buffer() all over the place
...
instead of creating linear buffers manually.
2012-05-02 17:50:46 +02:00
2957795372
app: add gimp_gegl_node_set_matrix() and use it instead of manual fiddling
2012-05-02 17:50:46 +02:00
2af0681587
app: don't create copies in gimp_paint_core_get_orig_image,proj()
...
and instead simply return the paint_core owned buffers. Also, move
graph creation and source buffer fiddling out of perspective clone's
inner loop, and set an area to be processed manually, which makes it
responsive again.
2012-05-02 17:50:46 +02:00
42713a953b
app: don't dup the TempBuf in gimp_temp_buf_create_buffer()
...
so this function now creates a buffer on a temp_buf is doesn't own.
2012-05-02 17:50:46 +02:00
77c34a835b
app: pattern-clone using gegl_buffer_set_pattern()
...
instead of tons and tons of legacy code.
2012-05-02 17:50:45 +02:00
7da52eb917
app: keep the transform graph around during one paint stroke
2012-05-02 17:50:45 +02:00
ebd419d4d5
app: use a gamma of 1.7 for brush radius slider
2012-05-02 17:50:45 +02:00
8994acc6a8
app: handle negative fractions correctly in spinscale
2012-05-02 17:50:45 +02:00
93864e3082
app: remove legacy includes
2012-05-02 17:50:45 +02:00
7c2c671703
app: make gimp_paint_core_get_orig_image,proj() return GeglBuffers
...
and change their users accordingly, getting rid of temp buffers and
useless copies.
2012-05-02 17:50:44 +02:00
d7e9c6b7fe
app: git_spin_scale invoke value_changed when setting gamma
2012-05-02 17:50:44 +02:00
5666697362
app: initialize gamma of spin scale to 1.0
2012-05-02 17:50:44 +02:00
2c4a59c1e5
app: fix buffer copying offsets in gimp_clone_motion()
...
so it works again at the image's borders.
2012-05-02 17:50:44 +02:00
7181402a62
app: clean up warning in spinscale
2012-05-02 17:50:44 +02:00
b8e340b5bc
app: update paramspec duplication with changes in gegl paramspecs
2012-05-02 17:50:44 +02:00
553b7c7c03
app: add configurable nonlinear mapping (gamma) to spinscale widget
...
The default value is 1.0 which is linear and the old behavior, values above
1.0 gives finer control in the lower portions of the range, the lower half of
the widget behaves like before doing small relative adjustments.
2012-05-02 17:50:44 +02:00
95bf75d7a5
app: in GimpSourceCore's vfuncs, pass GeglBuffers around not PixelRegions
...
which simplifies a lot of code, just don't look at GimpHeal until
it's completely ported ;)
2012-05-02 17:50:44 +02:00
1cee8d79bf
app: respect GEGLs ui-range hints for properties
2012-05-02 17:50:44 +02:00
eb2e658408
app: replace GimpPaintCore->canvas_buf by a GeglBuffer
2012-05-02 17:50:43 +02:00
c9d0386e0c
app: replace GimpPaintCore->saved_proj_tiles by a GeglBuffer
2012-05-02 17:50:43 +02:00
50d7242b87
app: remove gimp_image_transform_rgb()
...
and use gimp_rgba_get_pixel() instead.
2012-05-02 17:50:43 +02:00
3e119c5af7
libgimpcolor: add gimp_rgb[a]_set,get_pixel()
...
which converts from/to any pixel format using Babl. Added tons of
includes and CFLAGS now that libgimpcolor publically uses Babl.
2012-05-02 17:50:43 +02:00
7f437d7d53
app: remove gimp_image_get_foreground,background()
...
and use gimp_context_get_foreground,background_pixel() instead.
2012-05-02 17:50:43 +02:00
8dfea70191
app: fix GIMP_TIMER_END() to take an arbitrary string
...
not a string constant that only works in the C preprocessor, and add a
timer to gimp_apply_operation().
2012-05-02 17:50:43 +02:00
1921fa7de3
app: always create a new tool in filters_filter_cmd_callback()
...
Things will get more complicated in GimpOperationTool soon, and we
don't want to mess around with reconfiguring *everything* in the tool.
2012-05-02 17:50:43 +02:00
29e7837441
app: remove gimpdrawable-process.[ch]
2012-05-02 17:50:43 +02:00
28913496bb
app: use a GimpSpinScale instead of a scale entry in the prop_table
2012-05-02 17:50:43 +02:00
8bc6f1ee09
app: add parent_type parameter to gimp_gegl_get_config_proxy()
...
and derive from that type. Use GimpImageMapConfig as base class for
GimpOperationTool's config.
2012-05-02 17:50:42 +02:00
e8cc9d1bf5
app: turn gimp_image_map_tool_add_settings_gui() into a virtual function
...
and change it to return the settings ui, not add it.
2012-05-02 17:50:42 +02:00
8e31fdf363
app: remove paint-funcs/reduce-region.[ch]
2012-05-02 17:50:42 +02:00
23811be3f6
app: remove paint-funcs/scale-region.[ch]
2012-05-02 17:50:42 +02:00
1a34171e68
app: remove the legacy option in gimp_drawable_scale()
2012-05-02 17:50:42 +02:00
87b7af7fa5
app: remove drawable->private->format, its buffer has a format already
...
Also, make group layer type conversion much less hackish by using the
same kind of temporary states that are used for reallocating its
projection on size change.
2012-05-02 17:50:42 +02:00
49de3d5292
app: follow changes in GeglOperation API
2012-05-02 17:50:42 +02:00
deb9b9caa8
app: replace GimpProjectable::get_image_type() by ::get_format()
...
and change semantics to returning the format it wants to be projected
in, not its actual format.
2012-05-02 17:50:42 +02:00
2a853cd1ee
app: remove GimpPickable::get_bytes()
2012-05-02 17:50:42 +02:00
5e754a9641
app: remove GimpPickable::get_image_type()
2012-05-02 17:50:42 +02:00
5fba7c70c7
app: replace the tile pyramid's GimpImageType by bytes, it needs nothing else
2012-05-02 17:50:41 +02:00
e00598abed
app: remove the legacy gimp-transform-region code
2012-05-02 17:50:41 +02:00
f4a4aa2133
app: use a GEGL graph for perspective clone's transform
...
Horribly slow, but seems to work.
2012-05-02 17:50:41 +02:00
95327090c0
app: remove legacy support from gimpdrawable-transform.c
2012-05-02 17:50:41 +02:00