Removed old logo
This commit is contained in:
parent
0f67cf48b8
commit
13e3764d87
@ -1 +0,0 @@
|
||||
<svg class="vector" width="300px" height="300px" xmlns="http://www.w3.org/2000/svg" baseProfile="full" version="1.1" style="width: 300px;height: 300px;stroke:#000000;stroke-width: 43px;fill: none;stroke-linecap: square;"><path d="M105,240 a-45,-45 0 0,0 -45,-45 M150,240 a-90,-90 0 0,0 -90,-90 M150,60 a90,90 0 0,0 90,90 M195,60 a45,45 0 0,0 45,45 M60,105 a45,-45 0 0,0 45,-45 M240,195 a-45,45 0 0,0 -45,45"></path></svg>
|
Before Width: | Height: | Size: 421 B |
@ -1 +1,4 @@
|
||||
<svg class="vector" width="300px" height="300px" xmlns="http://www.w3.org/2000/svg" baseProfile="full" version="1.1" style="width: 300px;height: 300px;stroke:#ffffff;stroke-width: 43px;fill: none;stroke-linecap: square;"><path d="M105,240 a-45,-45 0 0,0 -45,-45 M150,240 a-90,-90 0 0,0 -90,-90 M150,60 a90,90 0 0,0 90,90 M195,60 a45,45 0 0,0 45,45 M60,105 a45,-45 0 0,0 45,-45 M240,195 a-45,45 0 0,0 -45,45"></path></svg>
|
||||
<svg width="300" height="300" xmlns="http://www.w3.org/2000/svg" baseProfile="full" version="1.1" style="fill:none;stroke:black;stroke-width:28px;">
|
||||
<path stroke-linecap="butt" d="M60,60 l60,0 a60,60 0 0,1 60,60 M240,60 l0,60 a-60,60 0 0,1 -60,60 M240,240 l-60,0 a-60,-60 0 0,1 -60,-60 M60,240 l0,-60 a60,-60 0 0,1 60,-60 M90,240 l0,-60 a30,-30 0 0,1 30,-30 M60,90 l60,0 a30,30 0 0,1 30,30 M210,60 l0,60 a-30,30 0 0,1 -30,30 M240,210 l-60,0 a-30,-30 0 0,1 -30,-30 M45,60 l15,0 M45,90 l15,0 M210,45 l0,15 M240,45 l0,15 M255,210 l-15,0 M255,240 l-15,0 M90,255 l0,-15 M60,255 l0,-15 "></path>
|
||||
<path stroke-linecap="round" d="M120,60 a60,60 0 0,1 60,60 M240,120 a-60,60 0 0,1 -60,60 M180,240 a-60,-60 0 0,1 -60,-60 M60,180 a60,-60 0 0,1 60,-60 M120,90 a30,30 0 0,1 30,30 M210,120 a-30,30 0 0,1 -30,30 M180,210 a-30,-30 0 0,1 -30,-30 M90,180 a30,-30 0 0,1 30,-30 "></path>
|
||||
</svg>
|
Before Width: | Height: | Size: 421 B After Width: | Height: | Size: 878 B |
14
presets/ronin_splash.rin
Normal file
14
presets/ronin_splash.rin
Normal file
@ -0,0 +1,14 @@
|
||||
frame.resize 640x400
|
||||
layer.fill #000000
|
||||
path:line_width 28
|
||||
path:line_cap butt
|
||||
magnet.grid 15x15 4,4
|
||||
frame.select logo
|
||||
path.stroke M60,60 l60,0 a60,60 0 0,1 60,60 M240,60 l0,60 a-60,60 0 0,1 -60,60 M240,240 l-60,0 a-60,-60 0 0,1 -60,-60 M60,240 l0,-60 a60,-60 0 0,1 60,-60 M90,240 l0,-60 a30,-30 0 0,1 30,-30 M60,90 l60,0 a30,30 0 0,1 30,30 M210,60 l0,60 a-30,30 0 0,1 -30,30 M240,210 l-60,0 a-30,-30 0 0,1 -30,-30
|
||||
path.stroke M45,60 l15,0 M45,90 l15,0 M210,45 l0,15 M240,45 l0,15 M255,210 l-15,0 M255,240 l-15,0 M90,255 l0,-15 M60,255 l0,-15
|
||||
path:line_cap round
|
||||
path.stroke M120,60 a60,60 0 0,1 60,60 M240,120 a-60,60 0 0,1 -60,60 M180,240 a-60,-60 0 0,1 -60,-60 M60,180 a60,-60 0 0,1 60,-60
|
||||
path.stroke M120,90 a30,30 0 0,1 30,30 M210,120 a-30,30 0 0,1 -30,30 M180,210 a-30,-30 0 0,1 -30,-30 M90,180 a30,-30 0 0,1 30,-30
|
||||
magnet.grid 1x1 4,4
|
||||
layer.translate 170,40
|
||||
source.save
|
@ -4,7 +4,7 @@ function Layer(name,manager = null)
|
||||
|
||||
this.add_method(new Method("translate",["position"]));
|
||||
this.add_method(new Method("rotate",["position","angle"]));
|
||||
this.add_method(new Method("scale",["position","value"]));
|
||||
this.add_method(new Method("scale",["float"]));
|
||||
this.add_method(new Method("clear",[]));
|
||||
this.add_method(new Method("rotate",["position","angle"]));
|
||||
this.add_method(new Method("mirror",["position"]));
|
||||
@ -20,11 +20,19 @@ function Layer(name,manager = null)
|
||||
this.element.setAttribute("class","layer");
|
||||
this.depth = 0;
|
||||
|
||||
this.scale = function(params,preview = false)
|
||||
this.scale = function(cmd,preview = false)
|
||||
{
|
||||
// TODO
|
||||
// ronin.render.get_layer();
|
||||
// ronin.render.context().drawImage(ronin.frame.context().canvas,0,0,w/2,h/2);
|
||||
if(preview){ return; }
|
||||
|
||||
var ratio = parseFloat(cmd.values());
|
||||
var data = ronin.frame.context().canvas;
|
||||
|
||||
ronin.render.get_layer().clear();
|
||||
ronin.render.context().drawImage(ronin.frame.context().canvas,0,0,w,h);
|
||||
|
||||
ronin.frame.context().drawImage(ronin.render.context().canvas, -position.x, -position.y,w,h)
|
||||
|
||||
ronin.frame.context().drawImage(data,0,0,ronin.frame.size.width * ratio,ronin.frame.size.height * ratio);
|
||||
}
|
||||
|
||||
this.rotate = function(params, preview = false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user