More natural shading for Checkers pieces.

This commit is contained in:
Matthias Melcher 2022-01-29 00:25:24 +01:00
parent adfb9d83f6
commit 303e8de483
6 changed files with 30 additions and 27 deletions

View File

@ -17,13 +17,13 @@ comment {//
//
// https://www.fltk.org/bugs.php
//
} {selected in_source in_header
} {in_source in_header
}
data pixmaps_black_checker_png {public local filename {pixmaps/black_checker.png}
}
data pixmaps_white_checker_png {public local filename {pixmaps/white_checker.png}
data pixmaps_white_checker_png {selected public local filename {pixmaps/white_checker.png}
}
data pixmaps_black_checker_king_png {public local filename {pixmaps/black_checker_king.png}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

View File

@ -1,20 +1,20 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="checker.svg"
inkscape:version="1.0beta2 (2b71d25, 2019-12-03)"
inkscape:version="1.1.1 (c3084ef, 2021-09-22)"
id="svg2339"
version="1.1"
viewBox="0 0 400 400"
height="400"
width="400">
width="400"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<title
id="title2902">Checkers</title>
<defs
@ -159,10 +159,10 @@
inkscape:collect="always" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="156.31206"
x2="247.49542"
y1="264.68085"
x1="126.97269"
y2="137.02127"
x2="132.8855"
y1="274.32623"
x1="270.5188"
id="linearGradient3866"
xlink:href="#Black"
inkscape:collect="always" />
@ -199,18 +199,18 @@
inkscape:collect="always" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="104.68085"
x2="238.41739"
y1="297.58865"
x1="167.82375"
y2="133.04964"
x2="134.5876"
y1="274.32623"
x1="257.46915"
id="linearGradient3905"
xlink:href="#linearGradient3913"
inkscape:collect="always" />
<filter
height="1.1867704"
y="-0.093385214"
y="-0.093385219"
width="1.1867704"
x="-0.093385214"
x="-0.093385219"
id="filter3915"
style="color-interpolation-filters:sRGB"
inkscape:collect="always">
@ -231,8 +231,8 @@
inkscape:snap-smooth-nodes="false"
inkscape:snap-grids="false"
inkscape:window-maximized="0"
inkscape:window-y="38"
inkscape:window-x="199"
inkscape:window-y="66"
inkscape:window-x="112"
inkscape:window-height="1037"
inkscape:window-width="1448"
units="px"
@ -241,14 +241,15 @@
inkscape:current-layer="layer2"
inkscape:document-units="px"
inkscape:cy="200"
inkscape:cx="200"
inkscape:cx="171.34752"
inkscape:zoom="1.7625"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base">
id="base"
inkscape:pagecheckerboard="0">
<sodipodi:guide
id="guide3037"
orientation="1,0"
@ -373,7 +374,9 @@
x="57"
y="57"
inkscape:export-xdpi="33.391304"
inkscape:export-ydpi="33.391304">
inkscape:export-ydpi="33.391304"
inkscape:label="ExportPng112x112"
inkscape:export-filename="/Users/matt/dev/fltk-1.4.git/test/pixmaps/white_checker.png">
<desc
id="desc60">Select this rectangle and export it as a PNG with 112x112 pixels in size, creating the correct image for the checkers game.</desc>
</rect>

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB