Code

inkscape.git
17 years agosetting of attributes and default values for feColorMatrix.
jucablues [Sat, 4 Aug 2007 06:50:50 +0000 (06:50 +0000)]
setting of attributes and default values for feColorMatrix.

refactornig: moved read_kernel_matrix to helper-fns.h and renamed it to
helperfns_read_vector. Used it on sp-fecolormatrix.cpp

17 years agoboilerplate code for the remaining filters. My next commits will
jucablues [Sat, 4 Aug 2007 04:18:36 +0000 (04:18 +0000)]
boilerplate code for the remaining filters. My next commits will
probably deal with setting default attribute values for these filters

17 years agoboiler plate code for feTile
jucablues [Fri, 3 Aug 2007 22:06:30 +0000 (22:06 +0000)]
boiler plate code for feTile

17 years agoRearrange snapping preferences, put distinction between paths and nodes back in,...
dvlierop2 [Fri, 3 Aug 2007 19:59:25 +0000 (19:59 +0000)]
Rearrange snapping preferences, put distinction between paths and nodes back in, and a bit of refactoring

17 years agofix compile
buliabyak [Thu, 2 Aug 2007 23:53:16 +0000 (23:53 +0000)]
fix compile

17 years agoFilter effects dialog:
nicholasbishop [Wed, 1 Aug 2007 20:33:00 +0000 (20:33 +0000)]
Filter effects dialog:

Removed unused header file.

17 years agoRenamed various classes:
joelholdsworth [Wed, 1 Aug 2007 19:39:05 +0000 (19:39 +0000)]
Renamed various classes:
FileDialogBase -> FileDialogBaseGtk
FileOpenDialogImpl -> FileOpenDialogImplGtk
FileSaveDialogImpl -> FileSaveDialogImplGtk
FileExportDialog -> FileExportDialogImpl

17 years agoThese files were separated out from filedialog.cpp and filedialog.h, so to facilitate...
joelholdsworth [Wed, 1 Aug 2007 18:50:30 +0000 (18:50 +0000)]
These files were separated out from filedialog.cpp and filedialog.h, so to facilitate a Win32 verion of these impls

17 years agoBroken filedialog into filedialog and filedialogimpl-gtkmm in preparation for a Win32...
joelholdsworth [Wed, 1 Aug 2007 18:48:44 +0000 (18:48 +0000)]
Broken filedialog into filedialog and filedialogimpl-gtkmm in preparation for a Win32 implementation of the file dialogs

17 years agoRedirected opening of AI files to the poppler-based PDF import extension
miklosh [Wed, 1 Aug 2007 11:00:23 +0000 (11:00 +0000)]
Redirected opening of AI files to the poppler-based PDF import extension

17 years agoFilter effects dialog:
nicholasbishop [Wed, 1 Aug 2007 00:05:47 +0000 (00:05 +0000)]
Filter effects dialog:

* Added light source controls for feDiffuseLighting and feSpecularLighting.

17 years agoCommit updates from 1762537 (vi.po) and 1757359 (nl.po).
cmarqu [Tue, 31 Jul 2007 23:27:52 +0000 (23:27 +0000)]
Commit updates from 1762537 (vi.po) and 1757359 (nl.po).

17 years agoFilter effects dialog:
nicholasbishop [Tue, 31 Jul 2007 06:21:42 +0000 (06:21 +0000)]
Filter effects dialog:

* Added a "Link" toggle to the DualSpinSlider widget, when active the two values will be set equal to eachother.
* Added DualSpinButtons (for attributes that have an optional number, similar to DualSpinSlider but without the gtkscale)
* Added MultiSpinButtons (for showing multiple spinbuttons together but with different attributes)

17 years agoForgot to advance text position when skipping the first space
miklosh [Mon, 30 Jul 2007 17:23:38 +0000 (17:23 +0000)]
Forgot to advance text position when skipping the first space

17 years agoType3 fonts do not have a name set so default to 'Arial'
miklosh [Mon, 30 Jul 2007 17:09:28 +0000 (17:09 +0000)]
Type3 fonts do not have a name set so default to 'Arial'

17 years agoAdded image mask support
miklosh [Mon, 30 Jul 2007 16:10:47 +0000 (16:10 +0000)]
Added image mask support

