Code

inkscape.git
16 years agofeColorMatrix filter primitive implementation
jucablues [Sun, 5 Aug 2007 05:07:59 +0000 (05:07 +0000)]
feColorMatrix filter primitive implementation

16 years agoFilter effects dialog:
nicholasbishop [Sun, 5 Aug 2007 03:51:14 +0000 (03:51 +0000)]
Filter effects dialog:

* Added a class to show a checkbutton setting
* Added most of the settings for feTurbulence

16 years agoadding files that were missing on my previous commit
jucablues [Sun, 5 Aug 2007 01:19:50 +0000 (01:19 +0000)]
adding files that were missing on my previous commit

16 years agoUse Dia's new homepage address.
cmarqu [Sat, 4 Aug 2007 23:39:58 +0000 (23:39 +0000)]
Use Dia's new homepage address.

16 years agoUse Dia's new homepage address.
cmarqu [Sat, 4 Aug 2007 23:39:34 +0000 (23:39 +0000)]
Use Dia's new homepage address.

16 years agoFix some things that pofilter found.
cmarqu [Sat, 4 Aug 2007 23:30:56 +0000 (23:30 +0000)]
Fix some things that pofilter found.

16 years agoAdded 3D box keyboard shortcut to right handed illustration keyboard layout
johncoswell [Sat, 4 Aug 2007 18:10:58 +0000 (18:10 +0000)]
Added 3D box keyboard shortcut to right handed illustration keyboard layout

16 years agoVersion generated from it.po.
cmarqu [Sat, 4 Aug 2007 14:14:55 +0000 (14:14 +0000)]
Version generated from it.po.

16 years ago * [it] a better term
luca_bruno [Sat, 4 Aug 2007 11:06:02 +0000 (11:06 +0000)]
 * [it] a better term

16 years agoMake snapping to the item's transformation center optional, but not yet available...
dvlierop2 [Sat, 4 Aug 2007 09:10:17 +0000 (09:10 +0000)]
Make snapping to the item's transformation center optional, but not yet available in the snapping preferences dialog

16 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

16 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

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

16 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

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

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

Removed unused header file.

16 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

16 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

16 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

16 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

16 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.

16 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).

16 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)

16 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

16 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'

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

16 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

16 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)

16 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

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

16 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

16 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

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

16 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

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

16 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

16 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

16 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

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

Removed debug cout

16 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.

16 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.

16 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...

16 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

16 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

16 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

16 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

16 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

16 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.

16 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

16 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

16 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

16 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.

16 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.

16 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

16 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.

16 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.

16 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

16 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.

16 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

16 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

16 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

16 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.

16 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

16 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

16 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

16 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

16 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

16 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.

16 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

16 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

16 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.

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

16 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

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

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

16 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

16 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

16 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

16 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

16 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.

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

16 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.

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

16 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

16 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>

16 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

16 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

16 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

16 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.

16 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

16 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

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

16 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

16 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

16 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

16 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

16 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

16 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.

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

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