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
refactornig: moved read_kernel_matrix to helper-fns.h and renamed it to
helperfns_read_vector. Used it on sp-fecolormatrix.cpp
boilerplate code for the remaining filters. My next commits will
probably deal with setting default attribute values for these filters
probably deal with setting default attribute values for these filters
boiler plate code for feTile
Rearrange snapping preferences, put distinction between paths and nodes back in, and a bit of refactoring
fix compile
Filter effects dialog:
Removed unused header file.
Removed unused header file.
Renamed various classes:
FileDialogBase -> FileDialogBaseGtk
FileOpenDialogImpl -> FileOpenDialogImplGtk
FileSaveDialogImpl -> FileSaveDialogImplGtk
FileExportDialog -> FileExportDialogImpl
FileDialogBase -> FileDialogBaseGtk
FileOpenDialogImpl -> FileOpenDialogImplGtk
FileSaveDialogImpl -> FileSaveDialogImplGtk
FileExportDialog -> FileExportDialogImpl
17 years agoThese files were separated out from filedialog.cpp and filedialog.h, so to facilitate...
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...
Broken filedialog into filedialog and filedialogimpl-gtkmm in preparation for a Win32 implementation of the file dialogs
Redirected opening of AI files to the poppler-based PDF import extension
Filter effects dialog:
* Added light source controls for feDiffuseLighting and feSpecularLighting.
* Added light source controls for feDiffuseLighting and feSpecularLighting.
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)
* 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)
Forgot to advance text position when skipping the first space
Type3 fonts do not have a name set so default to 'Arial'
Added image mask support
Do not flip non-top-level images
Do not set inkscape:groupmode for sub-page objects (eg. patterns)
Use the font matrix for Type3 fonts only
always zoom out on rmb
add ui for mousewheel zoom and space pan
optionally zoom with mousewheel without modifiers
add more rotation snaps
17 years agodue to the order of processing events, we must disable lmb handling in children conte...
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
optional panning by space
differentiate the SP_ITEM_REFERENCE_FLAGS, even though it is not currently used
now this is the correct way to avoid nested updates, instead of the hack i recently removed from sptspan set method
add setter for first x/y pair
Filter effects dialog:
Removed debug cout
Removed debug cout
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.
* feMergeNodes can be deleted by clicking the input without dragging.
* feMergeNodes can be added using a special empty input at the bottom of primitive.
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.
* 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.
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...
Modification of the parameters/return value of SPDesktop::getToplevel
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
2) Strict snapping implemented, i.e. bbox only to bbox and nodes only to paths/nodes
3) Renaming of some constants to improve readability
Set top-level groups as layers with the name of the PDF document
Reworked text state handling so that now SvgBuilder keeps track of the current text position
Gtkmm-ified the desktop window object, and modified the file dialogs so that they are correctly parented
Filter effects dialog:
* Added settings for feDiffuseLighting.
* Added color buttons for feDiffuseLighting and feSpecularLighting.
* Added settings for feDiffuseLighting.
* Added color buttons for feDiffuseLighting and feSpecularLighting.
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
* 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
fix off-by-one with line drawing
nudge things over by a pixel to make them line up
Filter effects dialog:
* Limited the upper bounds of the feConvolveMatrix attributes targetX and targetY so that they match the value of Order.
* Limited the upper bounds of the feConvolveMatrix attributes targetX and targetY so that they match the value of Order.
Filter effects dialog:
* A couple corrections to the way the vertical inputs are displayed and handled.
* A couple corrections to the way the vertical inputs are displayed and handled.
Filter effects dialog:
* Added settings widgets for feConvolveMatrix's target attribute
* Changed the order attribute to show both spin widgets on the same row
* Added settings widgets for feConvolveMatrix's target attribute
* Changed the order attribute to show both spin widgets on the same row
Various small cleanups and optimizations to Paint Bucket tool.
Filter effects dialog:
* Changed drawing of vertical input bars to make them stick to the right side of the treeview.
* Changed drawing of vertical input bars to make them stick to the right side of the treeview.
Filter effects dialog:
* For the Order attribute of feConvolveMatrix, show only the spin control, not the slider
* For the Order attribute of feConvolveMatrix, show only the spin control, not the slider
Adding a sample file demonstrating the use of tref to share/examples.
cosmetic improvement to standard filter input bar rendering
Filter effects dialog:
* Double-clicking a filter now applies it to the selection
* Updating filter settings widgets no longer updates the filter primitive
* Double-clicking a filter now applies it to the selection
* Updating filter settings widgets no longer updates the filter primitive
refactoring: gathering some commonly copy'n'pasted functions on a common
header
header
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.
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.
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
NumberOptNumber::optNumIsSet()
using it for default attribute values in feTubulence and
feConvolvematrix
feDisplacementMap scale parameter variable is a double
Improved svg input and output for lighting effects and lights
Added support for feMerge filter priitive
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.
If the digits value is set to zero, truncate the value when setting the attribute so it is an int, rather than a double.
Added attr-widgets, missing from my last commit
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
*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
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.
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.
add 3d tool
inkscape.xml and default.xml must be the same
feImage boilerplate code.
improving displacement map renderer.
Reworked text output to create <text> nodes on text matrix changes rather than on every font update
Add 2 new object snapping modes: bbox to bbox, and nodes to bbox
Add a method to create a rectangular curve
Snapping the transformation origin should also work for paths, not only for shapes
Retrieve preferences outside the for-loop, not inside.
Added example of lighting effects
DisplacementMap filter boilerplate code + renderer draft implementation.
General setting of attributes and default values.
renderer method is still not correct. Needs some more effort.
General setting of attributes and default values.
renderer method is still not correct. Needs some more effort.
Small polishing.
Modified CSS font style and text matrix setting to work with TrueType fonts
Set the xml:space attribute on <svg> once rather than on every <text>
Fixed rendering glitch in bicubic scaler
Fixed a memory leak in lighting effects rendering
fix makefile for case change of CXX dir
Filter effects dialog:
* Added filtereffects to the preferences-skeleton so that the dialog size is saved and restored.
* Added filtereffects to the preferences-skeleton so that the dialog size is saved and restored.
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
* 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
Patch by Felipe Sanches: fixed transparent lines in feConvolveMatrix output
Added tiling pattern support
Removed transform from <svg> and corrected matrix multiplication order in PdfParser::opConcat
Patch by Jean-René Reinhard: better SVG compliance for lighting effects
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...
remove age-old optimization which fails to update display when undoing removing manual kerns
Added some heuristics to set CSS font-style and font-weight from PDF font names when these properties are not available from poppler
Filter effects dialog:
Created simple controls for feConvolveMatrix. Currently only handles attributes order and kernelMatrix.
Created simple controls for feConvolveMatrix. Currently only handles attributes order and kernelMatrix.
tspan statusbar description
tspan statusbar description
Added xml:space=preserve attribute on <text> nodes and sodipodi:role=line attribute on <tspan> nodes to ease text editing
Use the #RRGGBB color format instead of rgb() since most extensions don't support the latter
Further development of the PDF import module: continued pruning of PdfParser.cpp, added basic text and image support and did some coding style
adjustments.
adjustments.
Added a missing link in making the filterRes attribute work
Patch from Felipe Sanches: support for feConvolveMatrix filter primitive
Patch from Jean-René Reinhard: support for feDiffuseLighting and
feSpecularLighting filter primitives
feSpecularLighting filter primitives
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...
changes done in the current f&s dialog. I'll probably make the gtkmmified one
default pretty soon to avoid double work...
Cleaned up logic of sp_te_delete to adhere to UI/logic layering.
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)
Use Inkscape's own code to write coordinates to svg (much nicer fix than commit #15449)