17 years agoDo not flip non-top-level images
miklosh [Mon, 30 Jul 2007 12:05:53 +0000 (12:05 +0000)]
Do not flip non-top-level images

17 years agoDo not set inkscape:groupmode for sub-page objects (eg. patterns)
miklosh [Mon, 30 Jul 2007 12:02:57 +0000 (12:02 +0000)]
Do not set inkscape:groupmode for sub-page objects (eg. patterns)

17 years agoUse the font matrix for Type3 fonts only
miklosh [Mon, 30 Jul 2007 11:34:18 +0000 (11:34 +0000)]
Use the font matrix for Type3 fonts only

17 years agoalways zoom out on rmb
buliabyak [Mon, 30 Jul 2007 01:09:54 +0000 (01:09 +0000)]
always zoom out on rmb

17 years agoadd ui for mousewheel zoom and space pan
buliabyak [Sun, 29 Jul 2007 23:20:05 +0000 (23:20 +0000)]
add ui for mousewheel zoom and space pan

17 years agooptionally zoom with mousewheel without modifiers
buliabyak [Sun, 29 Jul 2007 23:19:05 +0000 (23:19 +0000)]
optionally zoom with mousewheel without modifiers

17 years agoadd more rotation snaps
buliabyak [Sun, 29 Jul 2007 19:46:28 +0000 (19:46 +0000)]
add more rotation snaps

17 years agodue to the order of processing events, we must disable lmb handling in children conte...
buliabyak [Sun, 29 Jul 2007 19:18:19 +0000 (19:18 +0000)]
due to the order of processing events, we must disable lmb handling in children contexts so that parent event context can handle it for space panning

17 years agooptional panning by space
buliabyak [Sun, 29 Jul 2007 05:30:40 +0000 (05:30 +0000)]
optional panning by space

17 years agodifferentiate the SP_ITEM_REFERENCE_FLAGS, even though it is not currently used
buliabyak [Sun, 29 Jul 2007 05:30:04 +0000 (05:30 +0000)]
differentiate the SP_ITEM_REFERENCE_FLAGS, even though it is not currently used

17 years agonow this is the correct way to avoid nested updates, instead of the hack i recently...
buliabyak [Sun, 29 Jul 2007 05:27:33 +0000 (05:27 +0000)]
now this is the correct way to avoid nested updates, instead of the hack i recently removed from sptspan set method

17 years agoadd setter for first x/y pair
buliabyak [Sun, 29 Jul 2007 05:26:04 +0000 (05:26 +0000)]
add setter for first x/y pair

17 years agoFilter effects dialog:
nicholasbishop [Sun, 29 Jul 2007 05:09:02 +0000 (05:09 +0000)]
Filter effects dialog:

Removed debug cout

17 years agoFilter effects dialog:
nicholasbishop [Sun, 29 Jul 2007 04:48:08 +0000 (04:48 +0000)]
Filter effects dialog:

* feMergeNodes can be deleted by clicking the input without dragging.
* feMergeNodes can be added using a special empty input at the bottom of primitive.

17 years agoFilter effects dialog:
nicholasbishop [Sat, 28 Jul 2007 22:43:17 +0000 (22:43 +0000)]
Filter effects dialog:

* Added basic support for feMerge. Nodes can't be added or deleted yet, but the value of their "in" attributes can be edited using drag/drop as with other filters.

17 years agopass the geometric bbox flag when taking bbox for clipping; unfortunately this still...
buliabyak [Sat, 28 Jul 2007 21:03:56 +0000 (21:03 +0000)]
pass the geometric bbox flag when taking bbox for clipping; unfortunately this still does not fix the clip-by-clone crash, now it crashes in the show method instead of bbox...

17 years agoModification of the parameters/return value of SPDesktop::getToplevel
joelholdsworth [Sat, 28 Jul 2007 20:08:47 +0000 (20:08 +0000)]
Modification of the parameters/return value of SPDesktop::getToplevel

17 years ago1) Changes to snapping preferences dialog
dvlierop2 [Sat, 28 Jul 2007 15:47:49 +0000 (15:47 +0000)]
1) Changes to snapping preferences dialog
2) Strict snapping implemented, i.e. bbox only to bbox and nodes only to paths/nodes
3) Renaming of some constants to improve readability

