Examples 図形描写 kakko.pxdx

大きなカッコ
<?xml version="1.0" encoding="utf-8"?>
<!-- 用紙サイズ「A4」用紙方向「縦」 -->
<pxd paper-type="a4" orientation="portrait" title="カッコ">
<page>
   <!-- 値10の時1mmになるように設定 -->
   <svg x="0" y="0" width="29.7cm" height="21cm" viewBox="0 0 2970 2100">
      
      <!-- 太い文字 -->
      <text x="400" y="500" font-size="200" fill="black" stroke="none" font-weight="bold">太い文字</text>
      <!-- 普通の文字 -->
      <text x="400" y="800" font-size="200" fill="black" stroke="none">普通の文字</text>
      <!-- カッコ -->
      <!-- (4cm,3cm)~(4cm,8cm)に向けて曲線を描く。 -->
      <!-- 200を大きくすると曲がりが大きくなる。 -->
      <path d="M 400 300 A 200 350 0 0 0 400 800" fill="none" stroke="black" stroke-width="1"/>
      <!-- (16cm,3cm)~(16cm,8cm)に向けて曲線を描く。 -->
      <path d="M 1600 300 A 200 350 0 0 1 1600 800" fill="none" stroke="black" stroke-width="1"/>
      
   </svg>
</page>
</pxd>