don't use splivarot to get livarot path, just use LoadPathVector method
use all 2geom typed pathv_matrix_point_bbox_wind_distance
add const to pointers that are not written to
use all 2geom typed pathv_matrix_point_bbox_wind_distance
add const to references that are not written to
16 years agouse pathv_matrix_point_bbox_wind_distance instead of nr_path_matrix_point_bbox_wind_d...
use pathv_matrix_point_bbox_wind_distance instead of nr_path_matrix_point_bbox_wind_distance everywhere
16 years agorewrite nr_path_matrix_point_bbox_wind_distance in 2geom terms: pathv_matrix_point_bb...
rewrite nr_path_matrix_point_bbox_wind_distance in 2geom terms: pathv_matrix_point_bbox_wind_distance. (still not 100% clear to me what this method does, but seemed not necessary for rewriting)
Fix for opening .eps/.ps/.cdr/etc files with % in their names.
Do not have menu entry for SVG Fonts if they are not enabled
moving the fonts dialog to a more logical place (though it still does not work for me)
Fixed compilation when the new SVG font stuff is not enabled.
* remove g_warnings
* add 2 experimental entry fields in SVGFonts dialog
* add 2 experimental entry fields in SVGFonts dialog
fix bbox calculation for groups that contain groups with nothing in them (zero bbox groups)
help detection of path read bug
adding list of available SVGFonts to the SVGFonts dialog
warning cleanup
missing files from previous commit
adding a dialog for SVG Fonts
Warning cleanup
adding ifdef HAVE_CONFIG_H
whitespace
added unicode block (codepoint ranges) lookups
improve speed of getting curves to cairo, the same way as boundingbox calculation was optimized: do not create transformed path, transform the path's points instead
kill the green fish
add #include <string.h> for memset(), so that it is portable
Resolve ID clashes when pasting (fixes bug 165936).
Cmake: Add GSL to LIBS and Includes
Cmake: remove header files from source lists
delivarotify, render with cairo; regression: cairo cannot do inverse
delivarotify, render with cairo, use nr_path functions for bbox and distance
delivarotify, render with cairo
add helpers for creating cairo_t for a canvas buf
update for 32 instead of 24 bpp canvas buf
delivarotify
no more creating and looping over extra buffers for rendering canvas arena, draw to the canvas buf directly now that it's also 32bpp
switch to 32bpp canvasbuf, create cairo context for it, optionally output to screen using cairo too (for now off, as it's slower than gdk)
update for 32bpp canvas buf; delivarotify
use light blue for text selection, at least until we can do inversion again
speed up bounds_exact for 2geom even more.
use exact bbox again in updating shapes
add comment
make faster 2geom bbox calc.
sorry to have broken build
convert optimizing check into 2geom terms. hopefully correct, please review if you have time
add #include <string.h> for portability
need #include <typeinfo>
tweak stdout/stderr piping
implement kerning by glyph-name, g1 and g2 attributes
warning cleanup
warning cleanup
16 years agoreintroducing code that initially committed in revision 18594 and the have been rever...
reintroducing code that initially committed in revision 18594 and the have been reverted on revision 18607.
* implemented handling of font-style, font-variant, font-weight, and
font-stretch attributes on font-face tags
This have been previously reverted because I thought they were already handled in node->style, but now I see that this code is needed for font description (used in the
font tag to declare font attributes to be stored in the user agent font database).
The node->style info is used for font specification (used by document authors with the purpose of declaring the properties of fonts that they would like in their SVG
documents).
* implemented handling of font-style, font-variant, font-weight, and
font-stretch attributes on font-face tags
This have been previously reverted because I thought they were already handled in node->style, but now I see that this code is needed for font description (used in the
font tag to declare font attributes to be stored in the user agent font database).
The node->style info is used for font specification (used by document authors with the purpose of declaring the properties of fonts that they would like in their SVG
documents).
read PathVector instead of NArtBpath
read PathVector instead of NArtBpath
split paths using 2geom PathVector
LPE Spiro: don't catch all exceptions, only the ContinuityError
remove obsolete LoadArtBPath from livarot
use LoadPathVector instead of LoadArtBPath everywhere
create method for Livarot paths to load PathVectors instead of NArtBpaths
use pathvector directly from SPCurve in LPE path parameter.
better method to convert nartbpath to PathVector
* src/2geom/isnan.h, src/libcola/cola.cpp, src/style.cpp, src/seltrans.cpp,
src/libcola/gradient_projection.cpp, src/libvpsc/generate-constraints.cpp,
src/libnr/nr-types.cpp, src/libnr/nr-point-fns-test.cpp, src/isnan.h,
src/libnr/nr-point-fns.cpp, src/libnr/in-svg-plane-test.cpp,
src/doxygen-main.cpp, src/display/nr-filter-composite.cpp,
src/display/nr-filter-merge.cpp, src/display/nr-filter-gaussian.cpp,
src/display/bezier-utils.cpp, src/Makefile_insert, src/eraser-context.cpp,
src/dyna-draw-context.cpp, src/tweak-context.cpp, src/sp-namedview.cpp,
src/libnr/in-svg-plane-test.h, src/libnr/nr-point-fns-test.h,
src/mod360-test.h, src/CMakeLists.txt, src/2geom/linear.h:
Properly fix the conflicting isnan.h problem:
1) Update src/2geom/isnan.h to match newest Inkscape src/isnana.h
(Also commited this change to lib2geom project repository)
2) Remove Inkscape's src/isnan.h
3) Update all files to include src/2geom/isnan.h instead of src/isnan.h
src/libcola/gradient_projection.cpp, src/libvpsc/generate-constraints.cpp,
src/libnr/nr-types.cpp, src/libnr/nr-point-fns-test.cpp, src/isnan.h,
src/libnr/nr-point-fns.cpp, src/libnr/in-svg-plane-test.cpp,
src/doxygen-main.cpp, src/display/nr-filter-composite.cpp,
src/display/nr-filter-merge.cpp, src/display/nr-filter-gaussian.cpp,
src/display/bezier-utils.cpp, src/Makefile_insert, src/eraser-context.cpp,
src/dyna-draw-context.cpp, src/tweak-context.cpp, src/sp-namedview.cpp,
src/libnr/in-svg-plane-test.h, src/libnr/nr-point-fns-test.h,
src/mod360-test.h, src/CMakeLists.txt, src/2geom/linear.h:
Properly fix the conflicting isnan.h problem:
1) Update src/2geom/isnan.h to match newest Inkscape src/isnana.h
(Also commited this change to lib2geom project repository)
2) Remove Inkscape's src/isnan.h
3) Update all files to include src/2geom/isnan.h instead of src/isnan.h
patch 241565
add todo comment to make code prettier
sp_shape now uses 2geom PathVector for all marker positions
sp_shape_render for cairo-renderer extension now uses 2geom for marker positions
remove not used variable
2geomify sp_shape_update_marker_view.
patch from 226459, approved by joel
Partial fix (for preventing numerical issues) and restructuring for PathString, plus a small fix for the new 2geom sp_svg_write_curve.
Fix for sp-style-elem-test to make it work again with new code.
commenting out a g_warning
reverting (possibly mistaken) edits on configure.ac by cilix42 made on
revision 18964
revision 18964
comment fix
Changed tools toolbar to use stock GtkToolbar via simple wrapper actions.
Fixes bug #166862.
Fixes bug #168677.
Fixes bug #168648.
Fixes bug #166862.
Fixes bug #168677.
Fixes bug #168648.
update 2geom (r1350)
update 2geom
for validation
Display helper grid for LPELattice; automatically add helper paths for LPE PathParams
Update LPE helper paths "live" on changes
Make knotholder members protected
Improve comments and catch missing desktop in effect.cpp
Separate version of sp_nodepath_generate_helperpath() to generate a helperpath from a SPCurve directly
parser
for IDL parsing
Cmake: fix quoting in INKSCAPE_LIBS
change VERSION to INKSCAPE_VERSION in potracelib.cpp
use INKSCAPE_VERSION rather than VERSION, to help cmake
Cmake: Add src/ to include_directories, fix missing includes for file checks
compilable! wip
added new LPEs to the list of translatables
add commentary about temporary canvas items.
Fixed tool tooltips
Conversion to toolbars and preserve size upon undock
Oops! Fix compile.
Add handle to adjust angle
New LPE: Copy rotate
update 2geom
Temporary shortcut for LPEParallel in pen tool
New LPE: Parallel
Remove superfluous #include from lpe-skeleton.h