17 years agoSet top-level groups as layers with the name of the PDF document
miklosh [Sat, 28 Jul 2007 14:31:25 +0000 (14:31 +0000)]
Set top-level groups as layers with the name of the PDF document

17 years agoReworked text state handling so that now SvgBuilder keeps track of the current text...
miklosh [Sat, 28 Jul 2007 13:49:57 +0000 (13:49 +0000)]
Reworked text state handling so that now SvgBuilder keeps track of the current text position

17 years agoGtkmm-ified the desktop window object, and modified the file dialogs so that they...
joelholdsworth [Sat, 28 Jul 2007 12:32:01 +0000 (12:32 +0000)]
Gtkmm-ified the desktop window object, and modified the file dialogs so that they are correctly parented

17 years agoFilter effects dialog:
nicholasbishop [Sat, 28 Jul 2007 08:51:54 +0000 (08:51 +0000)]
Filter effects dialog:

* Added settings for feDiffuseLighting.
* Added color buttons for feDiffuseLighting and feSpecularLighting.

17 years agoFilter effects dialog:
nicholasbishop [Sat, 28 Jul 2007 04:34:13 +0000 (04:34 +0000)]
Filter effects dialog:

* Changed lower limit of gaussian blur to 0.01, as the value 0 makes the result blank
* Corrected a couple of sp_document_done calls

17 years agofix off-by-one with line drawing
mental [Sat, 28 Jul 2007 03:03:40 +0000 (03:03 +0000)]
fix off-by-one with line drawing

17 years agonudge things over by a pixel to make them line up
mental [Sat, 28 Jul 2007 02:46:04 +0000 (02:46 +0000)]
nudge things over by a pixel to make them line up

17 years agoFilter effects dialog:
nicholasbishop [Sat, 28 Jul 2007 01:55:25 +0000 (01:55 +0000)]
Filter effects dialog:

* Limited the upper bounds of the feConvolveMatrix attributes targetX and targetY so that they match the value of Order.

17 years agoFilter effects dialog:
nicholasbishop [Sat, 28 Jul 2007 01:26:13 +0000 (01:26 +0000)]
Filter effects dialog:

* A couple corrections to the way the vertical inputs are displayed and handled.

17 years agoFilter effects dialog:
nicholasbishop [Sat, 28 Jul 2007 00:57:35 +0000 (00:57 +0000)]
Filter effects dialog:

* Added settings widgets for feConvolveMatrix's target attribute
* Changed the order attribute to show both spin widgets on the same row

17 years agoVarious small cleanups and optimizations to Paint Bucket tool.
johncoswell [Fri, 27 Jul 2007 23:29:21 +0000 (23:29 +0000)]
Various small cleanups and optimizations to Paint Bucket tool.

17 years agoFilter effects dialog:
nicholasbishop [Fri, 27 Jul 2007 22:09:16 +0000 (22:09 +0000)]
Filter effects dialog:

* Changed drawing of vertical input bars to make them stick to the right side of the treeview.

17 years agoFilter effects dialog:
nicholasbishop [Fri, 27 Jul 2007 21:49:35 +0000 (21:49 +0000)]
Filter effects dialog:

* For the Order attribute of feConvolveMatrix, show only the spin control, not the slider

17 years agoAdding a sample file demonstrating the use of tref to share/examples.
gbanaszk [Fri, 27 Jul 2007 15:58:56 +0000 (15:58 +0000)]
Adding a sample file demonstrating the use of tref to share/examples.

17 years agocosmetic improvement to standard filter input bar rendering
mental [Fri, 27 Jul 2007 07:39:39 +0000 (07:39 +0000)]
cosmetic improvement to standard filter input bar rendering

17 years agoFilter effects dialog:
nicholasbishop [Fri, 27 Jul 2007 05:44:24 +0000 (05:44 +0000)]
Filter effects dialog:

* Double-clicking a filter now applies it to the selection
* Updating filter settings widgets no longer updates the filter primitive

17 years agorefactoring: gathering some commonly copy'n'pasted functions on a common
jucablues [Fri, 27 Jul 2007 04:23:10 +0000 (04:23 +0000)]
refactoring: gathering some commonly copy'n'pasted functions on a common
header

