From adfb9d83f651f829dfef5bc6d261220f5e5a4c28 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 28 Jan 2022 14:22:45 +0100 Subject: Checkers pieces scaling. --- test/checkers_pieces.fl | 6 +- test/pixmaps/black_checker.png | Bin 6815 -> 6645 bytes test/pixmaps/black_checker_king.png | Bin 7927 -> 7744 bytes test/pixmaps/checker.svg | 475 ++++++++++++++++++------------------ test/pixmaps/white_checker.png | Bin 6629 -> 6490 bytes test/pixmaps/white_checker_king.png | Bin 7778 -> 7593 bytes 6 files changed, 242 insertions(+), 239 deletions(-) (limited to 'test') diff --git a/test/checkers_pieces.fl b/test/checkers_pieces.fl index 8c4894fce..d91bdf1cb 100644 --- a/test/checkers_pieces.fl +++ b/test/checkers_pieces.fl @@ -5,7 +5,7 @@ code_name {.cxx} comment {// // Checkers images for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2020 by Bill Spitzak and others. +// Copyright 1998-2022 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -17,13 +17,13 @@ comment {// // // https://www.fltk.org/bugs.php // -} {in_source in_header +} {selected in_source in_header } data pixmaps_black_checker_png {public local filename {pixmaps/black_checker.png} } -data pixmaps_white_checker_png {selected public local filename {pixmaps/white_checker.png} +data pixmaps_white_checker_png {public local filename {pixmaps/white_checker.png} } data pixmaps_black_checker_king_png {public local filename {pixmaps/black_checker_king.png} diff --git a/test/pixmaps/black_checker.png b/test/pixmaps/black_checker.png index a7e2cd75f..363e5579a 100644 Binary files a/test/pixmaps/black_checker.png and b/test/pixmaps/black_checker.png differ diff --git a/test/pixmaps/black_checker_king.png b/test/pixmaps/black_checker_king.png index e54e87093..523283aab 100644 Binary files a/test/pixmaps/black_checker_king.png and b/test/pixmaps/black_checker_king.png differ diff --git a/test/pixmaps/checker.svg b/test/pixmaps/checker.svg index ad196a09b..730385e52 100644 --- a/test/pixmaps/checker.svg +++ b/test/pixmaps/checker.svg @@ -8,255 +8,255 @@ 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" - width="400" - height="400" - viewBox="0 0 400 400" - version="1.1" - id="svg2339" + sodipodi:docname="checker.svg" inkscape:version="1.0beta2 (2b71d25, 2019-12-03)" - sodipodi:docname="Checker_Matt.svg"> + id="svg2339" + version="1.1" + viewBox="0 0 400 400" + height="400" + width="400"> Checkers + inkscape:collect="always" + id="linearGradient3913"> + id="stop3907" /> + style="stop-color:#f2f2f2;stop-opacity:1" /> + id="stop3911" /> + id="White" + inkscape:collect="always"> + style="stop-color:#f2f2f2;stop-opacity:1" /> + id="stop3897" /> + style="stop-color:#686868;stop-opacity:1" /> + id="Black" + inkscape:collect="always"> + style="stop-color:#909090;stop-opacity:1" /> + id="stop3862" /> + style="stop-color:#000000;stop-opacity:1" /> - - - + + + + fuse_paths="false" + discard_orig_path="false" + mode="free" + lpeversion="1" + is_visible="true" + id="path-effect2970" + center_point="0,0" + end_point="0,0" + start_point="0,0" + effect="mirror_symmetry" /> + x2="1" + y2="0" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(46.428806,43.129295,43.129295,-46.428806,110.23385,107.76259)" + spreadMethod="pad" + id="Gold"> + id="stop1187" /> + id="stop1189" /> + id="stop1191" /> - + + x2="253.47739" + y1="256.14572" + x1="146.52261" + id="linearGradient3098" + xlink:href="#Gold" + inkscape:collect="always" /> - + + x2="295.91006" + y1="85.957443" + x1="87.068634" + id="linearGradient3874" + xlink:href="#Black" + inkscape:collect="always" /> + width="1.0024" + x="-0.0012" + id="filter3883" + style="color-interpolation-filters:sRGB" + inkscape:collect="always"> + inkscape:collect="always" /> + x2="302.71857" + y1="76.312057" + x1="105.22466" + id="linearGradient3895" + xlink:href="#White" + inkscape:collect="always" /> + x2="238.41739" + y1="297.58865" + x1="167.82375" + id="linearGradient3905" + xlink:href="#linearGradient3913" + inkscape:collect="always" /> + width="1.1867704" + x="-0.093385214" + id="filter3915" + style="color-interpolation-filters:sRGB" + inkscape:collect="always"> + inkscape:collect="always" /> + inkscape:snap-others="false" + inkscape:snap-to-guides="false" + inkscape:guide-bbox="true" + showguides="true" + inkscape:object-paths="false" + inkscape:snap-smooth-nodes="false" + inkscape:snap-grids="false" + inkscape:window-maximized="0" + inkscape:window-y="38" + inkscape:window-x="199" + inkscape:window-height="1037" + inkscape:window-width="1448" + units="px" + showgrid="true" + inkscape:document-rotation="0" + inkscape:current-layer="layer2" + inkscape:document-units="px" + inkscape:cy="200" + inkscape:cx="200" + inkscape:zoom="1.7625" + inkscape:pageshadow="2" + inkscape:pageopacity="0.0" + borderopacity="1.0" + bordercolor="#666666" + pagecolor="#ffffff" + id="base"> + position="200,201" /> + position="190,200" /> @@ -284,95 +284,98 @@ - - - + inkscape:label="WhitePiece"> + + id="layer5" + inkscape:groupmode="layer"> - + + inkscape:label="Top" + sodipodi:nodetypes="cccsscsc" + inkscape:connector-curvature="0" + id="path3047" + d="m 200,135 v 105 h -35 c 0,0 -13.01247,-48.28017 -17.35303,-63.67651 -2.3708,-8.40943 2.32158,-14.22993 10.44116,-6.54407 9.6322,9.11768 17.85987,16.60643 17.85987,16.60643 0,0 2.38733,-6.0854 18.02246,-45.72411 C 196.43692,134.40867 200,135 200,135 Z m 0,0 v 105 h 35 c 0,0 13.01247,-48.28017 17.35303,-63.67651 2.3708,-8.40943 -2.32158,-14.22993 -10.44116,-6.54407 -9.6322,9.11768 -17.85987,16.60643 -17.85987,16.60643 0,0 -2.38733,-6.0854 -18.02246,-45.72411 C 203.56308,134.40867 200,135 200,135 Z" + style="fill:url(#linearGradient3096);fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> diff --git a/test/pixmaps/white_checker.png b/test/pixmaps/white_checker.png index 9aaf77887..2f654d368 100644 Binary files a/test/pixmaps/white_checker.png and b/test/pixmaps/white_checker.png differ diff --git a/test/pixmaps/white_checker_king.png b/test/pixmaps/white_checker_king.png index 08eadc798..44467867b 100644 Binary files a/test/pixmaps/white_checker_king.png and b/test/pixmaps/white_checker_king.png differ -- cgit v1.2.3