Thanks Mehmet - I see some study coming my way :)
On 18/1/22 6:47 pm, Mehmet Erol Sanliturk wrote:
On Tue, Jan 18, 2022 at 7:22 AM Steve Gatenby via lazarus
mailto:lazarus@lists.lazarus-ide.org>>
wrote:
Thank you Mehmet -
Tried to follow the math within the svg (inkscape) on my
On Tue, Jan 18, 2022 at 7:22 AM Steve Gatenby via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Thank you Mehmet -
>
> Tried to follow the math within the svg (inkscape) on my first attempt(s)
>
> got completely lost (which leads to questioning ones intelligence) on the
> transforms, scales
Thank you Mehmet -
Tried to follow the math within the svg (inkscape) on my first attempt(s)
got completely lost (which leads to questioning ones intelligence) on
the transforms, scales and differing units :)
So now fully fudging it by dividing the Svg source Height and Width by a
grid
On Tue, Jan 18, 2022 at 2:37 AM Steve Gatenby via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Thanks Marc - seems I will need to stick with what I have then.
>
> Currently I am pulling all object info from the SVG into an array and
> assigning quadrant positions.
>
> Then do best guess by
Thanks Marc - seems I will need to stick with what I have then.
Currently I am pulling all object info from the SVG into an array and
assigning quadrant positions.
Then do best guess by relative quadrant of mouse click position - works
fine, but feels sloppy :)
On 17/1/22 8:55 pm, Marc
I'm afraid there is no easy solution for that. SVGs are rendered from
the first element to the last, where ever element (atleast in theory)
can be a part of a given pixel. SVG elements do have a x,y,width,height
but they may also be part of one or more transformations.
To give you an idea, the