17 years agoFilter effects dialog:
nicholasbishop [Fri, 27 Jul 2007 03:30:53 +0000 (03:30 +0000)]
Filter effects dialog:

First commit of improvements to the dialog discussed on the dev list. The dialog now tracks the selection and selects the appropriate filter, as well as displaying a small icon to indicate what filter(s) are applied to the selection.

17 years agopatch 1750206 by Bruno Dilly - bdilly
jucablues [Fri, 27 Jul 2007 03:18:38 +0000 (03:18 +0000)]
patch 1750206 by Bruno Dilly - bdilly
Remove "cout" from on_changed() of PrefCombo

17 years agoadded helper methods NumberOptNumber::numIsSet() and
jucablues [Fri, 27 Jul 2007 03:07:02 +0000 (03:07 +0000)]
added helper methods NumberOptNumber::numIsSet() and
NumberOptNumber::optNumIsSet()
using it for default attribute values in feTubulence and
feConvolvematrix

feDisplacementMap scale parameter variable is a double

17 years agoFix Bug 1653629 : we can know start inkscape without key file
jrreinhard [Thu, 26 Jul 2007 20:25:47 +0000 (20:25 +0000)]
Fix Bug 1653629 : we can know start inkscape without key file

17 years agoImproved svg input and output for lighting effects and lights
jrreinhard [Thu, 26 Jul 2007 19:05:15 +0000 (19:05 +0000)]
Improved svg input and output for lighting effects and lights

17 years agoAdded support for feMerge filter priitive
kiirala [Thu, 26 Jul 2007 11:38:36 +0000 (11:38 +0000)]
Added support for feMerge filter priitive

17 years agoSpinSlider:
nicholasbishop [Thu, 26 Jul 2007 09:08:25 +0000 (09:08 +0000)]
SpinSlider:

If the digits value is set to zero, truncate the value when setting the attribute so it is an int, rather than a double.

17 years agoAdded attr-widgets, missing from my last commit
nicholasbishop [Thu, 26 Jul 2007 08:27:43 +0000 (08:27 +0000)]
Added attr-widgets, missing from my last commit

17 years agoboiler plate code for feTurbulence:
jucablues [Thu, 26 Jul 2007 08:02:07 +0000 (08:02 +0000)]
boiler plate code for feTurbulence:
*reading attributes and setting default values

same for some more attributes on convolve matrix filter

alphabetical ordering on Makefile_insert and on nr-filter.cpp #includes

17 years agoFilter effects dialog:
nicholasbishop [Thu, 26 Jul 2007 07:06:41 +0000 (07:06 +0000)]
Filter effects dialog:

This is a large commit that greatly simplifies the creation and use of all the filter settings in the dialog.

* Added AttrWidget class to provide an interface for the settings widgets. Allows the widget to read and write to an attribute.
* Modified the ComboBoxEnum, SpinSlider, and ConvolveMatrix widgets to use AttrWidget, more to follow.
* Removed lots of specific filter settings code in favor of the more generic system.

17 years agoadd 3d tool
buliabyak [Thu, 26 Jul 2007 05:23:20 +0000 (05:23 +0000)]
add 3d tool

17 years agoinkscape.xml and default.xml must be the same
buliabyak [Thu, 26 Jul 2007 05:05:53 +0000 (05:05 +0000)]
inkscape.xml and default.xml must be the same

17 years agofeImage boilerplate code.
jucablues [Thu, 26 Jul 2007 03:08:18 +0000 (03:08 +0000)]
feImage boilerplate code.

17 years agoimproving displacement map renderer.
jucablues [Thu, 26 Jul 2007 02:00:51 +0000 (02:00 +0000)]
improving displacement map renderer.

17 years agoReworked text output to create <text> nodes on text matrix changes rather than on...
miklosh [Wed, 25 Jul 2007 17:04:19 +0000 (17:04 +0000)]
Reworked text output to create <text> nodes on text matrix changes rather than on every font update

17 years agoAdd 2 new object snapping modes: bbox to bbox, and nodes to bbox
dvlierop2 [Wed, 25 Jul 2007 12:19:44 +0000 (12:19 +0000)]
Add 2 new object snapping modes: bbox to bbox, and nodes to bbox

