Recent

Author Topic: BGRAsvg: some dropouts if Y below zero  (Read 1750 times)

winni

  • Hero Member
  • *****
  • Posts: 3197
BGRAsvg: some dropouts if Y below zero
« on: March 11, 2021, 12:01:19 am »
Hi!

Still playing around to load some carddeck svg files into a BGRAbitmap.

I found the ornamental carddeck which is loaded into a BGRA canvas2D.
The most  parts. The first row of cards (Club) is only partial loaded.
A short  look with InkScape lead me to the assumption that it might have to do with negative Y values:

The first row starts at -109.xx

The result and the svg file in the attachment.

And  have a look at the Club 3: upside down and in the wrong color.

Step by step ..

Winni

 
« Last Edit: March 11, 2021, 12:05:31 am by winni »

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: BGRAsvg: some dropouts if Y below zero
« Reply #1 on: March 11, 2021, 12:04:31 am »
Hi!

ornamental.svgz is too big for this Mickey-Mouse-Forum.

On my Linux system (Suse Tumbleweed) you can find them here:

/usr/share/carddecks/svg-nicu-ornamental/ornamental.svgz
/usr/share/aisleriot/cards/ornamental.svgz

Winni

lainz

  • Hero Member
  • *****
  • Posts: 4463
    • https://lainz.github.io/
Re: BGRAsvg: some dropouts if Y below zero
« Reply #2 on: March 11, 2021, 02:51:29 am »
Hi!

ornamental.svgz is too big for this Mickey-Mouse-Forum.

On my Linux system (Suse Tumbleweed) you can find them here:

/usr/share/carddecks/svg-nicu-ornamental/ornamental.svgz
/usr/share/aisleriot/cards/ornamental.svgz

Winni

You can upload it to github or source forge or or or...

But nice joke. I'm going to try opening in that path the file  :D (I'm on Windows BTW)

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: BGRAsvg: some dropouts if Y below zero
« Reply #3 on: March 11, 2021, 03:34:16 am »
Quote
You can upload it to github or source forge or or or...

Or on your usb-memory-stick (but I think it would be faster on a memory-stream).

Fre;D
« Last Edit: March 11, 2021, 03:42:48 am by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

 

TinyPortal © 2005-2018