add SVG of Calculator

This commit is contained in:
nisihara1 2018-01-17 23:04:15 +09:00
parent 6b499da39b
commit 2551f07f21
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,25 @@
/*
* Copyright (C) 2017 Satomichi Nishihara
*
* This file is distributed under the terms of the
* GNU General Public License. See the file `LICENSE'
* in the root directory of the present distribution,
* or http://www.gnu.org/copyleft/gpl.txt .
*/
package burai.com.graphic.svg;
public interface SVGItemCalculator {
public static final double WIDTH = 60.731;
public static final double HEIGHT = 60.731;
public static final String CONTENT = "M28.909,0H7.421C3.324,0,0,3.323,0,7.42v21.488h28.908V0z M21.272,16.023h-5.008v5.032h-3.212v-5.032H8.047v-3.186h5.006"
+ "V7.832h3.212v5.006h5.008V16.023z M60.731,7.42c0-4.097-3.323-7.42-7.42-7.42H31.824v28.908h28.907V7.42z M52.148,16.252H39.951"
+ "v-3.618h12.197V16.252z M0,53.311c0,4.097,3.324,7.421,7.42,7.421h21.488V31.823H0V53.311z M9.057,39.754h3.74l1.953,3.381"
+ "l1.906-3.381h3.632l-3.838,5.691l3.987,5.97h-3.805l-2.012-3.511l-2.029,3.511h-3.71l3.987-5.912L9.057,39.754z M31.824,60.731"
+ "h21.487c4.097,0,7.42-3.321,7.42-7.421V31.823H31.824V60.731z M40.248,41.67h11.605v2.82H40.248V41.67z M40.248,46.675h11.605"
+ "v2.819H40.248V46.675z";
}

View File

@ -30,6 +30,7 @@ public final class SVGLibrary {
ARROW_LEFT(SVGItemArrowLeft.WIDTH, SVGItemArrowLeft.HEIGHT, 0.0, SVGItemArrowLeft.CONTENT),
ARROW_RIGHT(SVGItemArrowLeft.WIDTH, SVGItemArrowLeft.HEIGHT, 180.0, SVGItemArrowLeft.CONTENT),
ARROW_ROUND(SVGItemArrowRound.WIDTH, SVGItemArrowRound.HEIGHT, SVGItemArrowRound.CONTENT),
CALCULATOR(SVGItemCalculator.WIDTH, SVGItemCalculator.HEIGHT, SVGItemCalculator.CONTENT),
CAMERA(SVGItemCamera.WIDTH, SVGItemCamera.HEIGHT, SVGItemCamera.CONTENT),
CENTER(SVGItemCenter.WIDTH, SVGItemCenter.HEIGHT, SVGItemCenter.CONTENT),
CHECK(SVGItemCheck.WIDTH, SVGItemCheck.HEIGHT, SVGItemCheck.CONTENT),