17 years agoAdd a method to create a rectangular curve
dvlierop2 [Wed, 25 Jul 2007 12:12:23 +0000 (12:12 +0000)]
Add a method to create a rectangular curve

17 years agoSnapping the transformation origin should also work for paths, not only for shapes
dvlierop2 [Wed, 25 Jul 2007 12:07:39 +0000 (12:07 +0000)]
Snapping the transformation origin should also work for paths, not only for shapes

17 years agoRetrieve preferences outside the for-loop, not inside.
dvlierop2 [Wed, 25 Jul 2007 12:01:37 +0000 (12:01 +0000)]
Retrieve preferences outside the for-loop, not inside.

17 years agoAdded example of lighting effects
kiirala [Wed, 25 Jul 2007 08:35:40 +0000 (08:35 +0000)]
Added example of lighting effects

17 years agoDisplacementMap filter boilerplate code + renderer draft implementation.
jucablues [Wed, 25 Jul 2007 07:12:49 +0000 (07:12 +0000)]
DisplacementMap filter boilerplate code + renderer draft implementation.
General setting of attributes and default values.

renderer method is still not correct. Needs some more effort.

17 years agoSmall polishing.
cmarqu [Tue, 24 Jul 2007 22:22:08 +0000 (22:22 +0000)]
Small polishing.

17 years agoModified CSS font style and text matrix setting to work with TrueType fonts
miklosh [Tue, 24 Jul 2007 18:21:51 +0000 (18:21 +0000)]
Modified CSS font style and text matrix setting to work with TrueType fonts

17 years agoSet the xml:space attribute on <svg> once rather than on every <text>
miklosh [Tue, 24 Jul 2007 17:12:04 +0000 (17:12 +0000)]
Set the xml:space attribute on <svg> once rather than on every <text>

17 years agoFixed rendering glitch in bicubic scaler
kiirala [Tue, 24 Jul 2007 12:48:54 +0000 (12:48 +0000)]
Fixed rendering glitch in bicubic scaler

17 years agoFixed a memory leak in lighting effects rendering
kiirala [Tue, 24 Jul 2007 12:47:31 +0000 (12:47 +0000)]
Fixed a memory leak in lighting effects rendering

17 years agofix makefile for case change of CXX dir
johanengelen [Tue, 24 Jul 2007 09:20:38 +0000 (09:20 +0000)]
fix makefile for case change of CXX dir

17 years agoFilter effects dialog:
nicholasbishop [Tue, 24 Jul 2007 04:27:01 +0000 (04:27 +0000)]
Filter effects dialog:

* Added filtereffects to the preferences-skeleton so that the dialog size is saved and restored.

17 years agoFilter effects dialog:
nicholasbishop [Mon, 23 Jul 2007 21:26:50 +0000 (21:26 +0000)]
Filter effects dialog:

* Fixed misnamed primitive input (BackgroundImage was incorrectly called BackgroundGraphic)
* Removed the filter primitive input comboboxes in favor of drag-and-drop. The standard inputs are shown as vertical text to the right.
* Various minor improvements to the drawing of filter connections

17 years agoPatch by Felipe Sanches: fixed transparent lines in feConvolveMatrix output
kiirala [Mon, 23 Jul 2007 19:09:12 +0000 (19:09 +0000)]
Patch by Felipe Sanches: fixed transparent lines in feConvolveMatrix output

17 years agoAdded tiling pattern support
miklosh [Mon, 23 Jul 2007 18:02:43 +0000 (18:02 +0000)]
Added tiling pattern support

17 years agoRemoved transform from <svg> and corrected matrix multiplication order in PdfParser...
miklosh [Mon, 23 Jul 2007 14:05:39 +0000 (14:05 +0000)]
Removed transform from <svg> and corrected matrix multiplication order in PdfParser::opConcat

17 years agoPatch by Jean-René Reinhard: better SVG compliance for lighting effects
kiirala [Mon, 23 Jul 2007 08:12:06 +0000 (08:12 +0000)]
Patch by Jean-René Reinhard: better SVG compliance for lighting effects

17 years agoremoving kerns also trims multi-value x attribute; allow it to work on tspans as...
buliabyak [Mon, 23 Jul 2007 06:31:01 +0000 (06:31 +0000)]
removing kerns also trims multi-value x attribute; allow it to work on tspans as well

17 years agoremove age-old optimization which fails to update display when undoing removing manua...
buliabyak [Mon, 23 Jul 2007 06:00:22 +0000 (06:00 +0000)]
remove age-old optimization which fails to update display when undoing removing manual kerns

17 years agoAdded some heuristics to set CSS font-style and font-weight from PDF font names when...
miklosh [Sun, 22 Jul 2007 20:07:18 +0000 (20:07 +0000)]
Added some heuristics to set CSS font-style and font-weight from PDF font names when these properties are not available from poppler

17 years agoFilter effects dialog:
nicholasbishop [Sun, 22 Jul 2007 19:46:00 +0000 (19:46 +0000)]
Filter effects dialog:

Created simple controls for feConvolveMatrix. Currently only handles attributes order and kernelMatrix.

17 years agotspan statusbar description
buliabyak [Sun, 22 Jul 2007 18:04:51 +0000 (18:04 +0000)]
tspan statusbar description

17 years agotspan statusbar description
buliabyak [Sun, 22 Jul 2007 18:03:54 +0000 (18:03 +0000)]
tspan statusbar description

17 years agoAdded xml:space=preserve attribute on <text> nodes and sodipodi:role=line attribute...
miklosh [Sun, 22 Jul 2007 12:28:23 +0000 (12:28 +0000)]
Added xml:space=preserve attribute on <text> nodes and sodipodi:role=line attribute on <tspan> nodes to ease text editing

17 years agoUse the #RRGGBB color format instead of rgb() since most extensions don't support...
miklosh [Sun, 22 Jul 2007 11:08:27 +0000 (11:08 +0000)]
Use the #RRGGBB color format instead of rgb() since most extensions don't support the latter

17 years agoFurther development of the PDF import module: continued pruning of PdfParser.cpp...
miklosh [Sat, 21 Jul 2007 17:59:49 +0000 (17:59 +0000)]
Further development of the PDF import module: continued pruning of PdfParser.cpp, added basic text and image support and did some coding style
adjustments.

17 years agoAdded a missing link in making the filterRes attribute work
kiirala [Sat, 21 Jul 2007 07:00:28 +0000 (07:00 +0000)]
Added a missing link in making the filterRes attribute work

17 years agoPatch from Felipe Sanches: support for feConvolveMatrix filter primitive
kiirala [Fri, 20 Jul 2007 20:19:00 +0000 (20:19 +0000)]
Patch from Felipe Sanches: support for feConvolveMatrix filter primitive

17 years agoPatch from Jean-René Reinhard: support for feDiffuseLighting and
kiirala [Fri, 20 Jul 2007 19:50:41 +0000 (19:50 +0000)]
Patch from Jean-René Reinhard: support for feDiffuseLighting and
feSpecularLighting filter primitives

17 years agoUpdated the gtkmmified fill and stroke dialog with the filter effects
gustav_b [Fri, 20 Jul 2007 19:28:05 +0000 (19:28 +0000)]
Updated the gtkmmified fill and stroke dialog with the filter effects
changes done in the current f&s dialog. I'll probably make the gtkmmified one
default pretty soon to avoid double work...

17 years agoCleaned up logic of sp_te_delete to adhere to UI/logic layering.
gbanaszk [Wed, 18 Jul 2007 18:33:13 +0000 (18:33 +0000)]
Cleaned up logic of sp_te_delete to adhere to UI/logic layering.

17 years agomake all-inkscape-files the default filter instead of all-images (do we need that...
buliabyak [Wed, 18 Jul 2007 16:33:53 +0000 (16:33 +0000)]
make all-inkscape-files the default filter instead of all-images (do we need that at all? MIME has some pretty strange notions of what is an image and what not)

17 years agoUse Inkscape's own code to write coordinates to svg (much nicer fix than commit ...
cilix42 [Wed, 18 Jul 2007 02:23:47 +0000 (02:23 +0000)]
Use Inkscape's own code to write coordinates to svg (much nicer fix than commit #15449)