Commit Graph

27737 Commits

Author SHA1 Message Date
Michael Muré 09ce431e7d gimpoperationcage: now inherit from GeglOperationComposer, to have an aux buffer for the coef 2010-08-08 13:26:41 +02:00
Michael Muré 670a20de05 gimpcageconfig: correct scaling factor memory allocation 2010-08-08 13:26:29 +02:00
Michael Muré 54ef87a7d3 gimpcageconfig: add the scaling factor computation 2010-08-08 13:26:20 +02:00
Michael Muré 973aeee9d4 register gimpoperationcagecoefcalc 2010-08-08 13:26:12 +02:00
Michael Muré 4f26fc8d44 gimpcageconfig: fix compilation 2010-08-08 13:26:03 +02:00
Michael Muré 7436539878 gimpcageconfig: correct indentation 2010-08-08 13:25:53 +02:00
Michael Muré d7474cd33a gimpcageconfig: correct indentation 2010-08-08 13:25:42 +02:00
Michael Muré 74a37c6266 gimpoperationcoefcalc: get_bounding_box now return the bounding box of the cage 2010-08-08 13:25:33 +02:00
Michael Muré b05460f292 add a gegl operator that compute the coeffcient for a cage transform 2010-08-08 13:25:21 +02:00
Michael Muré c686093b38 make GimpCageOptions to use the new enum for Cage mode 2010-08-08 13:25:10 +02:00
Michael Muré 2abbfc9114 rewrite of the GimpCage data structure as a Gegl config object 2010-08-08 13:25:00 +02:00
Michael Muré 5d483a9517 add an enum for cage mode 2010-08-08 13:24:50 +02:00
Michael Muré 066bbb80f4 gimpcagetool: flush the image correctly after applying a cage deform 2010-08-08 13:24:39 +02:00
Michael Muré e141953d35 gimpcagetool: the cage can be closed only if the number of point is 3 or more 2010-08-08 13:24:29 +02:00
Michael Muré 98ff627955 gimpcagetool: fix a missing include and a function declaration 2010-08-08 13:24:16 +02:00
Michael Muré fcd156014a gimpcagetool: beginning of the link tool/gegl op 2010-08-08 13:24:06 +02:00
Michael Muré c24029c230 gimpcage: fix of a bug in the bounding box computation 2010-08-08 13:23:56 +02:00
Michael Muré df842ba87c gimpcage: add a missing update of the scaling factor 2010-08-08 13:23:45 +02:00
Michael Muré a20c519baf gimpoperationcage: use of no_cache = false 2010-08-08 13:23:33 +02:00
Michael Muré c1485b214e gimpoperationcage: update of the static cage 2010-08-08 13:23:23 +02:00
Michael Muré 2ef73c356e GimpCage: now reverse the cage before computation if needed 2010-08-08 13:23:12 +02:00
Michael Muré db5981a69c gimpcagetool: draw/edit cage, accordingly to cage mode 2010-08-08 13:22:56 +02:00
Michael Muré d836615ae7 gimpcagetool: now inherit from GimpDrawTool. Moving cage point also works. 2010-08-08 13:22:44 +02:00
Michael Muré ad0a81c528 gimpoperationcage: iterate accordingly to cage's bounding box.
pre-copy the input buffer to the output.
2010-08-08 13:22:34 +02:00
Michael Muré 1b67742e4f gimpcage: add a function to compute the bounding box of the deformed cage. Computing of the coefficient is done accordingly. Update of the gegl op. Also add a wip function to compute if the cage is clockwise or not. 2010-08-08 13:22:24 +02:00
Michael Muré a93752554d gimpoperationcage: update of the gegl operator to use the deformed cage indide GimpCage and the scale factor. 2010-08-08 13:22:14 +02:00
Michael Muré 81f9e6019b gimpcage: add a second series of point for the deformed cage, with access function. Also add the computing of the scaling factor and a function to reverse the cage. 2010-08-08 13:22:04 +02:00
Michael Muré 6533622ace update of the cage tool icon, a bit less blurry.
thanks again to Barak Itkin <lightningismyname@gmail.com>
2010-08-08 13:21:53 +02:00
Michael Muré 98b198785a gimpoperationcage: the gegl op now do a transformation, with cage vertices hardcoded 2010-08-08 13:21:41 +02:00
Michael Muré 3715837edf gimpcage: add a function that return the normal to an edge of the cage 2010-08-08 13:21:30 +02:00
Michael Muré 884bc9b0f5 libgimpmath: add a function that compute the normal vector to an other 2010-08-08 13:21:19 +02:00
Michael Muré fb737d2197 Update of the cage tool icon.
Big thanks to Barak Itkin <lightningismyname@gmail.com>
2010-08-08 13:21:08 +02:00
Michael Muré f994d57732 gimpcage data structure:
- fix of the iteration of the buffers
- missing term in the computing
- expose the compute coefficient function
2010-08-08 13:20:58 +02:00
Michael Muré 509d329f15 Cage transform gegl op: now correctly iterate and fill with a color 2010-08-08 13:20:47 +02:00
Michael Muré b010b19118 app/gegl/gimpoperationcage: add code to iterate the out buffer and set a color. 2010-08-08 13:20:35 +02:00
Michael Muré 2157a67cea app/core/gimpcage: add access functions to the cage data structure (add a vertice, remove the last, move a vertice, check if a point is near a vertice)
app/tools/gimpcagetool: The tool can now draw a cage, add vertices, remove the last, close the cage
2010-08-08 13:20:24 +02:00
Michael Muré a50c5dc464 add an entry for the cage transform tool in the menu 2010-08-08 13:20:12 +02:00
Michael Muré 1856516547 Beginning of GimpCage data structure, with the computation of the coefficient (test needed) 2010-08-08 13:20:00 +02:00
Michael Muré 6a387f7db0 Enhancement of the CageOptions object to allow the selection of the mode (creation or transform of the cage) + basic gui 2010-08-08 13:19:45 +02:00
Michael Muré b389ec701c Change of the cage tool icon for those from LightningIsMyName 2010-08-08 13:19:30 +02:00
Michael Muré f6316285be structure of the cage tool, with an options object 2010-08-08 13:17:10 +02:00
Michael Muré 24652b4fbd empty gobject for GimpCage (data structure), GimpOperationCage (Gegl op) and GimpCageTool (frontend) 2010-08-08 13:16:57 +02:00
Alexandre Prokoudine 1ab08ade9f A fix to Russian translation at shimon's suggestion 2010-06-30 19:46:06 +04:00
Michael Natterer 945641232e libgimpconfig: fix a lot of gtk-doc warnings 2010-06-29 22:19:11 +02:00
Michael Natterer 1af54c7874 libgimpconfig: move docs from template files to inline comments 2010-06-29 20:59:07 +02:00
Sven Neumann e74989282b data: add 2.6 splash screen to the splash screen gallery 2010-06-29 20:13:42 +02:00
Michael Natterer 7b335188b6 libgimpcolor: fix most gtk-doc warnings 2010-06-29 20:08:39 +02:00
Michael Natterer 1649241483 libgimpcolor: move docs from template files to inline comments
Only added section headers for now, there was nothing else in the
template files.
2010-06-29 19:46:37 +02:00
Michael Natterer 48f54d50f1 devel-docs: really remove the template files 2010-06-29 19:18:52 +02:00
Michael Natterer 3411c7b63a libgimpbase: move docs from template files to inline comments
and remove all template files. Also fixed all gtk-doc warnings
and fixed/added some docs.
2010-06-29 19:16:51 +02:00