From 55ff12bbb0af8668bdba224d5030cf08e0e79a6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Bl=C3=A4sius?= Date: Tue, 14 Oct 2014 17:25:25 +0200 Subject: [PATCH] minor changes to the wiki-stuff (decorator) --- ipelets/decorator/.gitignore | 3 +++ ipelets/decorator/wiki.markdown | 30 ++++++++---------------------- 2 files changed, 11 insertions(+), 22 deletions(-) create mode 100644 ipelets/decorator/.gitignore diff --git a/ipelets/decorator/.gitignore b/ipelets/decorator/.gitignore new file mode 100644 index 0000000..22ed7f7 --- /dev/null +++ b/ipelets/decorator/.gitignore @@ -0,0 +1,3 @@ +wiki.html +decorator.pdf +Decorator_Ipelet \ No newline at end of file diff --git a/ipelets/decorator/wiki.markdown b/ipelets/decorator/wiki.markdown index 585c188..aaec204 100644 --- a/ipelets/decorator/wiki.markdown +++ b/ipelets/decorator/wiki.markdown @@ -1,42 +1,28 @@ # Decorator Ipelet # -With the decorator ipelet, you can decorate other objects (by for -example surrounding them with a box). The ipelet is flexible in the -sense that you can define your own decorator objects. The following -example (click on the figure to download the ipe-file) illustrates the -usage. +With the decorator ipelet, you can decorate other objects (by for example surrounding them with a box). The ipelet is flexible in the sense that you can define your own decorator objects. The following example (click on the figure to download the ipe-file) illustrates the usage. -[![example](decorator.svg)](decorator.ipe) +[![example](Decorator_Ipelet/attachment/decorator.svg)](Decorator_Ipelet/attachment/decorator.ipe) # Download & Installation # -Download [decorator.lua](decorator.lua) and copy it to ~/.ipe/ipelets/ -(or to some other directory for ipelets). +Download [decorator.lua](Decorator_Ipelet/attachment/decorator.lua) and copy it to ~/.ipe/ipelets/ (or to some other directory for ipelets). # Usage # -Run "Ipelets->Decorator->decorate" to decorate the currently selected -objects. For that to work, there must be decorator objects (symbols -with prefix "deco/") defined in your stylesheet (see the example -above). +Run "Ipelets->Decorator->decorate" to decorate the currently selected objects. For that to work, there must be decorator objects (symbols with prefix "deco/") defined in your stylesheet (see the example above). # Creating Decorator Objects # To create your own decorator object, execute the following steps. 1. Create a rectangle, lets call it R. -2. Create path objects, that decorate R (usually some kind of box - around R). You can use multiple objects for the decoration. -3. Make sure that R is the front most object (select R and press - Ctrl+F). -4. Group R together with the decoration (select R and the decoration - and press Ctrl+G). +2. Create path objects, that decorate R (usually some kind of box around R). You can use multiple objects for the decoration. +3. Make sure that R is the front most object (select R and press Ctrl+F). +4. Group R together with the decoration (select R and the decoration and press Ctrl+G). 5. Run "Ipelets->Decorator->create deco-object". -Note that "Ipelets->Decorator->create deco-object" only slightly -extends "Ipelets->Symbols->create symbol" (it checks whether the -selected object can be used as decorator object and it automatically -adds the prefix "deco/"). +Note that "Ipelets->Decorator->create deco-object" only slightly extends "Ipelets->Symbols->create symbol" (it checks whether the selected object can be used as decorator object and it automatically adds the prefix "deco/"). # Changes # -- 2.34.1