source/text/swriter/librelogo/LibreLogo.xhp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
New commits: commit 47ffd26d2f28efa5b54c1f44516a6a6ebd8245eb Author: László Németh <laszlo.nem...@collabora.com> Date: Thu May 21 15:46:42 2015 +0200 LibreLogo help: about joining points, filling shapes defined by points + examples for CLOSE and FILL + fix typo (bad quoation mark) Change-Id: I40e4e84460c17a332e1cd46ef4511b94117d9abd Reviewed-on: https://gerrit.libreoffice.org/15845 Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> (cherry picked from commit 07df7cad7f66736e3a3ad7677704b6ffddc92e4d) Reviewed-on: https://gerrit.libreoffice.org/15849 diff --git a/source/text/swriter/librelogo/LibreLogo.xhp b/source/text/swriter/librelogo/LibreLogo.xhp index 8c58243..3081947 100644 --- a/source/text/swriter/librelogo/LibreLogo.xhp +++ b/source/text/swriter/librelogo/LibreLogo.xhp @@ -146,7 +146,11 @@ <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1070">CLEARSCREEN (cs)</paragraph> <paragraph role="logocode" xml-lang="en-US" id="par_1080"> CLEARSCREEN ; remove drawing objects of the document<br/></paragraph> <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1090">FILL and CLOSE</paragraph> -<paragraph role="logocode" xml-lang="en-US" id="par_1100"> FILL ; close and fill the actual line shape<br/> CLOSE ; close the actual line shape<br/></paragraph> +<paragraph role="logocode" xml-lang="en-US" id="par_1100"> FILL ; close and fill the actual line shape or points<br/> CLOSE ; close the actual line shape or join the actual points<br/></paragraph> +<paragraph role="paragraph" xml-lang="en-US" id="par_1102">Example: filling a regular triangle:</paragraph> +<paragraph role="logocode" xml-lang="en-US" id="par_1104"> FORWARD 50 LEFT 120 FORWARD 50 FILL<br/></paragraph> +<paragraph role="paragraph" xml-lang="en-US" id="par_1106">Example: drawing a regular triangle:</paragraph> +<paragraph role="logocode" xml-lang="en-US" id="par_1108"> FORWARD 50 LEFT 120 FORWARD 50 CLOSE<br/></paragraph> <paragraph role="heading" level="2" xml-lang="en-US" id="hd_1110">Pen settings</paragraph> <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1120">PENSIZE (ps)</paragraph> <paragraph role="logocode" xml-lang="en-US" id="par_1130"> PENSIZE 100 ; line width is 100 points<br/> PENSIZE ANY ; equivalent of PENSIZE RANDOM 10<br/></paragraph> @@ -162,7 +166,7 @@ <paragraph role="logocode" xml-lang="en-US" id="par_1190"> PENSTYLE âsolidâ ; solid line (default)<br/> PENSTYLE âdottedâ ; dotted line<br/> PENSTYLE âdashedâ ; dashed line<br/> <br/> ; custom dotâdash pattern specified by a list with the following arguments:<br/> ; â number of the neighbouring dots<br/> ; â length of a dot<br/> ; â number of the neighbouring dashes<br/> ; â length of a dash<br/> ; â distance of the dots/dashes<br/> ; â type (optional):<br/> ; 0 = dots are rectangles (default)<br/> ; 2 = dots are squares (lengths and distances are relative to the pensize)<br/> <br/> PENSTYLE [3, 1mm, 2, 4mm, 2mm, 2] ; ...ââ...ââ...ââ<br/></paragraph> <paragraph role="heading" level="2" xml-lang="en-US" id="hd_1200">Fill settings</paragraph> <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1210">FILLCOLOR/FILLCOLOUR (fc)</paragraph> -<paragraph role="logocode" xml-lang="en-US" id="par_1220"> FILLCOLOR âblueâ ; fill with blue color, see also PENCOLOR<br/> FILLCOLOR âinvisibleâ CIRCLE 10 ; unfilled circle<br/> FILLCOLOR [âblueâ, âredâ] ; gradient between red and blue<br/> FILLCOLOR [[255, 255, 255], [255, 128, 0]] ; between white and orange<br/> FILLCOLOR [âblueâ, âredâ, 1, 0, 0] ; set axial gradient (with the required rotation and border settings), possible values: 0-5 = linear, axial, radial, elliptical, square and rectangle gradients<br/> FILLCOLOR [âredâ, âblueâ, 0, 90, 20] ; linear with 20% border, rotated with 90 degrees from the actual heading of the turtle<br/> FILLCOLOR [âredâ, 'blueâ, 0, 90, 20, 0, 0, 200, 50] ; from 200% to 50% intensity<br/> FILLCOLOR [ANY, ANY, 2, 0, 0, 50, 50] ; radial gradient with random colors and 50-50% horizontal and vertical positions of the center<br/></paragraph> +<paragraph role="logocode" xml-lang="en-US" id="par_1220"> FILLCOLOR âblueâ ; fill with blue color, see also PENCOLOR<br/> FILLCOLOR âinvisibleâ CIRCLE 10 ; unfilled circle<br/> FILLCOLOR [âblueâ, âredâ] ; gradient between red and blue<br/> FILLCOLOR [[255, 255, 255], [255, 128, 0]] ; between white and orange<br/> FILLCOLOR [âblueâ, âredâ, 1, 0, 0] ; set axial gradient (with the required rotation and border settings), possible values: 0-5 = linear, axial, radial, elliptical, square and rectangle gradients<br/> FILLCOLOR [âredâ, âblueâ, 0, 90, 20] ; linear with 20% border, rotated with 90 degrees from the actual heading of the turtle<br/> FILLCOLOR [âredâ, âblueâ, 0, 90, 20, 0, 0, 200, 50] ; from 200% to 50% intensity<br/> FILLCOLOR [ANY, ANY, 2, 0, 0, 50, 50] ; radial gradient with random colors and 50-50% horizontal and vertical positions of the center<br/></paragraph> <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1225">FILLTRANSPARENCY</paragraph> <paragraph role="logocode" xml-lang="en-US" id="par_1226"> FILLTRANSPARENCY 80 ; set the transparency of the actual fill color to 80%<br/> FILLTRANSPARENCY [80] ; set linear transparency gradient from 80% to 0%<br/> FILLTRANSPARENCY [80, 20] ; set linear transparency gradient from 80% to 20%<br/> FILLTRANSPARENCY [80, 20, 1, 90] ; set axial transparency gradient rotated with 90 degrees from the actual heading of the turtle<br/> FILLTRANSPARENCY [80, 20, 2, 0, 20, 50, 50] ; set radial transparency gradient from outer 80% to inner 20% transparency with 20% border and with 50-50% horizontal and vertical positions of the center<br/></paragraph> <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1230">FILLSTYLE</paragraph> @@ -178,6 +182,8 @@ <paragraph role="logocode" xml-lang="en-US" id="par_1330"> RECTANGLE [50, 100] ; draw a rectange shape (50Ã100pt)<br/> RECTANGLE [50, 100, 10] ; draw a rectangle with rounded corners<br/></paragraph> <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1340">POINT</paragraph> <paragraph role="logocode" xml-lang="en-US" id="par_1350"> POINT ; draw a point with size and color of the pen<br/></paragraph> +<paragraph role="paragraph" xml-lang="en-US" id="par_1354">CLOSE can join the last points, FILL can fill the shape defined by points. For example, itâs easy to draw a âflatâ star starting from its center:</paragraph> +<paragraph role="logocode" xml-lang="en-US" id="par_1357"> PENUP<br/> REPEAT 5 [<br/> FORWARD 80<br/> POINT<br/> BACK 80<br/> RIGHT 36<br/> FORWARD 50<br/> POINT<br/> BACK 50<br/> RIGHT 120<br/> ] FILL<br/></paragraph> <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1360">LABEL</paragraph> <paragraph role="logocode" xml-lang="en-US" id="par_1370"> LABEL âtextâ ; print text in the turtle position<br/> LABEL 'text' ; see above<br/> LABEL "text ; see above (only for single words)<br/></paragraph> <paragraph role="heading" level="3" xml-lang="en-US" id="hd_1380">TEXT</paragraph>
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits