Hi, great tool but there is one problem i cant solve with it.
The conversion is nice, but it doesnt seem to scale properly.
For e.g.:
SVG:Image:
Converted Code:Its converting nice, but when i try to use Scale modifier or TransformMatrix it wont scale properly.
skin_SCALE=1
skin_SCALE=0.5
Am i doing something wrong here?
The conversion is nice, but it doesnt seem to scale properly.
For e.g.:
SVG:
Code:
<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="100" height="100"> <path d="M0,0 L15,0 L15,1 L16,1 L16,6 L17,6 L17,11 L18,11 L18,13 L19,13 L19,14 L22,14 L22,15 L26,15 L26,14 L27,14 L27,13 L29,13 L29,12 L30,12 L30,11 L31,11 L31,10 L33,10 L33,9 L37,9 L37,10 L38,10 L38,11 L39,11 L39,12 L40,12 L40,13 L41,13 L41,14 L42,14 L42,15 L43,15 L43,16 L44,16 L44,17 L45,17 L45,21 L44,21 L44,22 L43,22 L43,24 L42,24 L42,25 L41,25 L41,27 L40,27 L40,28 L39,28 L39,29 L38,29 L38,30 L39,30 L39,32 L40,32 L40,35 L41,35 L41,36 L43,36 L43,37 L49,37 L49,38 L54,38 L54,53 L53,53 L53,54 L48,54 L48,55 L43,55 L43,56 L41,56 L41,57 L40,57 L40,60 L39,60 L39,62 L38,62 L38,63 L39,63 L39,64 L40,64 L40,65 L41,65 L41,67 L42,67 L42,68 L43,68 L43,69 L44,69 L44,71 L45,71 L45,75 L44,75 L44,76 L43,76 L43,77 L42,77 L42,78 L41,78 L41,79 L40,79 L40,80 L39,80 L39,81 L38,81 L38,82 L37,82 L37,83 L33,83 L33,82 L32,82 L32,81 L30,81 L30,80 L29,80 L29,79 L27,79 L27,78 L26,78 L26,77 L25,77 L25,76 L24,76 L24,77 L22,77 L22,78 L19,78 L19,79 L18,79 L18,81 L17,81 L17,87 L16,87 L16,91 L15,91 L15,92 L0,92 L0,87 L-1,87 L-1,81 L-2,81 L-2,79 L-3,79 L-3,78 L-6,78 L-6,77 L-8,77 L-8,76 L-9,76 L-9,77 L-10,77 L-10,78 L-11,78 L-11,79 L-13,79 L-13,80 L-14,80 L-14,81 L-16,81 L-16,82 L-17,82 L-17,83 L-21,83 L-21,82 L-22,82 L-22,81 L-23,81 L-23,80 L-24,80 L-24,79 L-25,79 L-25,78 L-26,78 L-26,77 L-27,77 L-27,76 L-28,76 L-28,75 L-29,75 L-29,71 L-28,71 L-28,69 L-27,69 L-27,68 L-26,68 L-26,67 L-25,67 L-25,65 L-24,65 L-24,64 L-23,64 L-23,60 L-24,60 L-24,57 L-25,57 L-25,56 L-27,56 L-27,55 L-33,55 L-33,54 L-37,54 L-37,53 L-38,53 L-38,38 L-33,38 L-33,37 L-27,37 L-27,36 L-25,36 L-25,35 L-24,35 L-24,32 L-23,32 L-23,30 L-22,30 L-22,29 L-23,29 L-23,28 L-24,28 L-24,27 L-25,27 L-25,25 L-26,25 L-26,24 L-27,24 L-27,22 L-28,22 L-28,21 L-29,21 L-29,17 L-28,17 L-28,16 L-27,16 L-27,15 L-26,15 L-26,14 L-25,14 L-25,13 L-24,13 L-24,12 L-23,12 L-23,11 L-22,11 L-22,10 L-21,10 L-21,9 L-17,9 L-17,10 L-15,10 L-15,11 L-14,11 L-14,12 L-13,12 L-13,13 L-11,13 L-11,14 L-10,14 L-10,15 L-6,15 L-6,14 L-3,14 L-3,13 L-2,13 L-2,11 L-1,11 L-1,5 L0,5 Z M7,32 L7,33 L3,33 L3,34 L1,34 L1,35 L0,35 L0,36 L-2,36 L-2,38 L-3,38 L-3,39 L-4,39 L-4,41 L-5,41 L-5,45 L-6,45 L-6,47 L-5,47 L-5,51 L-4,51 L-4,53 L-3,53 L-3,54 L-2,54 L-2,56 L0,56 L0,57 L1,57 L1,58 L3,58 L3,59 L7,59 L7,60 L9,60 L9,59 L13,59 L13,58 L15,58 L15,57 L16,57 L16,56 L18,56 L18,54 L19,54 L19,53 L20,53 L20,51 L21,51 L21,47 L22,47 L22,45 L21,45 L21,41 L20,41 L20,39 L19,39 L19,38 L18,38 L18,36 L16,36 L16,35 L15,35 L15,34 L13,34 L13,33 L9,33 L9,32 Z " fill="#FFFFFF" transform="translate(42,4)"/></svg>
Converted Code:
Code:
[ConvertedShape]Meter=ShapeX=0Y=0Shape = Path Path1 | fill color 255, 255, 255 | StrokeWidth 0Shape2 = Path Path2 | StrokeWidth 0Shape3 = Combine Shape1 | XOR Shape2Path1 = 0, 0 | LineTo 15, 0 | LineTo 15, 1 | LineTo 16, 1 | LineTo 16, 6 | LineTo 17, 6 | LineTo 17, 11 | LineTo 18, 11 | LineTo 18, 13 | LineTo 19, 13 | LineTo 19, 14 | LineTo 22, 14 | LineTo 22, 15 | LineTo 26, 15 | LineTo 26, 14 | LineTo 27, 14 | LineTo 27, 13 | LineTo 29, 13 | LineTo 29, 12 | LineTo 30, 12 | LineTo 30, 11 | LineTo 31, 11 | LineTo 31, 10 | LineTo 33, 10 | LineTo 33, 9 | LineTo 37, 9 | LineTo 37, 10 | LineTo 38, 10 | LineTo 38, 11 | LineTo 39, 11 | LineTo 39, 12 | LineTo 40, 12 | LineTo 40, 13 | LineTo 41, 13 | LineTo 41, 14 | LineTo 42, 14 | LineTo 42, 15 | LineTo 43, 15 | LineTo 43, 16 | LineTo 44, 16 | LineTo 44, 17 | LineTo 45, 17 | LineTo 45, 21 | LineTo 44, 21 | LineTo 44, 22 | LineTo 43, 22 | LineTo 43, 24 | LineTo 42, 24 | LineTo 42, 25 | LineTo 41, 25 | LineTo 41, 27 | LineTo 40, 27 | LineTo 40, 28 | LineTo 39, 28 | LineTo 39, 29 | LineTo 38, 29 | LineTo 38, 30 | LineTo 39, 30 | LineTo 39, 32 | LineTo 40, 32 | LineTo 40, 35 | LineTo 41, 35 | LineTo 41, 36 | LineTo 43, 36 | LineTo 43, 37 | LineTo 49, 37 | LineTo 49, 38 | LineTo 54, 38 | LineTo 54, 53 | LineTo 53, 53 | LineTo 53, 54 | LineTo 48, 54 | LineTo 48, 55 | LineTo 43, 55 | LineTo 43, 56 | LineTo 41, 56 | LineTo 41, 57 | LineTo 40, 57 | LineTo 40, 60 | LineTo 39, 60 | LineTo 39, 62 | LineTo 38, 62 | LineTo 38, 63 | LineTo 39, 63 | LineTo 39, 64 | LineTo 40, 64 | LineTo 40, 65 | LineTo 41, 65 | LineTo 41, 67 | LineTo 42, 67 | LineTo 42, 68 | LineTo 43, 68 | LineTo 43, 69 | LineTo 44, 69 | LineTo 44, 71 | LineTo 45, 71 | LineTo 45, 75 | LineTo 44, 75 | LineTo 44, 76 | LineTo 43, 76 | LineTo 43, 77 | LineTo 42, 77 | LineTo 42, 78 | LineTo 41, 78 | LineTo 41, 79 | LineTo 40, 79 | LineTo 40, 80 | LineTo 39, 80 | LineTo 39, 81 | LineTo 38, 81 | LineTo 38, 82 | LineTo 37, 82 | LineTo 37, 83 | LineTo 33, 83 | LineTo 33, 82 | LineTo 32, 82 | LineTo 32, 81 | LineTo 30, 81 | LineTo 30, 80 | LineTo 29, 80 | LineTo 29, 79 | LineTo 27, 79 | LineTo 27, 78 | LineTo 26, 78 | LineTo 26, 77 | LineTo 25, 77 | LineTo 25, 76 | LineTo 24, 76 | LineTo 24, 77 | LineTo 22, 77 | LineTo 22, 78 | LineTo 19, 78 | LineTo 19, 79 | LineTo 18, 79 | LineTo 18, 81 | LineTo 17, 81 | LineTo 17, 87 | LineTo 16, 87 | LineTo 16, 91 | LineTo 15, 91 | LineTo 15, 92 | LineTo 0, 92 | LineTo 0, 87 | LineTo -1, 87 | LineTo -1, 81 | LineTo -2, 81 | LineTo -2, 79 | LineTo -3, 79 | LineTo -3, 78 | LineTo -6, 78 | LineTo -6, 77 | LineTo -8, 77 | LineTo -8, 76 | LineTo -9, 76 | LineTo -9, 77 | LineTo -10, 77 | LineTo -10, 78 | LineTo -11, 78 | LineTo -11, 79 | LineTo -13, 79 | LineTo -13, 80 | LineTo -14, 80 | LineTo -14, 81 | LineTo -16, 81 | LineTo -16, 82 | LineTo -17, 82 | LineTo -17, 83 | LineTo -21, 83 | LineTo -21, 82 | LineTo -22, 82 | LineTo -22, 81 | LineTo -23, 81 | LineTo -23, 80 | LineTo -24, 80 | LineTo -24, 79 | LineTo -25, 79 | LineTo -25, 78 | LineTo -26, 78 | LineTo -26, 77 | LineTo -27, 77 | LineTo -27, 76 | LineTo -28, 76 | LineTo -28, 75 | LineTo -29, 75 | LineTo -29, 71 | LineTo -28, 71 | LineTo -28, 69 | LineTo -27, 69 | LineTo -27, 68 | LineTo -26, 68 | LineTo -26, 67 | LineTo -25, 67 | LineTo -25, 65 | LineTo -24, 65 | LineTo -24, 64 | LineTo -23, 64 | LineTo -23, 60 | LineTo -24, 60 | LineTo -24, 57 | LineTo -25, 57 | LineTo -25, 56 | LineTo -27, 56 | LineTo -27, 55 | LineTo -33, 55 | LineTo -33, 54 | LineTo -37, 54 | LineTo -37, 53 | LineTo -38, 53 | LineTo -38, 38 | LineTo -33, 38 | LineTo -33, 37 | LineTo -27, 37 | LineTo -27, 36 | LineTo -25, 36 | LineTo -25, 35 | LineTo -24, 35 | LineTo -24, 32 | LineTo -23, 32 | LineTo -23, 30 | LineTo -22, 30 | LineTo -22, 29 | LineTo -23, 29 | LineTo -23, 28 | LineTo -24, 28 | LineTo -24, 27 | LineTo -25, 27 | LineTo -25, 25 | LineTo -26, 25 | LineTo -26, 24 | LineTo -27, 24 | LineTo -27, 22 | LineTo -28, 22 | LineTo -28, 21 | LineTo -29, 21 | LineTo -29, 17 | LineTo -28, 17 | LineTo -28, 16 | LineTo -27, 16 | LineTo -27, 15 | LineTo -26, 15 | LineTo -26, 14 | LineTo -25, 14 | LineTo -25, 13 | LineTo -24, 13 | LineTo -24, 12 | LineTo -23, 12 | LineTo -23, 11 | LineTo -22, 11 | LineTo -22, 10 | LineTo -21, 10 | LineTo -21, 9 | LineTo -17, 9 | LineTo -17, 10 | LineTo -15, 10 | LineTo -15, 11 | LineTo -14, 11 | LineTo -14, 12 | LineTo -13, 12 | LineTo -13, 13 | LineTo -11, 13 | LineTo -11, 14 | LineTo -10, 14 | LineTo -10, 15 | LineTo -6, 15 | LineTo -6, 14 | LineTo -3, 14 | LineTo -3, 13 | LineTo -2, 13 | LineTo -2, 11 | LineTo -1, 11 | LineTo -1, 5 | LineTo 0, 5 | ClosePath 1Path2 = 7, 32 | LineTo 7, 33 | LineTo 3, 33 | LineTo 3, 34 | LineTo 1, 34 | LineTo 1, 35 | LineTo 0, 35 | LineTo 0, 36 | LineTo -2, 36 | LineTo -2, 38 | LineTo -3, 38 | LineTo -3, 39 | LineTo -4, 39 | LineTo -4, 41 | LineTo -5, 41 | LineTo -5, 45 | LineTo -6, 45 | LineTo -6, 47 | LineTo -5, 47 | LineTo -5, 51 | LineTo -4, 51 | LineTo -4, 53 | LineTo -3, 53 | LineTo -3, 54 | LineTo -2, 54 | LineTo -2, 56 | LineTo 0, 56 | LineTo 0, 57 | LineTo 1, 57 | LineTo 1, 58 | LineTo 3, 58 | LineTo 3, 59 | LineTo 7, 59 | LineTo 7, 60 | LineTo 9, 60 | LineTo 9, 59 | LineTo 13, 59 | LineTo 13, 58 | LineTo 15, 58 | LineTo 15, 57 | LineTo 16, 57 | LineTo 16, 56 | LineTo 18, 56 | LineTo 18, 54 | LineTo 19, 54 | LineTo 19, 53 | LineTo 20, 53 | LineTo 20, 51 | LineTo 21, 51 | LineTo 21, 47 | LineTo 22, 47 | LineTo 22, 45 | LineTo 21, 45 | LineTo 21, 41 | LineTo 20, 41 | LineTo 20, 39 | LineTo 19, 39 | LineTo 19, 38 | LineTo 18, 38 | LineTo 18, 36 | LineTo 16, 36 | LineTo 16, 35 | LineTo 15, 35 | LineTo 15, 34 | LineTo 13, 34 | LineTo 13, 33 | LineTo 9, 33 | LineTo 9, 32 | ClosePath 1
Code:
[Test]Meter=ShapeX=([Background:X] + (200 * #skin_SCALE#))Y=(100 * #skin_SCALE#)rW=(100 * #skin_SCALE#)H=(100 * #skin_SCALE#)Shape = Path Path1 | fill color 255, 255, 255 | StrokeWidth 0Shape2 = Path Path2 | StrokeWidth 0Shape3 = Combine Shape1 | XOR Shape2 | Scale #skin_SCALE#, #skin_SCALE#Path1 = 0, 0 | LineTo 15, 0 | LineTo 15, 1 | LineTo 16, 1 | LineTo 16, 6 | LineTo 17, 6 | LineTo 17, 11 | LineTo 18, 11 | LineTo 18, 13 | LineTo 19, 13 | LineTo 19, 14 | LineTo 22, 14 | LineTo 22, 15 | LineTo 26, 15 | LineTo 26, 14 | LineTo 27, 14 | LineTo 27, 13 | LineTo 29, 13 | LineTo 29, 12 | LineTo 30, 12 | LineTo 30, 11 | LineTo 31, 11 | LineTo 31, 10 | LineTo 33, 10 | LineTo 33, 9 | LineTo 37, 9 | LineTo 37, 10 | LineTo 38, 10 | LineTo 38, 11 | LineTo 39, 11 | LineTo 39, 12 | LineTo 40, 12 | LineTo 40, 13 | LineTo 41, 13 | LineTo 41, 14 | LineTo 42, 14 | LineTo 42, 15 | LineTo 43, 15 | LineTo 43, 16 | LineTo 44, 16 | LineTo 44, 17 | LineTo 45, 17 | LineTo 45, 21 | LineTo 44, 21 | LineTo 44, 22 | LineTo 43, 22 | LineTo 43, 24 | LineTo 42, 24 | LineTo 42, 25 | LineTo 41, 25 | LineTo 41, 27 | LineTo 40, 27 | LineTo 40, 28 | LineTo 39, 28 | LineTo 39, 29 | LineTo 38, 29 | LineTo 38, 30 | LineTo 39, 30 | LineTo 39, 32 | LineTo 40, 32 | LineTo 40, 35 | LineTo 41, 35 | LineTo 41, 36 | LineTo 43, 36 | LineTo 43, 37 | LineTo 49, 37 | LineTo 49, 38 | LineTo 54, 38 | LineTo 54, 53 | LineTo 53, 53 | LineTo 53, 54 | LineTo 48, 54 | LineTo 48, 55 | LineTo 43, 55 | LineTo 43, 56 | LineTo 41, 56 | LineTo 41, 57 | LineTo 40, 57 | LineTo 40, 60 | LineTo 39, 60 | LineTo 39, 62 | LineTo 38, 62 | LineTo 38, 63 | LineTo 39, 63 | LineTo 39, 64 | LineTo 40, 64 | LineTo 40, 65 | LineTo 41, 65 | LineTo 41, 67 | LineTo 42, 67 | LineTo 42, 68 | LineTo 43, 68 | LineTo 43, 69 | LineTo 44, 69 | LineTo 44, 71 | LineTo 45, 71 | LineTo 45, 75 | LineTo 44, 75 | LineTo 44, 76 | LineTo 43, 76 | LineTo 43, 77 | LineTo 42, 77 | LineTo 42, 78 | LineTo 41, 78 | LineTo 41, 79 | LineTo 40, 79 | LineTo 40, 80 | LineTo 39, 80 | LineTo 39, 81 | LineTo 38, 81 | LineTo 38, 82 | LineTo 37, 82 | LineTo 37, 83 | LineTo 33, 83 | LineTo 33, 82 | LineTo 32, 82 | LineTo 32, 81 | LineTo 30, 81 | LineTo 30, 80 | LineTo 29, 80 | LineTo 29, 79 | LineTo 27, 79 | LineTo 27, 78 | LineTo 26, 78 | LineTo 26, 77 | LineTo 25, 77 | LineTo 25, 76 | LineTo 24, 76 | LineTo 24, 77 | LineTo 22, 77 | LineTo 22, 78 | LineTo 19, 78 | LineTo 19, 79 | LineTo 18, 79 | LineTo 18, 81 | LineTo 17, 81 | LineTo 17, 87 | LineTo 16, 87 | LineTo 16, 91 | LineTo 15, 91 | LineTo 15, 92 | LineTo 0, 92 | LineTo 0, 87 | LineTo -1, 87 | LineTo -1, 81 | LineTo -2, 81 | LineTo -2, 79 | LineTo -3, 79 | LineTo -3, 78 | LineTo -6, 78 | LineTo -6, 77 | LineTo -8, 77 | LineTo -8, 76 | LineTo -9, 76 | LineTo -9, 77 | LineTo -10, 77 | LineTo -10, 78 | LineTo -11, 78 | LineTo -11, 79 | LineTo -13, 79 | LineTo -13, 80 | LineTo -14, 80 | LineTo -14, 81 | LineTo -16, 81 | LineTo -16, 82 | LineTo -17, 82 | LineTo -17, 83 | LineTo -21, 83 | LineTo -21, 82 | LineTo -22, 82 | LineTo -22, 81 | LineTo -23, 81 | LineTo -23, 80 | LineTo -24, 80 | LineTo -24, 79 | LineTo -25, 79 | LineTo -25, 78 | LineTo -26, 78 | LineTo -26, 77 | LineTo -27, 77 | LineTo -27, 76 | LineTo -28, 76 | LineTo -28, 75 | LineTo -29, 75 | LineTo -29, 71 | LineTo -28, 71 | LineTo -28, 69 | LineTo -27, 69 | LineTo -27, 68 | LineTo -26, 68 | LineTo -26, 67 | LineTo -25, 67 | LineTo -25, 65 | LineTo -24, 65 | LineTo -24, 64 | LineTo -23, 64 | LineTo -23, 60 | LineTo -24, 60 | LineTo -24, 57 | LineTo -25, 57 | LineTo -25, 56 | LineTo -27, 56 | LineTo -27, 55 | LineTo -33, 55 | LineTo -33, 54 | LineTo -37, 54 | LineTo -37, 53 | LineTo -38, 53 | LineTo -38, 38 | LineTo -33, 38 | LineTo -33, 37 | LineTo -27, 37 | LineTo -27, 36 | LineTo -25, 36 | LineTo -25, 35 | LineTo -24, 35 | LineTo -24, 32 | LineTo -23, 32 | LineTo -23, 30 | LineTo -22, 30 | LineTo -22, 29 | LineTo -23, 29 | LineTo -23, 28 | LineTo -24, 28 | LineTo -24, 27 | LineTo -25, 27 | LineTo -25, 25 | LineTo -26, 25 | LineTo -26, 24 | LineTo -27, 24 | LineTo -27, 22 | LineTo -28, 22 | LineTo -28, 21 | LineTo -29, 21 | LineTo -29, 17 | LineTo -28, 17 | LineTo -28, 16 | LineTo -27, 16 | LineTo -27, 15 | LineTo -26, 15 | LineTo -26, 14 | LineTo -25, 14 | LineTo -25, 13 | LineTo -24, 13 | LineTo -24, 12 | LineTo -23, 12 | LineTo -23, 11 | LineTo -22, 11 | LineTo -22, 10 | LineTo -21, 10 | LineTo -21, 9 | LineTo -17, 9 | LineTo -17, 10 | LineTo -15, 10 | LineTo -15, 11 | LineTo -14, 11 | LineTo -14, 12 | LineTo -13, 12 | LineTo -13, 13 | LineTo -11, 13 | LineTo -11, 14 | LineTo -10, 14 | LineTo -10, 15 | LineTo -6, 15 | LineTo -6, 14 | LineTo -3, 14 | LineTo -3, 13 | LineTo -2, 13 | LineTo -2, 11 | LineTo -1, 11 | LineTo -1, 5 | LineTo 0, 5 | ClosePath 1Path2 = 7, 32 | LineTo 7, 33 | LineTo 3, 33 | LineTo 3, 34 | LineTo 1, 34 | LineTo 1, 35 | LineTo 0, 35 | LineTo 0, 36 | LineTo -2, 36 | LineTo -2, 38 | LineTo -3, 38 | LineTo -3, 39 | LineTo -4, 39 | LineTo -4, 41 | LineTo -5, 41 | LineTo -5, 45 | LineTo -6, 45 | LineTo -6, 47 | LineTo -5, 47 | LineTo -5, 51 | LineTo -4, 51 | LineTo -4, 53 | LineTo -3, 53 | LineTo -3, 54 | LineTo -2, 54 | LineTo -2, 56 | LineTo 0, 56 | LineTo 0, 57 | LineTo 1, 57 | LineTo 1, 58 | LineTo 3, 58 | LineTo 3, 59 | LineTo 7, 59 | LineTo 7, 60 | LineTo 9, 60 | LineTo 9, 59 | LineTo 13, 59 | LineTo 13, 58 | LineTo 15, 58 | LineTo 15, 57 | LineTo 16, 57 | LineTo 16, 56 | LineTo 18, 56 | LineTo 18, 54 | LineTo 19, 54 | LineTo 19, 53 | LineTo 20, 53 | LineTo 20, 51 | LineTo 21, 51 | LineTo 21, 47 | LineTo 22, 47 | LineTo 22, 45 | LineTo 21, 45 | LineTo 21, 41 | LineTo 20, 41 | LineTo 20, 39 | LineTo 19, 39 | LineTo 19, 38 | LineTo 18, 38 | LineTo 18, 36 | LineTo 16, 36 | LineTo 16, 35 | LineTo 15, 35 | LineTo 15, 34 | LineTo 13, 34 | LineTo 13, 33 | LineTo 9, 33 | LineTo 9, 32 | ClosePath 1solidcolor=255,0,0,100
skin_SCALE=0.5
Am i doing something wrong here?
Statistics: Posted by Kurou — Today, 11:20 am — Replies 38 — Views 92496