Recent

Author Topic: New Vectorial Graph library  (Read 4011 times)

Edson

  • Hero Member
  • *****
  • Posts: 1301
New Vectorial Graph library
« on: January 06, 2019, 01:58:14 am »
Hi. I want to share my graphic library ogEditGraf: https://github.com/t-edson/ogEditGraf
It can manage graphic objects in screen, move, resize, and zoom, using Canvas. Includes connection points to implement conectors.
Lazarus 2.2.6 - FPC 3.2.2 - x86_64-win64 on Windows 10

zamtmn

  • Hero Member
  • *****
  • Posts: 594
Re: New Vectorial Graph library
« Reply #1 on: January 06, 2019, 06:06:10 am »
Hi!
Why you not use matrix transforms? Graphics library should use it, not zoom and x_y_des

Edson

  • Hero Member
  • *****
  • Posts: 1301
Re: New Vectorial Graph library
« Reply #2 on: January 06, 2019, 03:10:19 pm »
Hi!
Why you not use matrix transforms? Graphics library should use it, not zoom and x_y_des
More than Graphic Library, this is an "Graphic Object Edition Engine". The graphic library, here, is a simple unit with graphic methods. The matrix transformation is expanded here with a simple formula, because is very simple. There are other library I'm creating with some different Grpahic libraries.
Lazarus 2.2.6 - FPC 3.2.2 - x86_64-win64 on Windows 10

AlexTP

  • Hero Member
  • *****
  • Posts: 2384
    • UVviewsoft
Re: New Vectorial Graph library
« Reply #3 on: January 06, 2019, 05:49:06 pm »
I don't understand the idea of this lib. Basic functions.

User137

  • Hero Member
  • *****
  • Posts: 1791
    • Nxpascal home
Re: New Vectorial Graph library
« Reply #4 on: January 06, 2019, 07:41:28 pm »
Just a note that there is non-english language used in many places. This makes it not approachable for most of us.

Edson

  • Hero Member
  • *****
  • Posts: 1301
Re: New Vectorial Graph library
« Reply #5 on: January 07, 2019, 04:41:21 pm »
Just a note that there is non-english language used in many places. This makes it not approachable for most of us.
This was a personal library I developed for myself a long time ago. Later I've seen it's useful for some other people. I've traslated some part of the code. It was worse. I'll be translating more in next versions.
Lazarus 2.2.6 - FPC 3.2.2 - x86_64-win64 on Windows 10

Edson

  • Hero Member
  • *****
  • Posts: 1301
Re: New Vectorial Graph library
« Reply #6 on: January 07, 2019, 04:43:51 pm »
I don't understand the idea of this lib. Basic functions.
The idea is to be used to represent graphically some entity or data. This representation is based in objects that can be created, edited, moved or resized.
Lazarus 2.2.6 - FPC 3.2.2 - x86_64-win64 on Windows 10

zamtmn

  • Hero Member
  • *****
  • Posts: 594
Re: New Vectorial Graph library
« Reply #7 on: January 07, 2019, 08:37:49 pm »
@Edson
Is TitoCad import dxf?  In the description it is specified, but I did not find

Edson

  • Hero Member
  • *****
  • Posts: 1301
Re: New Vectorial Graph library
« Reply #8 on: January 07, 2019, 09:51:41 pm »
@Edson
Is TitoCad import dxf?  In the description it is specified, but I did not find

Sorry. I forgot to include the routines in the program.  I will review.

I was really thinking on share some code of ZCad and TitoCad but I don't have idea where to start. I'm lack of time and I have TitoCad some abandoned.
Lazarus 2.2.6 - FPC 3.2.2 - x86_64-win64 on Windows 10

valdir.marcos

  • Hero Member
  • *****
  • Posts: 1106
Re: New Vectorial Graph library
« Reply #9 on: January 07, 2019, 09:58:57 pm »
Hi. I want to share my graphic library ogEditGraf: https://github.com/t-edson/ogEditGraf
It can manage graphic objects in screen, move, resize, and zoom, using Canvas. Includes connection points to implement conectors.

More than Graphic Library, this is an "Graphic Object Edition Engine". The graphic library, here, is a simple unit with graphic methods. The matrix transformation is expanded here with a simple formula, because is very simple. There are other library I'm creating with some different Grpahic libraries.

The idea is to be used to represent graphically some entity or data. This representation is based in objects that can be created, edited, moved or resized.
Can it be used to diagram UML?

Edson

  • Hero Member
  • *****
  • Posts: 1301
Re: New Vectorial Graph library
« Reply #10 on: January 07, 2019, 10:06:43 pm »
Can it be used to diagram UML?

Yes. It can be used to create that kinds of diagrams.
Lazarus 2.2.6 - FPC 3.2.2 - x86_64-win64 on Windows 10

zamtmn

  • Hero Member
  • *****
  • Posts: 594
Re: New Vectorial Graph library
« Reply #11 on: January 07, 2019, 10:52:56 pm »
>>I was really thinking on share some code of ZCad and TitoCad but I don't have idea where to start.
Unfortunately, I didn't see a way to do it either. I've overcomplicated some simple things in the pursuit of a small gain in speed

 

TinyPortal © 2005-2018