21.08.2013 Views

LibreOffice 4.0 Writer Guide - The Document Foundation Wiki

LibreOffice 4.0 Writer Guide - The Document Foundation Wiki

LibreOffice 4.0 Writer Guide - The Document Foundation Wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

For example, entering the sequence circle 10cm fillcolor 'blue' pencolor 'red'<br />

pensize 2 circle 5cm forward 200 right 89 circle 50 into the command line and<br />

then pressing Enter results in the following graphic:<br />

Figure 282: Sample graphic from command line<br />

Note that the graphic is anchored To Page, and that the turtle attributes follow the setting for the<br />

line, in this instance fillcolor 'blue'; pencolor 'red'; linesize 2.<br />

You can also write your program on the page instead of entering it into the command line, allowing<br />

a larger and more complex set of instructions to be built. In this case, clicking the Start Logo<br />

program button runs the script on the page. <strong>The</strong> text can be deleted from the page after completing<br />

the program to just leave the graphic.<br />

<strong>The</strong> distance units are typographic points unless expressly defined as standard units such as inch<br />

or centimeters (72 pt = 1 in = 2.54 cm).<br />

See the Help for comprehensive information about LibreLogo.<br />

LibreLogo examples can be found on http://extensions.libreoffice.org/extension-center/librelogo<br />

Chapter 8 Working with Graphics 265

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!