Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-01

SVG Editor or Viewer

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Lars

Does anyone know of any Lazarus projects or code that views SVG files...

I remember there was some graphics editing program written in lazarus (multiple images not just svg format) and I think it was closed source.

Or any delphi svg editors (that could potentially be converted to lazarus)?

Or mseide (unlikely, and that would be off topic)

Thanks

Reply by email

Sandro Cumerlato
to Lars

Hello Lars,
I think you are talking about LazPaint: https://github.com/bgrabitmap

Pure Lazarus/FPC code FPVectorial (under development) can read/write SVG files.

If you only need a viewer and can rely on external libraries then take a look at Cairo+LibRsvg:
https://github.com/DJMaster/cairo-fpc
https://github.com/DJMaster/librsvg-fpc

Best regards,
Sandro Cumerlato

"Lars wrote 16 lines
Does anyone know of any Lazarus projects or code that views SVG files... I remember there was some graphics editing program written in lazarus (multiple images not just svg format) and I think it was closed source. Or any delphi svg editors (that could potentially be converted to lazarus)? Or mseide (unlikely, and that would be off topic) Thanks -- _______________________________________________ Lazarus mailing list http://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170130/5cecd8f3/attachment.html>

Reply by email

Lars
to Sandro Cumerlato
Sandro Cumerlato wrote
Hello Lars, I think you are talking about LazPaint: https://github.com/bgrabitmap

This is a great program, loads up super fast.

Just what I needed. I did try this before AFAIR but forgot.

But it won't open SVG images... yet Google says it can deal with SVG related tasks... So I don't get it. It has some support for svg related, but won't open svg files itself?

Reply by email

Adrian Veith
to Lars: Does anyone know of any Lazarus projects or code that views SVG files... I remember there…

Hi, there is the Anti Grain Geometry for Pascal - in the examples there is a smal svgtest - maybe this helps.

https://github.com/CWBudde/AggPasMod

Adrian.

Lars wrote 10 lines
Does anyone know of any Lazarus projects or code that views SVG files... I remember there was some graphics editing program written in lazarus (multiple images not just svg format) and I think it was closed source. Or any delphi svg editors (that could potentially be converted to lazarus)? Or mseide (unlikely, and that would be off topic) Thanks

Reply by email

Graeme Geldenhuys
to Lars: Does anyone know of any Lazarus projects or code that views SVG files... I remember there…
Lars wrote
Does anyone know of any Lazarus projects or code that views SVG files...

As Adrian mentioned, AggPas (native Pascal port of Anti-Grain Geometry) supports SVG and an example is included. fpGUI's repository includes the most up to date (features and bug fixes) implementation of AggPas (that I know of). Lazarus also includes a copy, but it is older that the fpGUI one. And as Adrian mentioned, there is a heavily refactored one called AggPasMod, but I have no idea in what state it is or what bug fixes it had applied to it.

AggPas included with fpGUI gets used daily, so I know it works.

Regards,
Graeme

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email