I was looking on entire SDK and I couldn't find it. Is there any way to rotate the element (same like changing the orientation to vertical or horisontal) at for example 45degree angle. Thanks in andvance.
Posté Wed 29 May 19 @ 9:02 am
as far as i know only <visual> element can with a fixed value - not really usefull, too limited
I didn't tested this for some time
was working some times ago but seems obsoleted:
<visual type="rotation" source="get_constant '45'" factor="-360" >
..<pos x="+0" y="+0"/>
..<size width="198" height="198"/>
..<on x="1111" y="1772"/>
..<clipmask x="829" y="1790" width="81" height="82" />
</visual>
now seems have to do it by hand:
<visual type="rotation" source="get_constant '12.5%' " >
..<pos x="+0" y="+0"/>
..<size width="198" height="198"/>
..<on x="1111" y="1772"/>
..<clipmask x="829" y="1790" width="81" height="82" />
</visual>
<cover> can rotate but apparently only getting rotation
<cover rotate="yes">
...<pos x="+17" y="+17" />
..<size width="198" height="198" />
..<clipmask x="829" y="1790" width="81" height="82" />
</cover>
I didn't tested this for some time
was working some times ago but seems obsoleted:
<visual type="rotation" source="get_constant '45'" factor="-360" >
..<pos x="+0" y="+0"/>
..<size width="198" height="198"/>
..<on x="1111" y="1772"/>
..<clipmask x="829" y="1790" width="81" height="82" />
</visual>
now seems have to do it by hand:
<visual type="rotation" source="get_constant '12.5%' " >
..<pos x="+0" y="+0"/>
..<size width="198" height="198"/>
..<on x="1111" y="1772"/>
..<clipmask x="829" y="1790" width="81" height="82" />
</visual>
<cover> can rotate but apparently only getting rotation
<cover rotate="yes">
...<pos x="+17" y="+17" />
..<size width="198" height="198" />
..<clipmask x="829" y="1790" width="81" height="82" />
</cover>
Posté Wed 29 May 19 @ 2:48 pm
I don't think he wants it to actually move, just for it to be at 45 degrees.
Posté Wed 29 May 19 @ 4:13 pm
You are right i think so, this is why i said <visual type="rotation" source="get_constant '12.5%' " >
badly it's not the good syntax, extra quotes
the rea
<visual type="rotation" source="get constant 0.125">
<visual type="rotation" source="get constant 12.5%">
badly it's not the good syntax, extra quotes
the rea
<visual type="rotation" source="get constant 0.125">
<visual type="rotation" source="get constant 12.5%">
Posté Thu 30 May 19 @ 3:35 am
the rea*
the real working syntaxes are :
the real working syntaxes are :
Posté Thu 30 May 19 @ 3:39 am
@groovindj @Nicotux Yes, i just want it to stay fixed. Thank you for your replies, i will try it out!
Posté Thu 30 May 19 @ 7:27 am