Update examples after changing Shapes extension namespaces
[shapes.git] / examples / features / cornerpoint.shape
blobc4248473ddf6402999c155cf519e3f62582eed17
1 /** This file is part of Shapes.
2  **
3  ** Shapes is free software: you can redistribute it and/or modify
4  ** it under the terms of the GNU General Public License as published by
5  ** the Free Software Foundation, either version 3 of the License, or
6  ** any later version.
7  **
8  ** Shapes is distributed in the hope that it will be useful,
9  ** but WITHOUT ANY WARRANTY; without even the implied warranty of
10  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  ** GNU General Public License for more details.
12  **
13  ** You should have received a copy of the GNU General Public License
14  ** along with Shapes.  If not, see <http://www.gnu.org/licenses/>.
15  **
16  ** Copyright 2008, 2014, 2015 Henrik Tidefelt
17  **/
19 ##lookin Shapes
20 ##lookin Shapes..Graphics
23   pth: @defaultunit:5mm | (0cm,0cm)>(^)--(^)<(1cm,0cm^45°)>(^)--(^)<(2cm,0cm)
24   sl: [pth 1]
25   •page << @stroking:RGB_RED | [stroke sl.p--(+ ~4mm*sl.rT)]
26         << [stroke pth head:ShapesArrow]
30   pth: @defaultunit:1%C | (0cm,~1cm)>(^)--(^)<(1cm,~1cm^~45°)>(^)--(^)<(2cm,~1cm)
31   sl: [pth 1]
32   •page << @stroking:RGB_RED | [stroke sl.p--(+ ~4mm*sl.rT)]
33         << [stroke pth head:ShapesArrow]
38   pth: @defaultunit:1%F | (0cm,~9mm)>(5mm^0°)--(5mm^~90°)<(1cm,~0.5cm ^ )>(10mm^)--(5mm^~90°)<(0cm,~1mm)
39   sl: [pth 1]
40   •page << @stroking:RGB_RED | [stroke sl.p--(+ ~4mm*sl.rT)]
41         << [stroke pth head:ShapesArrow]