mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
drawing ellipses antialiased with Cairo
This commit is contained in:
@@ -22,19 +22,13 @@
|
||||
<area x="0" y="0" width="100%" height="100%" layer="1">
|
||||
<!-- top bar -->
|
||||
<drawrectangle x="0" y="0" width="{areawidth}" height="10%" color="{clrBackground}" />
|
||||
<drawrectangle x="30%" y="{areaheight}*0.1 - 1" width="71%" height="1" color="{clrBorder}" />
|
||||
<drawrectangle x="29%" y="10%" width="71%" height="1" color="{clrBorder}" />
|
||||
<!-- menu bar -->
|
||||
<drawrectangle x="0" y="10%" width="{areawidth}*29/100" height="81%" color="{clrBackground}" />
|
||||
<drawrectangle x="{areawidth}*29/100 - 1" y="12%" width="1" height="76%" color="{clrBorder}" />
|
||||
<drawrectangle x="29%" y="10%" width="1" height="81%" color="{clrBorder}" />
|
||||
<!-- bottom bar -->
|
||||
<drawrectangle x="0" y="90%" width="{areawidth}" height="10%" color="{clrBackground}" />
|
||||
<drawrectangle x="30%" y="{areaheight}*0.9 - 1" width="71%" height="1" color="{clrBorder}" />
|
||||
<!-- upper corner -->
|
||||
<drawellipse x="{areawidth}*29/100" y="{areaheight}/10" width="{areawidth}*2/100" height="{areawidth}*2/100" quadrant="-2" color="{clrBorder}" />
|
||||
<drawellipse x="{areawidth}*29/100 - 1" y="{areaheight}/10 - 1" width="{areawidth}*2/100" height="{areawidth}*2/100" quadrant="-2" color="{clrBackground}" />
|
||||
<!-- lower corner -->
|
||||
<drawellipse x="{areawidth}*29/100" y="{areaheight}*90/100 - {areawidth}*2/100" width="{areawidth}*2/100" height="{areawidth}*2/100" quadrant="-3" color="{clrBorder}" />
|
||||
<drawellipse x="{areawidth}*29/100 - 1" y="{areaheight}*90/100 - {areawidth}*2/100 + 1" width="{areawidth}*2/100" height="{areawidth}*2/100" quadrant="-3" color="{clrBackground}" />
|
||||
<drawrectangle x="29%" y="90%" width="71%" height="1" color="{clrBorder}" />
|
||||
</area>
|
||||
<area x="0" y="0" width="100%" height="10%" layer="2">
|
||||
<drawimage imagetype="skinpart" path="headertop" x="0" y="0" width="100%" height="100%"/>
|
||||
|
Reference in New Issue
Block a user