home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / GFX / Painting / XiPaint3.2-Aminet11.lzx / XiPaint / EnglishDocs / Xi.ascii < prev    next >
Encoding:
Text File  |  1995-09-20  |  183.9 KB  |  6,479 lines

  1.  
  2.  
  3.                      Xi-Paint  3.2
  4.  
  5.                     Thomas Dorn
  6.                 Herbert Beilschmidt
  7.  
  8.                      August 1995
  9.  
  10.  
  11.                      Manual  3.0
  12.                      ===========
  13.  
  14.  
  15.  
  16.  
  17.    Contents
  18.  
  19.  
  20.    1   Introduction
  21.  
  22.    2   The Authors
  23.  
  24.    3   Installation
  25.        3.1   System Settings
  26.        3.2   Setting of the graphic adapter
  27.        3.3   Minimum Memory Amount
  28.        3.4   Menus
  29.  
  30.    4   Basics for 24 Bit Drawing
  31.        4.1   Introduction
  32.  
  33.    5   Basics
  34.        5.1   The Xi-Paint Window
  35.             5.1.1   The Windows Utilization
  36.             5.1.2   Sizing Windows
  37.             5.1.3   Window Width
  38.             5.1.4   Scrolling
  39.             5.1.5   Closing Windows
  40.        5.2  Using the Menus
  41.             5.2.1   Available Options are Activated
  42.        5.3   Text Input Boxes
  43.        5.4   The Scrollers
  44.  
  45.    6   First Steps
  46.        6.1   Opening a New Worksheet
  47.             6.1.1   Setting the Size
  48.        6.2  Important Drawing Functions
  49.             6.2.1   A House Made of Rectangles and Lines
  50.             6.2.2   Correcting a Mistake by UNDO
  51.             6.2.3   Precise Mouse Control by Keyboard
  52.             6.2.4   Saving the Project
  53.  
  54.    7   To Work with Colors
  55.        7.1   The Colorbox
  56.             7.1.1   The Perfect Colorhues for our Painting
  57.        7.2   Filling a Painting
  58.        7.3   Saving the Palette
  59.  
  60.  
  61.    8   Creating and Managing Brushes
  62.        8.1   Cut Out a Brush
  63.             8.1.1   Individual Objects as Basics
  64.             8.1.2   Cutting Out the Brush
  65.        8.2   Masking a Brush
  66.  
  67.  
  68.    9   Working with Brushes
  69.        9.1   A Tube System of Tasks
  70.             9.1.1   Shades in the Color Requester
  71.             9.1.2   Making Your Work Easier by Brush Manipulation
  72.        9.2   The Grid as Position Help
  73.             9.2.1   The Brush Manager
  74.        9.3   Multiple Brushes
  75.             9.3.1   How the Brush Manager Works
  76.             9.3.2   Composing the Tube System Puzzle
  77.  
  78.    10  Cycle and Shade in Practice
  79.        10.1  Cycled Colors
  80.             10.1.1  The Working Method of Cycle
  81.             10.1.2  The Cycle in Practice
  82.             10.1.3  Offset Setting for Exact Cycle Adjusment
  83.        10.2   Cycling in Practice
  84.             10.2.1  A Frame
  85.             10.2.2  Color Bars
  86.             10.2.3  Vertical and Diagonal Stripes
  87.             10.2.4  Shades
  88.             10.2.5  Choice of Shades
  89.             10.2.6  5 Point Shades for Special Effects
  90.  
  91.    11  Special Effects with Brushes
  92.        11.1  The Proof of the Pudding
  93.             11.1.1  A Multicolored Rectangle for Our Experiments
  94.             11.1.2  Finishing Touches
  95.        11.2 The Related Theory
  96.             11.2.1  Understanding Area Filling
  97.        11.3  Some Tips
  98.             11.3.1  Getting Experience
  99.        11.4  New Shapes Using Brushes
  100.             11.4.1  A Rectangle with Rounded Corners
  101.             11.4.2  A Frame Instead of the Filled Rectangle
  102.             11.4.3  A Rectangle with Sloped Edges
  103.        11.5  Escaping a Running Routine
  104.  
  105.    12  Working with Fonts
  106.        12.1  Text with Shade
  107.             12.1.1  Shades for Individual Letters
  108.        12.2  Scripts and Brushes
  109.             12.2.1  Dealing With Text
  110.        12.3  New Script Styles
  111.             12.3.1  Letters with Rounded off or Sloped Corners
  112.  
  113.    13  Mask
  114.        13.1  Painting on the Mask
  115.        13.2  Mask-Preview
  116.        13.3  Exempt Motives
  117.             13.3.1  The Color Look Up Table
  118.  
  119.    14  Layers
  120.  
  121.        14.1  Compositions with Layers
  122.        14.2  The Theory
  123.        14.3  Another example for using the layers
  124.  
  125.    15  The Painting Tools
  126.        15.1  Two-Part Buttons
  127.        15.2  The Single Point Manner (Freehand tool)
  128.        15.3  Regular Freehand Tool
  129.        15.4  Filled Freehand Outlines
  130.        15.5  Straight Line Tool
  131.        15.6  Curve Tool
  132.        15.7  Rectangle Tool
  133.        15.8  Ellipse Tool
  134.        15.9  Polygon Tool
  135.             15.9.1  Closing the Polygon
  136.        15.10 Filling Tool
  137.  
  138.    16  More Aids
  139.        16.1  Take a Rectangular Brush
  140.        16.2  Take a Polygonal Brush
  141.        16.3  Take a Freehand Brush
  142.        16.4  Light Table
  143.        16.5  Magnifier
  144.             16.5.1  Flexible Settings in the Zoom-Requester
  145.        16.6  Text
  146.        16.7  Undo
  147.             16.7.1  Undo for a Large Number of Steps
  148.             16.7.2  To Free Undo Memory
  149.        16.8  Redo
  150.        16.9  Help
  151.        16.10 Erase
  152.        16.11 Take a Pen
  153.             16.11.1 Sizing Brushes by Mouseclick
  154.        16.12  Generate a One Point Pen
  155.        16.13  Info
  156.  
  157.  
  158.    17  Requesters
  159.             17.0.1  Common Elements of the Different Requesters
  160.        17.1  Brush Requester
  161.             17.1.1  Automatic Adaption of the Scale
  162.             17.1.2  Brush Menu
  163.             17.1.3  Save
  164.             17.1.4  Delete (from brush pool)
  165.             17.1.5  Swap to Disk
  166.             17.1.6  Refreshing
  167.             17.1.7  Delete
  168.        17.2  Grid requester
  169.        17.3  File Requester
  170.             17.3.1  The File Directory
  171.             17.3.2  How to Change Directories and Drives
  172.             17.3.3  Manual Input of a Path
  173.             17.3.4  Minipic Menu
  174.             17.3.5  Store-Format Menu
  175.             17.3.6  Alpha
  176.        17.4  Shadow Requester
  177.             17.4.1  Setting the Shadow Length
  178.        17.5  Cycle Requester
  179.             17.5.1  Generation of a Cycle
  180.             17.5.2  Offset
  181.        17.6  Shade Requester
  182.             17.6.1  Two Colors, Horizontal
  183.             17.6.2  Two Colors, Vertical
  184.             17.6.3  Three Colors, Two on Bottom
  185.             17.6.4  Four Colors
  186.             17.6.5  Five Colors
  187.        17.7  Style Requester
  188.             17.7.1  Choosing a Style
  189.             17.7.2  Color Fonts
  190.             17.7.3  Minipics for Fonts
  191.             17.7.4  Setting the Size
  192.             17.7.5  Xdpi and Ydpi for Picture Proportions
  193.             17.7.6  Antialiasing for Soft edges
  194.        17.8  Setting Requester
  195.             17.8.1  Setting the System Fonts
  196.             17.8.2  Number of Brushes and Pens
  197.             17.8.3  To Set Standard Directories
  198.             17.8.4  Local Mode
  199.             17.8.5  Click to Front
  200.             17.8.6  Eat first Click
  201.             17.8.7  Saving Settings and Leaving the Program
  202.             17.8.8  Set the Path for Macros
  203.             17.8.9  ASL- or Xi-Paint File Requester
  204.             17.8.10 Way of Showing Brushes
  205.             17.8.11 Painting without moving the mouse
  206.             17.8.12 Delete mouse moves
  207.             17.8.13 Hot Spot
  208.        17.9  Parameter-Requester
  209.             17.9.1  Anti-Aliasing
  210.             17.9.2  Fast Fill
  211.             17.9.3  Keep Mask
  212.             17.9.4  pixel stream
  213.             17.9.5  1-Pixel-stream
  214.             17.9.6  brightness, darkness
  215.        17.10 VLab Requester
  216.             17.10.1 Requirements for Working with VLab
  217.             17.10.2 Video Offset
  218.             17.10.3 Width and Height of the Picture
  219.             17.10.4 Choosing the Input Signal
  220.             17.10.5 Grabbing a Video Picture
  221.             17.10.6 VLAB Menu
  222.        17.11 Palette Requester
  223.             17.11.1 Colors for Working
  224.             17.11.2 Color Mix Methods
  225.             17.11.3 Copy, Changing and Shade
  226.             17.11.4 Taking a Color
  227.             17.11.5 RGB Triangle by Maxwell
  228.             17.11.6 HSV Scheme
  229.             17.11.7 Palette Menu
  230.             17.11.8 Load
  231.             17.11.9 Save
  232.             17.11.10 Scheme Menu
  233.        17.12 Macros
  234.             17.12.1 Macros Using AREXX
  235.             17.12.2 Recording Macros
  236.             17.12.3 Playing a Macro
  237.        17.13 Mask requester
  238.             17.13.1 Mask for Excepting Certain Motives
  239.             17.13.2 A color
  240.             17.13.3 Colorarea
  241.             17.13.4 Colormatrix (CLUT)
  242.             17.13.5 Saturation
  243.             17.13.6 Contrast
  244.             17.13.7 Addition of Several Masking Steps
  245.             17.13.8 Manipulation of Alpha Masks
  246.        17.14 Pen Requester
  247.             17.14.1 Pen Preview
  248.             17.14.2 Generate a Pen
  249.             17.14.3 Square Pens
  250.             17.14.4 Circular Pens
  251.             17.14.5 Different Kinds of Airbrushes
  252.             17.14.6 Unicolor Circular Brushes
  253.             17.14.7 One Point Brush
  254.             17.14.8 Pen Menu
  255.        17.15 Zoom Requester
  256.             17.15.1 Enlarging a Part of the Project
  257.             17.15.2 Scaling Down a Part of the Project
  258.             17.15.3 One Magnifier for Each Worksheet
  259.        17.16 Layer Requester
  260.             17.16.1 The Two Lists of the Layer Requester
  261.             17.16.2 Fixing the Order
  262.             17.16.3 Generating a Picture Composition
  263.  
  264.    18  Paint Modes
  265.        18.1  Solid
  266.        18.2  Background
  267.        18.3  Shade
  268.        18.4  Cycle
  269.        18.5  Smoothing
  270.        18.6  Smear
  271.        18.7  Tear
  272.        18.8  As-it-is
  273.        18.9  Inverse
  274.        18.10 Color Exchange
  275.        18.11 Brightness Exchange
  276.        18.12 Saturation Exchange
  277.        18.13 Darken
  278.        18.14 Brighten
  279.        18.15 Saturation +
  280.        18.16 Saturation -
  281.        18.17 Color Degree
  282.        18.18 Contrast +
  283.        18.19 Contrast -
  284.  
  285.    19  Shortcuts
  286.             19.0.1  Mirror at the X-axis
  287.             19.0.2  Mirror at the Y-axis
  288.             19.0.3  Turn Brush 90°
  289.             19.0.4  Brush Half
  290.             19.0.5  Brush Double
  291.             19.0.6  Brushwidth Half
  292.             19.0.7  Brushheight Half
  293.             19.0.8  Brushsize Individual
  294.             19.0.9  Turn the Brush Individual
  295.             19.0.10 Maximum Mask for the Actual Brush
  296.             19.0.11 Mask a Brush
  297.             19.0.12 Switch off Masking
  298.             19.0.13 Get Color
  299.             19.0.14 Get a One Point Pen
  300.             19.0.15 Get a New Pen
  301.        19.1 Moving the Mouse with Keyboard
  302.  
  303.    20  The AREXX Interface
  304.        20.1  Table of AREXX-commands
  305.        20.2  Description of AREXX-Commands
  306.        20.3  Parameter-Tabels
  307.             20.3.1  Color Modes
  308.  
  309.    21  VLab
  310.  
  311.    22  Load- and Save-Functions
  312.  
  313.    23  The Future
  314.  
  315.    24  Copyrights
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  Chapter 1
  324.  
  325.  
  326.  Introduction
  327.  
  328.  
  329. Xi-Paint is a 24 bit paint program for manipulating true color pic-
  330. tures in 16 million plus colors. It has been written to be hardware
  331. independent, meaning it can support special features of hardware
  332. display devices when available. These features are described in the
  333. appendix.
  334.  
  335. To give you a better understanding of 24 Bit graphics let's take a
  336. look at what is involved in the creation and manipulation of these
  337. images. A 24 bit picture with a resolution of 800 x 600 pixels is an
  338. extremely large file and we can see this by calculating its' size in
  339. bytes. To calculate the file size, multiply the ho rizontal resolution
  340. by the vertical resolution times the number of bits per pixel divided
  341. by 8 (the number of bits in a byte). Given this formula H*V*24/8
  342. the above file would be 1,440,000 Bytes in size requiring almost 1.5
  343. megabytes of storage. This would be true whether it is being stored
  344. on a Hard Drive or in memory.
  345.  
  346. When you wish to work with this file Xi-Paint loads the image from
  347. the hard drive into RAM where Xi-Paint is capable of manipulating
  348. the image directly at high speed.  One thing you will need to re-
  349. member is that the formula just described gives the file size in RAW
  350. format. This means that an IFF, DEEP, ILBM or even a JPeg file
  351. will all be smaller as they all do some form of compression.  As
  352. you can see, for a file of 1.5 megabytes we will require at least that
  353. much memory be available after we run Xi-Paint, or we will not be
  354. able to load the image into Xi-Paint to work on it. What this means
  355. for our system requirements is that we will require memory for the
  356. Program to run (1 megabyte).
  357.  
  358. We will need memory for the image to be loaded by Xi-Paint (1.5
  359. megabytes) and then we will also require memory to use specific
  360. features.  To cut and use brushes you must also have at least 1
  361. megabyte available. As you can see, when manipulating such large
  362. images the more Ram available - the faster and more productively
  363. you can work.
  364.  
  365. Now that you are familiar with the size of 24 bit images you can see
  366. that there are a few considerations to be made concerning storage.
  367. The image that we used for the example came to approximately
  368. 1.5 megabytes in size.  This image must be stored on a computer
  369. medium other than RAM when your computer is not turned on.
  370.  
  371. Normally images of this size are stored on a hard disk connected to
  372. the system. When purchasing such a hard drive it is important to
  373. remember the sizes of the files you plan to use. A 40 mb hard drive
  374. would be insufficient for storing programs and the data you create
  375. with them. You will quickly run out of room on such a small hard
  376. drive. If you intend to do animation in 24 bit then you will require
  377. a very large storage device and should look at drives 500 megabytes
  378. and larger.
  379.  
  380. The last thing to under stand is file compression. The image used
  381. for the example was in RAW format.  Most file formats available
  382. for the Amiga include some form of compression, This com pression
  383. enables you to store large amounts of information in smaller areas
  384. and to make more efficient use of your hard drive. It is important
  385. to realize that image com pression will not help with the amount
  386. of RAM needed as the image is not compres sed when it is being
  387. worked on in Xi-Paint.
  388.  
  389. A few of these formats are IFF, ILBM, DEEP, JPeg, and others.
  390. For you to have access to all these image formats you must have
  391. a conversion program such as ADPro from ASDG. WhileXi-Paint
  392. in corporates the IFF and the JPeg file formats we suggest you
  393. startwith the IFF format. This will compress your images approxi-
  394. mately 30while capable of tremendous compression ratios, is a lossy
  395. compression. This me ans that image quality may be sacrificed for
  396. compression.  You should play with the JPeg format to determine
  397. its usefulness for your particular purpose.
  398.  
  399. Xi-Paint is fully compatible with all versions of AmigaDOS 2.0 or
  400. higher and will not run under AmigaOS 1.3 or previous versions of
  401. the AmigaOS. Xi-Paint is compatible with most IFF formats inclu-
  402. ding 8 and 24 bit. Xi-Paint is also capable of rendering all AMIGA-
  403. DOS 2.0 and above compatible outline fonts. The ability to use all
  404. AmigaOS compatible fonts sets gives you access to high quality out
  405. line fonts from several third parties such as Soft Logic and Gold
  406. Disk. Many hours have been spent on the creation of this program
  407. and manual. While we have endea voured to create the most error
  408. free software package available - inevitably some things do get by.
  409. If you experience any problems/bugs or find errors in the manual
  410. we would appreciate your comments.
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  Chapter 2
  418.  
  419.  
  420.  The  Authors
  421.  
  422.  
  423. If you have questions about Xi-Paint - please contact us.  Write a
  424. letter to:
  425.  
  426.    Thomas Dorn
  427.    A-1210 Vienna
  428.    Kerpengasse 69
  429.    AUSTRIA
  430.  
  431. or write a note via internet to:
  432.  
  433.    tdorn@xipaint.co.at
  434.  
  435. or contact via Fido:
  436.  
  437.    2:310/98.0
  438.  
  439. or call my mailbox (Xi-PaintBBS)
  440.  
  441.    ++43-1-2714549
  442.  
  443. or simply send a FAX:
  444.  
  445.    ++43-1-2714549.
  446.  
  447. Thanks to the following people:
  448.  
  449.    Axel Bruns           Michael Hermann
  450.    Wolf Faust           Henning Friedl
  451.    Oliver Müller        Reinhard Pössinger
  452.    Jürgen Schober       Rolf Stegemann
  453.    Peter Stegemann      Hartwig Tauber
  454.    Rolf Tingler         Tamara Trenkler
  455.    Karl Wundsam         Peter Wlcek
  456.    and Erich Frotzler for the paintings.
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  Chapter  3
  464.  
  465.  
  466.  Installation
  467.  
  468.  
  469. It is very easy to install Xi-Paint.  Open the window of the hard
  470. disk or the table of contents to which Xi-Paint should be copied.
  471. Now open the table of contents of the Xi-Paint disk.  There you
  472. find the Xi-Paint drawer which you simply drag, while pressing the
  473. left mouse button, to the previous opened window.  Now release
  474. the mouse button and all necessary files are copied. Make sure that
  475. your hard disk provides at least 1 MB of free disk space. Otherwise
  476. Xi-Paint will not be completely installed. If this occurs, you will get
  477. a message. After successful installation you will find the  Xi-Paint
  478. drawer in the selected directory.  It contains all the necessary files
  479. you need for using Xi-Paint.
  480.  
  481.   3.1   System Settings
  482.   3.2   Setting of the graphic adapter
  483.   3.3   Minimum Memory Amount
  484.   3.4   Menus
  485.  
  486.  
  487.  
  488.  
  489.  3.1     System Settings
  490.  
  491.  
  492. Before using Xi-Paint the parameters of your system configuration
  493. have to be set. In the Xi-Paint drawer you will find a program cal-
  494. led Xi-Prefs which enables you to fix the important system settings.
  495. These settings have to be fixed by a particular pro gram because it
  496. is necessary for Xi-Paint to know them before its first start. Other-
  497. wise it could be impossible to start Xi-Paint at all.  Activate this
  498. "presetter" Xi-Prefs by double mouseclicking.  A requester, which
  499. offers the setting possibilities (compare screenshot), will open. The
  500. most important setting is for your graphic adapter.  Hope fully
  501. you're using the Retina, but Xi-Paint supports most other 24-Bit
  502. graphic adapters and contains, depending on the version you use,
  503. the respective number of drivers.
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  3.2     Setting of the graphic adapter
  510.  
  511.  
  512. The available output drivers are shown in the "available graphic
  513. adapters" catalogue.  Choose the one your computer uses with a
  514. double left button mouseclick. A new window appears which shows
  515. all possible resolutions.  You can choose the one which you want
  516. Xi-Paint to use.
  517.  
  518. This setting can be changed whenever you want, so you can try
  519. different resolutions.  To change the chosen resolution just click
  520. the "choose display" button.  The window opens again and you
  521. can choose the desired resolution.  Right beside the catalouge of
  522. available graphic adapters there is an info box, which tells you the
  523. current settings.  Beside "card" you'll find the name of the chosen
  524. graphics adapter.
  525.  
  526. Below is the information about the chosen resolution and color
  527. depth. The remaining info tells you the internal card display num-
  528. ber which is not necessary for common use.  Notice that Xi-Paint
  529. always shows, in the catalogue of available graphic adapters, all
  530. available drivers and not just the one you use.
  531.  
  532.          Figure: XPrefs
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  3.3     Minimum Memory Amount
  539.  
  540.  
  541. This setting addresses the minimum necessary memory you need
  542. to start Xi-Paint. The appropriate adjustment can be entered into
  543. the box above the words "mimimum free memory". To be able to
  544. use Xi-Paint you should not enter a value below 1.000.000.
  545.  
  546. If your computer has less than 2 MB memory you should lower
  547. this value, otherwise Xi-Paint will not boot up because of a lack
  548. of memory.  After adjusting all settings store them by "Saving".
  549. Xi-Paint will use them after each restart of the program.  If you
  550. just want to try out the chosen settings, click the button"Use". -
  551. Paint will use these adjustments until the next retart. If you want
  552. to reject the current settings, click "Abort."
  553.  
  554.          Figure: XiPaint Drawer
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  3.4     Menus
  561.  
  562.  
  563. Using the menus gives you other options.  In the "Preset" menu
  564. you can find "reset" (<right Amiga> <Z>), "back to last saved"
  565. (<right Amiga> <L>) and "Back to last used" (<rightAmiga>
  566. <S>). By clicking "reset" the Xi-Prefs adjustments are setback to
  567. fixed internal values which are shown during the very first start.
  568. "Back to last saved" loads the latest saved values and "Back to last
  569. used" deletes your most recent changes.
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  Chapter  4
  578.  
  579.  
  580.  Basics for 24 Bit Drawing
  581.  
  582.  
  583.   4.1   Introduction
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  4.1     Introduction
  590.  
  591.  
  592. Xi-Paint  facilitates  nearly  unlimited  creative  potential  without
  593. worry about technical details.  Nevertheless you need some basic
  594. information. The following several examples will show you the dif-
  595. ferent features of Xi-Paint and will introduce the individual imple-
  596. mentations. This will make it a useful "compact manual" in itself.
  597. The following chapter will give you some information about the
  598. internal procressing of 24 Bit.  If you are not interessted in this
  599. subject you can leap over this chapter as well.
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  Chapter  5
  608.  
  609.  
  610.  Basics
  611.  
  612.  
  613. This chapter includes basic information for working with Xi-Paints
  614. window and menu desktop.  The steps which are explained during
  615. the following pages won't be mentio ned in later chapters. Therefore
  616. it is very important for the inexperienced Xi-Paint user to grok the
  617. following information.
  618.  
  619.   5.1   The Xi-Paint Window
  620.        5.1.1   The Windows Utilization
  621.        5.1.2   Sizing Windows
  622.        5.1.3   Window Width
  623.        5.1.4   Scrolling
  624.        5.1.5   Closing Windows
  625.   5.2  Using the Menus
  626.        5.2.1   Available Options are Activated
  627.   5.3   Text Input Boxes
  628.   5.4   The Scrollers
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  5.1     The Xi-Paint Window
  635.  
  636.  
  637. Xi-Paint uses windows and menus. A window might include pain-
  638. tings (worksheets) or requesters with several options (color set-
  639. tings,shades, etc.). All windows are placed on a background (desk-
  640. top). It is not possible to work on the desktop itself. Any window
  641. can be activated by mouse click. The activated window is shown by
  642. a changed frame color. Even if the mouse pointer leaves the window,
  643. it will remain activated until you mouse click another window.
  644.  
  645.   5.1.1   The Windows Utilization
  646.   5.1.2   Sizing Windows
  647.   5.1.3   Window Width
  648.   5.1.4   Scrolling
  649.   5.1.5   Closing Windows
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  5.1.1    The Windows Utilization
  656.  
  657.  
  658. The window frame includes some buttons which allow varied ma-
  659. nipulations for arranging your desktop the way you'd like it.  The
  660. following screenshot shows you such a window. Not every windows
  661. offers all the options. The headline of a new worksheet contains the
  662. text "project X".  X refers to a number of your painting.  If your
  663. worksheet has already been saved before, the headline shows you
  664. the entered name.
  665.  
  666. The headline of a requester shows you the requester's name which
  667. also tells you its function. The headline also allows you to move the
  668. currently activated window by clicking and holding the left mouse
  669. button pressed.  While moving a window just its frame is shown.
  670. It will be completely redrawn in its new position. In the top right
  671. corner there are two buttons. The right one is for straightening up
  672. the windows.  If you want to put a window into the background
  673. or foreground, use the depth button.  To put a window into the
  674. foreground, the concerned window can also be doubleclicked.
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  5.1.2    Sizing Windows
  681.  
  682.  
  683. To the left of the depth button there is one more symbol which
  684. enables you to chan ge the window size.  This button makes the
  685. window, while you do not need it, as small as possible.  Another
  686. click on the same button resizes it again to its former size.
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  5.1.3    Window Width
  693.  
  694.  
  695. The symbol at the right bottom corner enables you to change the
  696. width of the window as you want.
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  5.1.4    Scrolling
  703.  
  704.  
  705. At the right and bottom side of each worksheet are the scrollers
  706. to move to the differ tent cuts of your project.  Notice, especially
  707. while filling, that each action just takes place for the cut you can see
  708. at the moment. Even a brush, which ends outside your worksheet
  709. window will just be copied to the part you can see.
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  5.1.5    Closing Windows
  716.  
  717.  
  718. In the left top corner is the close button. If you click it the window
  719. will be closed. Project will be lost if you do not save them before.
  720. For this reason there will be a "security check" before the window
  721. is closed. You can reopen them whenever you want.
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  5.2     Using the Menus
  728.  
  729.  
  730. Xi-Paint also uses pull-down menus beside the previously explai-
  731. ned window functions.  By pressing the right mouse button you
  732. can make the header with its menus visible.  You'll also find the
  733. shortcuts, i.e. right "A" + a certain letter or sign. Don't mix these
  734. shortcuts up with the drawing shortcuts which can be activated by
  735. pressing just the specific buttons. Menu shortcuts are only possible
  736. if the corresponding command is available for the opened window.
  737.  
  738.   5.2.1   Available Options are Activated
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  5.2.1    Available Options are Activated
  745.  
  746.  
  747. The contents of the menu bars correspond with the activated win-
  748. dow. You have access to the menu points you can use. In adapted
  749. bars you will always find the same shortcuts for the same functions.
  750. To get back to the basic menus you simply click on your desktop
  751. at any place. All windows will be deactivated and the basic menus
  752. will be available.
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  5.3     Text Input Boxes
  759.  
  760.  
  761. Xi-Paint is programmed to enable you to work with the mouse,
  762. but in some cases (project names for instance) it is neccecary to do
  763. keyboard inputs. Xi-Paint allows you to change settings by mouse
  764. or the input of certain values. To do inputs in such a box y click any
  765. place on the box. It will change its color and present a cursor. For
  766. the text boxes the following shortcuts are available, which simplify
  767. the input of text:
  768.  
  769.          Figure: Text Input Box
  770.  
  771.   _______________________________________________________________
  772.   |  Key                | Function                              |
  773.   ---------------------------------------------------------------
  774.   |  Backspace          | deletes the sign right of the cursor  |
  775.   |  DEL                | deletes the sign left of the cursor   |
  776.   |  SHIFT              | jumps to the beginning of a text      |
  777.   |  SHIFT !            | Jumps to the end of a text            |
  778.   |  <right Amiga> x    | deletes the whole text                |
  779.   |  TAB                | jumps to the next input box           |
  780.   |  SHIFT TAB          | jumps to the previous input box       |
  781.   |  Enter              | takes the text and finishes the input |
  782.   ---------------------------------------------------------------
  783.  
  784. If you press TAB in the last input box, the cursor will appear in
  785. the first input box.
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  5.4     The Scrollers
  792.  
  793.  
  794. In many cases you can use scrollers to set certain values or to choose
  795. clips. They can be moved by holding the left mouse button pressed.
  796. The Xi-Paint scrollers are size sensitive, which means that they
  797. always show the correct size relation between the control area and
  798. the size of the scroller bar.  If you reduce a paint window which
  799. showed the whole painting before just a little bit, the scroller bar
  800. will fill a big part of the scroller and you can use a small part for
  801. moving.  This feature always enables you to know the size of your
  802. project.
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  Chapter  6
  811.  
  812.  
  813.  First  Steps
  814.  
  815.  
  816. In this chapter you'll learn the basics of how Xi-Paint paint func-
  817. tions. To ensure that you get the same results which are described
  818. in the following chapters - restart Xi-Paint, to reset the different
  819. options. Otherwise you may get different results than the se.
  820.  
  821.   6.1   Opening a New Worksheet
  822.        6.1.1   Setting the Size
  823.   6.2  Important Drawing Functions
  824.        6.2.1   A House Made of Rectangles and Lines
  825.        6.2.2   Correcting a Mistake by UNDO
  826.        6.2.3   Precise Mouse Control by Keyboard
  827.        6.2.4   Saving the Project
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  6.1     Opening a New Worksheet
  834.  
  835.  
  836. This is the first step for a new painting. Xi-Paint gives every works-
  837. heet its own window in which the worksheet is shown. Choose from
  838. the menu "project" the option "new" or press the shortcut <right
  839. Amiga> <n>.  If you have not restarted Xi-Paint and you can-
  840. not find the project menu now or "new" is not available, activate
  841. another window or click directly on the desktop.  After this the
  842. desired menu option will be there.
  843.  
  844.   6.1.1   Setting the Size
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  6.1.1    Setting the Size
  851.  
  852.  
  853. After choosing "new" a small requester opens which asks you to set
  854. the size for your new project.
  855.  
  856.          Figure: New-Requester
  857.  
  858. This value doesn't correspond with the chosen resolution.  If the
  859. project is smaller than the chosen resolution a window in the ap-
  860. propriate size will be opened.  If the project is bigger than the
  861. chosen resolution, a screen covering window with scrollers, which
  862. shows the left top of your project, will be opened.  The maximum
  863. size depends on existing memory. If you recognize, while painting,
  864. that your chosen window is too small, just pick your project as a
  865. brush and put it in a new and bigger window. This is also possible
  866. if your window is too big, but not recomended, because you will
  867. lose some details.
  868.  
  869. The size of the graphic always depends on your intended use.  For
  870. presentations, for example, you can use the typical screen resoluti-
  871. ons (640x480, 800x600, etc.)  for getting a full screen picture.  For
  872. posters or covers it is useful to use the width and height relations
  873. of a different format.  For DIN A4 this will be about 5:7 which
  874. means a size about 1000x1400 or 500x700.  For the first steps a
  875. small graphic will be enough, so let's use 320x200.  Click first on
  876. the input box, delete the values by <right Amiga> <x> and then
  877. insert 320. Do not fix this input by pressing Enter but simply use it
  878. by pressing Tab. This automatically activates the next input box,
  879. which deals with the desired height. Delete the given value <right
  880. Amiga> <x> again and insert 200. Now press Enter to enable both
  881. changes.  To open the defined worksheet just click the OK button
  882. or press Enter. If choosing "new" was a mistake just click "cancel"
  883. and the event will be stopped.
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  6.2     Important Drawing Functions
  890.  
  891.  
  892. After having chosen the size of the new worksheet a new paint
  893. window will open. First we want to use some simple drawing tools.
  894. Try to copy this easy line graphic.  As a new tool is explained in
  895. the following pages for the first time, the shortcut will be shown in
  896. brackets. Decide for yourself if you prefer working with the mouse
  897. or on the keyboard.  Using the keyboard will require more time
  898. to learn, but it will allow you greater speed and more fluency.  If
  899. you need more detailed information during certain steps, i.e. for a
  900. certain requester, please look in the appropriate chapters.
  901.  
  902.   6.2.1   A House Made of Rectangles and Lines
  903.   6.2.2   Correcting a Mistake by UNDO
  904.   6.2.3   Precise Mouse Control by Keyboard
  905.   6.2.4   Saving the Project
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  6.2.1    A House Made of Rectangles and Lines
  912.  
  913.  
  914. Let's start with the house.  First choose the rectangle tool(<r>).
  915. Now you can draw the rectangle needed for the outline. Place the
  916. mouse pointer to the position where the left top of the rectangle
  917. should be positioned, then press left mouse button. While pressing
  918. the mouse button you can pull the rectangle to the desired size.
  919.  
  920.          Figure: House
  921.  
  922. A rubber band will show your mouse moving and also the size of the
  923. rectangle. Release the button at the desired size and the rectangle
  924. will be drawn.  The color will depend upon the settings in the -
  925. Paint color requester. These color settings will be explained later
  926. in this chapter. Now we can draw the windows and the door of our
  927. house. This should be done in the same way we did the outline.
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  6.2.2    Correcting a Mistake by UNDO
  934.  
  935.  
  936. If a mistake happens you can correct it by clicking the Undo button
  937. (<u>). By pressing it once, the last step will be undone,by pressing
  938. it twice also the last but one step will be undoneand so on.  The
  939. number of possible undones just depends to theavailable memory.
  940. If pressing undo is a mistake itself you can"undo" the undone by
  941. clicking Redo button (<U>).  Just try thesefunctions by yourself
  942. by removing and "re-removing" the windowsof our line house. But
  943. there also has to be a roof for our house.  For drawing it we need
  944. the line tool (<v>). But toposition the mouse pointer exact to the
  945. right position is notvery easy.
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  6.2.3    Precise Mouse Control by Keyboard
  952.  
  953.  
  954. The mouse pointer can be controled by keyboard.  First move the
  955. pointer by mouse as near as possible to the position where you want
  956. to draw. Keep both amiga keys pressed and use the cursor keys to
  957. move to the exact position you want the pointer. This will happen
  958. in one point steps.  After having positioned the pointer, keep the
  959. left mouse button pressed (otherwise the exact position will be lost
  960. again) and then stretch the line.
  961. You can also simulate the left button press by keyboard (<left
  962. Amiga>and <ALT>). Keep both buttons pressed and use the cur-
  963. sor keys to stretch the line. By releasing ALT the line will be fixed.
  964. The chimney can be made in the same way.  The smoke and the
  965. cloud on the side can be made by freehand tool. (<d>) as well as
  966. the horizon in the background. The sun is a simple circle (<c>).
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  6.2.4     Saving the Project
  973.  
  974.  
  975. Now we have produced our first work of art.  Before we continue,
  976. we need to save it. Make certain that this window is activated (the
  977. frame has a different color than the deactivated windows).  Now
  978. choose from project menu "picture save as : : :"(<right Amiga>
  979. <a>). A requester will open and you can type the path and name
  980. for your picture. Xi-Paint uses the IFF DEEP format, but you also
  981. can use different formats which can be chosen in the file requester
  982. (menu bar).
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  Chapter  7
  991.  
  992.  
  993.  To  Work  with  Colors
  994.  
  995.  
  996. Our painted house is beautiful but a little bit colorless. That's why
  997. we want to color it. Call up the command"colors" (<right Amiga>
  998. <C>) from the "menus" menu. The colorbox will open.
  999.  
  1000.   7.1   The Colorbox
  1001.        7.1.1   The Perfect Colorhues for our Painting
  1002.   7.2   Filling a Painting
  1003.   7.3   Saving the Palette
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  7.1      The Colorbox
  1010.  
  1011.  
  1012. The colorbox allows you to choose and to mix colors.The top half
  1013. contains the scrollers for setting the color values, the bottom has
  1014. the 256 Colorboxes into which colors can be assigned. Some colors
  1015. are already assigned. By selecting, it will be used as actual painting
  1016. color.
  1017.  
  1018.          Figure: Colorbox
  1019.  
  1020. Try it by drawing an element onto our beautiful house. By using the
  1021. three scrollers (standing for red, green blue) the activated color can
  1022. be changed.  All unused colorboxes will assigned by Xi-Paint the
  1023. value for black. Click one of these empty boxes, mix an individual
  1024. color , and use it in your painting. To use the chosen color you first
  1025. have to press "assign". Otherwisethe "old" color will be used even
  1026. if in the colorbox the new one is shown.  For further help look in
  1027. the information part of this manual.
  1028.  
  1029.   7.1.1   The Perfect Colorhues for our Painting
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  7.1.1     The Perfect Colorhues for our Painting
  1036.  
  1037.  
  1038. First we need blue for our sky. Click one of the free colorboxes. Put
  1039. the scrollers for red and green to the very left (the textbox shows
  1040. "0") and the one for blue to the very right (the textbox shows
  1041. "255").  Green for the grass and red for the roof you can produce
  1042. in the same manner. Yellow for the sun can be produced by puting
  1043. red and green to the far right, and blue to the far left.  The other
  1044. colors can be produced in the same way. Dont forget to use a new
  1045. box for every new color, otherwise you'll loose your old color.
  1046.  
  1047.               _________________________________
  1048.               |       Hue  |red  |green |blue |
  1049.               ---------------------------------
  1050.               |      blue  |  0  |  0   | 255 |
  1051.               |     green  |  0  | 255  |  0  |
  1052.               |    yellow  | 255 | 255  |  0  |
  1053.               |       red  | 150 |  0   |  0  |
  1054.               |      grey  | 150 | 150  | 150 |
  1055.               |    purple  | 180 |  87  | 255 |
  1056.               |    brown   | 162 |  85  |  0  |
  1057.               |     white  | 255 | 255  | 255 |
  1058.               |     black  |  0  |  0   |  0  |
  1059.               |  darkgrey  |  80 |  80  |  80 |
  1060.               ---------------------------------
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  7.2      Filling a Painting
  1067.  
  1068.  
  1069. Now choose blue for your sky and activate your paint window. Then
  1070. switch on the filling tool (<f>). A mouse click on the sky will color
  1071. it quickly with blue.  If the filling isn't correct, check the drawing
  1072. mode.  In the menu "drawing mode" there should be the setting
  1073. "solid" (<left Amiga> <1>).
  1074.  
  1075.          Figure: House colored
  1076.  
  1077. If the color runs out, check your object for leaks.  To close small
  1078. "leaks", you can use the freehand tool.  and, for very exact pixel
  1079. setting, use the magnifying glass (tool button or <m>).  The ma-
  1080. gnifying glass will appear as a rectangle around the mouse pinter,
  1081. with which you can choose the area which has to be magnified. The
  1082. magnify window will show you the desired area. Now fill your house
  1083. with the different colors.  After you finishe your piece of art, save
  1084. your picture.  Save it again with "save as..." under a new name,
  1085. because we will need the "old" picture in the next chapter.
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  7.3      Saving the Palette
  1092.  
  1093.  
  1094. Maybe we will need the palette which we needed for our house at a
  1095. later time. Well, we can save it. Activate the colorbox. Now click
  1096. the right mouse button. A different menu will appear, which shows
  1097. the possibilities you will needf or editing a palette, for example
  1098. "save as..." (<right Amiga><a>). As you can see, we tried to give
  1099. similar actions the same name and shortcut. Now you can save your
  1100. palette in the same man ner you did with your painting. You now
  1101. know about the basic functions of Xi-Paint and have learned about
  1102. the most important tools of this program. Before reading the next
  1103. chapter, play with what you`ve learned.  Beginning with the next
  1104. Chapter we will deal with Xi-Paints advanced functions.
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  Chapter  8
  1113.  
  1114.  
  1115.  Creating  and  Managing Brushes
  1116.  
  1117.  
  1118. This chapter deals with one of the most important functions of -
  1119. Paint.  First we want to learn something about the basic concept
  1120. you'll need for working with Xi-Paint.  Later we will learn about
  1121. more advanced possibilities.
  1122.  
  1123.   8.1   Cut Out a Brush
  1124.        8.1.1   Individual Objects as Basics
  1125.        8.1.2   Cutting Out the Brush
  1126.   8.2   Masking a Brush
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  8.1      Cut Out a Brush
  1133.  
  1134.  
  1135. For our house we will need a fence, a real slatted fence with peaks,
  1136. which should look like the following example:  Because we don't
  1137. want to draw each slat for itself, we are going to use one of the
  1138. special skills of Xi-Paint, the paste function, which allows you to
  1139. draw one object and insert it where and when you want.
  1140.  
  1141.   8.1.1   Individual Objects as Basics
  1142.   8.1.2   Cutting Out the Brush
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  8.1.1     Individual Objects as Basics
  1149.  
  1150.  
  1151. Xi-Paint can work with several windows. First load our line pain-
  1152. ting.  For designing the slat we will open a new window with the
  1153. size 100x100. If you do not want to use the chosen color, open the
  1154. colorbox and choose another color.  The slat itself is easily desi-
  1155. gned with three rectangles and two lines.  The top margin of the
  1156. peg has to be removed afterwards by covering it with the chosen
  1157. background color.
  1158.  
  1159.          Figure: Parts of fence
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  8.1.2     Cutting Out the Brush
  1166.  
  1167.  
  1168. After finishing the object, it can be copied.  Choose the tool for
  1169. cutting out a rectangular brush (<b>) and choose the desired part
  1170. for cutting out by placing the frame around it. The brush will stick
  1171. on your mousepointer and can be placed in this window and also
  1172. in any other Xi-Paint window as often as you want.  So you can
  1173. exchange and interchange objects between different windows.
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  8.2      Masking a Brush
  1180.  
  1181.  
  1182. When you place your brush you'll recognice that the brushs' back-
  1183. ground is not trans parent.  We know for which color the brush
  1184. should be transparent (the currently chosen background color, with
  1185. which you have cleared your worksheet), but Xi-Paint doesn't. So
  1186. you have to choose which color of the brush should be transparent.
  1187. Select the colorbox and activate the box which contains the back-
  1188. ground color.  After that you just have to press < / > and all the
  1189. parts of the brush which contain the chosen colors will be trans-
  1190. parent.  Then you can place your slats in front of your house whe
  1191. reever you want. If you want to use black as your background color,
  1192. just press < [ >, which will create a maximum mask and will create
  1193. the desired result.  Now create the slat fence, to get the following
  1194. painting:
  1195.  
  1196.          Figure: Picture of fence
  1197.  
  1198. If you just need some parts of your slats, cut out that particular
  1199. part and position it in your "house"window. This slat fence can also
  1200. be colored.  Use the same color you used for the doors.  Call the
  1201. previously saved palette with "load" in the "palette"menu (<right
  1202. Amiga> <l>) and choose the right palette name from the requester.
  1203. Now you can color your painting with your previously saved colors.
  1204.  
  1205.          Figure: Picture of fence (filled)
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  Chapter  9
  1212.  
  1213.  
  1214.  Working  with  Brushes
  1215.  
  1216.  
  1217. This chapter will deal with advanced brush possibilities. The new
  1218. managing system will be the main topic.
  1219.  
  1220.   9.1   A Tube System of Tasks
  1221.        9.1.1   Shades in the Color Requester
  1222.        9.1.2   Making Your Work Easier by Brush Manipulation
  1223.   9.2   The Grid as Position Help
  1224.        9.2.1   The Brush Manager
  1225.   9.3   Multiple Brushes
  1226.        9.3.1   How the Brush Manager Works
  1227.        9.3.2   Composing the Tube System Puzzle
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  9.1      A Tube System of Tasks
  1234.  
  1235.  
  1236. For this option, we want to work out a project which seems to be
  1237. very complicated but is very easy to execute with Xi-Paint.  Just
  1238. look at the following picture:
  1239.  
  1240.          Figure: Tubes (completed)
  1241.  
  1242. It's a tube system which covers the whole screen. You can use the
  1243. same duplicating system you learned about when we produced our
  1244. fence. Now it's even easier. The whole system is made from three
  1245. parts which can be put together in the desired positions. The three
  1246. elements look like:
  1247.  
  1248.          Figure: Tubes (Parts)
  1249.  
  1250. The 3D-effect is easy to produce, you just have to create 6 colors,
  1251. each one being darker than the one before. The color requester al-
  1252. lows you to generate them by its function "Shade". Shade generates
  1253. a very smooth transition between two colorhues.
  1254.  
  1255.   9.1.1   Shades in the Color Requester
  1256.   9.1.2   Making Your Work Easier by Brush Manipulation
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  9.1.1    Shades in the Color Requester
  1263.  
  1264.  
  1265. For our tubes just create one colorbox with white (255, 255,255).
  1266. Now count up to the sixth box and set it to blue (0, 0,255).  Now
  1267. click the white box, the button "Shade" and then the blue box.
  1268. Automatically the colors in between will be created. Remember to
  1269. press assign.  Otherwise the new colors won't be accepted.  After
  1270. creating the colors, paint your three elements. Take care that each
  1271. part is sized 20x20 points. For better positioning, especially for the
  1272. arrows, it is recomended to use the magnifier. Please save the three
  1273. elements.  The crossing can be used for every direction.  But the
  1274. arrow can only be used in one direction and the line allows you just
  1275. a horizontal use.
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  9.1.2     Making Your Work Easier by Brush Manipulation
  1282.  
  1283.  
  1284. The parts we need can be created by Xi-Paint's brush manipulation.
  1285. First cut out the line as a rectangular brush then press <z>. This
  1286. rotates the brush abouts 90°.  Now we've got the element for the
  1287. vertcal line.  Take care that each brush is exactly 20x20 and the
  1288. element is situated in the middle of the brush.  That's not very
  1289. easy, but by using the magnifier it should not be a problem. If you
  1290. aren't careful, you will not be able to use the positioning help we
  1291. are going to use.
  1292.  
  1293. Now we need the four arrows, for allowing curves to bend in all
  1294. directions.  There are two different ways to get this result.  First
  1295. you can use the <z> key for rotating the brush four times about
  1296. 90O.  And second you can use two other tools Xi-Paint offers you,
  1297. which are the reflections.  After taking the brush, press<y>.  It
  1298. reflects the brush by its vertical axis and you can insert the result
  1299. to your painting.  Now rotate the brush about 90o again and you
  1300. will get the third arrow to use. At least you just need to press <x>
  1301. which reflects the brush this time to its vertical axis.  Then insert
  1302. this part on the worksheet. After finishing the worksheet, save your
  1303. object collection.
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  9.2      The Grid as Position Help
  1310.  
  1311.  
  1312. Now we want to compose our tube system. First open a new win-
  1313. dow.  It would be very exhausting to position the small parts in
  1314. an exact way. Therefore we want to use a position grid. Click the
  1315. grid button in the toolbox or press <right Amiga><G>.The grid
  1316. requester will appear.
  1317.  
  1318.          Figure: Grid-Requester
  1319.  
  1320. Now you can set the grid size.The beginnings and endings of your
  1321. objects just can be positions at the crossings of this invisible grid.
  1322. For our tube elements set the hight and width of our grid to 20
  1323. points. Don't forget to set the switch in the left bottom corner to
  1324. "on". Otherwise there will be no grid. You can quit this requester
  1325. by "close".  If you decide to switch off the grid, don't close the
  1326. requester. So you simply have to switch the on/off switcher.
  1327.  
  1328.   9.2.1   The Brush Manager
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  9.2.1     The Brush Manager
  1335.  
  1336.  
  1337. To produce the tube system in a such an easy way, make sure that
  1338. the brush is exactly sized, in this case, to 20x20. You need not cut
  1339. out the brush each time you need it,just use Xi-Paint's fantastic
  1340. feature, the brush manager.
  1341.  
  1342.          Figure: Brush-Requester
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  9.3      Multiple Brushes
  1349.  
  1350.  
  1351. Xi-Paint  enables  you  to  manage  up  to  128  brushes,  depending
  1352. upon what number you set in the "settings"requester.  The pro-
  1353. gramm stores them and offers them after starting Xi-Paint.  Call
  1354. from"menus" menu the comand "brush..." (<right Amiga> <B>).
  1355. A new requester will open.  Use the scroller for finding the area
  1356. where your tube parts are situated. Xi-Paint saves each brush you
  1357. take in this "list". Therefore you will also see some older brushes,
  1358. for example from our fence.
  1359.  
  1360.   9.3.1   How the Brush Manager Works
  1361.   9.3.2   Composing the Tube System Puzzle
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  9.3.1     How the Brush Manager Works
  1368.  
  1369.  
  1370. If the list is complete, Xi-Paint starts to overwrite the old brushes,
  1371. beginning with the oldest one.  So you might find the tubes some-
  1372. where in the middle of the list.  If you click the free part of the
  1373. scroller the list will move further for one page.
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  9.3.2     Composing the Tube System Puzzle
  1380.  
  1381.  
  1382. To choose a brush to use, just click on it. It will stick on the pointer
  1383. and can be placed in each window. As you recall, we took care that
  1384. the brushes are sized 20x20, so they will exactly fit in our grid.
  1385. Do not be puzzelled by the representation of a certain brush in the
  1386. brush window. Xi-Paint tries to show the brush format filling. The
  1387. tube system is just an easy example for using the brush manager.
  1388. For everyday work you will need this feature again and again.
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  Chapter  10
  1397.  
  1398.  
  1399.  Cycle and Shade in Practice
  1400.  
  1401.  
  1402. Cycling and shading are extremely important.  Xi-Paint takes full
  1403. advantage of the power inherent in these two options.
  1404.  
  1405.   10.1  Cycled Colors
  1406.        10.1.1  The Working Method of Cycle
  1407.        10.1.2  The Cycle in Practice
  1408.        10.1.3  Offset Setting for Exact Cycle Adjusment
  1409.   10.2   Cycling in Practice
  1410.        10.2.1  A Frame
  1411.        10.2.2  Color Bars
  1412.        10.2.3  Vertical and Diagonal Stripes
  1413.        10.2.4  Shades
  1414.        10.2.5  Choice of Shades
  1415.        10.2.6  5 Point Shades for Special Effects
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  10.1      Cycled Colors
  1422.  
  1423.  
  1424. This functions offer a lot of special effects, which may be difficult
  1425. to comprehend.  So do not give up if you find this chapter a little
  1426. bit difficult. With just a bit of practice and experimentation you'll
  1427. become extremely fond of this paint mode.  The basic function is
  1428. easy to explain.  Activate "Cycle" (<right Amiga> >4>) and -
  1429. Paint will use the next color from the defined cycle requester for
  1430. each new object. The object can be a brush or some object. This
  1431. means that for example for a rectangle, which was produced by a 1
  1432. point standard brush, each point will get the next color.
  1433.  
  1434.   10.1.1  The Working Method of Cycle
  1435.   10.1.2  The Cycle in Practice
  1436.   10.1.3  Offset Setting for Exact Cycle Adjusment
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  10.1.1     The Working Method of Cycle
  1443.  
  1444.  
  1445. Call the Color requester (<right Amiga> <C>). That's important
  1446. because cycling uses the colors you have defined before.  Take red
  1447. (255, 0, 0) for the first box, for the second blue (0,0, 255) and for
  1448. the third one choose red again. Do not forget to click "assign" and
  1449. then close the color requester. If your memory requires more than
  1450. 2 MB the requester can remain open as well.  Now call the cycle
  1451. requester (<right Amiga> <Y>). For number of steps insert "50".
  1452. The shade should start with red, go to blue and then back to red.
  1453. Therefore you have to fill in "from" "0" and at "to" "2". The cycle
  1454. will also go from the first to the third colorbox (Xi-Paint starts at
  1455. zero).
  1456.  
  1457.          Figure: Cycle-Requester
  1458.  
  1459. To check the effect of the newly created cycle and to make the
  1460. program accept the new cycle, click "generate". The cycle will also
  1461. be created internally and shown in the preview bar.
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  10.1.2     The Cycle in Practice
  1468.  
  1469.  
  1470. Open a new worksheet for trying out your new cycle. Set the paint
  1471. mode to "cycle" (<right Amiga> <4>) and choose an unfilled rec-
  1472. tangle.  Paint it as big as possible.  Starting in the left top corner
  1473. Xi-Paint changes its color for each point. The line starts with red,
  1474. becomes blue and then red again. At the end of a cycle, the color
  1475. starts from the beginning again.  In our case you can't recognice
  1476. that, because our first and last color is the same.  Just the left
  1477. top corner shows a color crack because Xi-Paint starts there with
  1478. painting.  By freehand drawing you can watch the cycling while
  1479. drawing. Follow the line until it becomes blue.
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  10.1.3     Offset Setting for Exact Cycle Adjusment
  1486.  
  1487.  
  1488. If you continue drawing in another place, you'll recognize that the
  1489. cycle now starts in blue. Draw again until you see blue again. Now
  1490. set "offset" in the cycle requester to "0" and click "default " button.
  1491. If you continue drawing Xi-Paint will not start with the previous
  1492. blue color, but it will start with red again. Offset selects in which
  1493. color of the cycle the next step should be done. Xi-Paint itself uses
  1494. the value for the color with which you finished before.
  1495.  
  1496. Cycle can be used for any existing pencil and brush. Brushes have
  1497. to be used in "outline" mode.  This means their outline but not
  1498. their color will be used.  For cycling you can use any number of
  1499. colors you want. While using more colors, it may happen that you
  1500. have to extend the value from "steps". As a rule of thumb take 15
  1501. to 20 steps for each selected color. If there are mistakes, try some
  1502. different values (+/- 10). DO NOT FORGET TO "GENERATE" !!!!
  1503. Otherwise some mistakes will occur. Do not use too many steps
  1504. while using too few colors. Otherwise the cycle might not seem to
  1505. work.
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  10.2      Cycling in Practice
  1512.  
  1513.  
  1514. There are many situations in which you want to frame a certain
  1515. object or use the frame as a piece of art itself.
  1516.  
  1517.   10.2.1  A Frame
  1518.   10.2.2  Color Bars
  1519.   10.2.3  Vertical and Diagonal Stripes
  1520.   10.2.4  Shades
  1521.   10.2.5  Choice of Shades
  1522.   10.2.6  5 Point Shades for Special Effects
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  10.2.1     A Frame
  1529.  
  1530.  
  1531. Choose from the pencil requester (<right Amiga> <P>) a bigger
  1532. pencil (minimum 2x2). Let's say we want our frame to start at red,
  1533. become blue, green, again blue and then red (to close the cycle)
  1534. again. So we define in the color requester the box "0" and the box
  1535. "4"to red (255, 0, 0), "1" and "3" blue (0, 0, 255) and the "2"green
  1536. (0, 255, 0).  After doing that call the cycle requester.  For "steps"
  1537. choose "50" and for "from" and "to" set "0" and "4". Set "offset"
  1538. to "0".
  1539.  
  1540. Then click "generate".  The preview bar will show you the cycle.
  1541. There are certain requirements for a steady frame. No tice that, for
  1542. a steady frame, the frames length has to be a multiple of the steps.
  1543. So each corner will show the end of the cycle. To get this result we
  1544. use Xi-Paint's grid. Call the grid requester (<right Amiga> < G>)
  1545. and insert 50 for both width and height. Then set the switcher to
  1546. "on". Before painting with cycle, set the painting mode to "cycle".
  1547. As you now paint an unfilled rectangle, you are just able to paint
  1548. frames with a size multiple from 50.  If the color in the corners of
  1549. your rectangle is not the first one in your cycle, set "offset" in the
  1550. cycle requester to "zero"and press "default".
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  10.2.2     Color Bars
  1557.  
  1558.  
  1559. Sometimes you'll need an effective background. While using"cycle,"
  1560. Xi-Paint can produce color bars. This is not easy to describe so try
  1561. it for yourself. Use the same set tings you fixed for the frame. Even
  1562. "steps" will remain the same.  But switch off the grid and paint a
  1563. filled rectangle.  Depending on its size it will be filled with more
  1564. or less arranged patterns.  For getting a "more arranged" pattern
  1565. activate the grid and set width to "50" and height to "1". For obtai-
  1566. ning vertical Bars set "offset" to "0" and press " default". Draw a
  1567. filled rectangle and you'll be surprised. If you change "offset" (DO
  1568. NOTFORGET TO RESET TO DEFAULT) and paint another filled rectangle,
  1569. you'll get diagonal bars which might be much more
  1570. beautiful than vertical bars.
  1571.  
  1572.          Figure: Cycled rectangle
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  10.2.3     Vertical and Diagonal Stripes
  1579.  
  1580.  
  1581. How has this effect been done?  Xi-Paint starts a filled rectangle
  1582. from the top left corner and continues linewise from the top to the
  1583. bottom.  Let's stay with a 50 step cycle with an offset of 0.  If we
  1584. now draw a rectangle that's 50 pixels wide, Xi-Paint will start to
  1585. draw the first line and then run through the complete cycle.
  1586.  
  1587. At the end of the first line the last color of the cycle is reached. The
  1588. next line will now begin with the first color again, and therefore the
  1589. pixel colors of each row will be the same. You have the impression
  1590. of looking at many color bars. If you change the offsets, you'll get
  1591. similar results, but the cycles will now have offsets.
  1592.  
  1593. You'll then get the impression of diagonal stripes.  You can now
  1594. understand that an ellipse can never be used with this effect. That's
  1595. because the width of one line varies so the cycles aren't underneath
  1596. each other. The same is true for polygons but this cycle opens many
  1597. new options. Even though there are no visible color bars, you can
  1598. generate using nice effects using circles and polygons.
  1599.  
  1600. You should try to practice this function. It will give you increased
  1601. skills with these variations.
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  10.2.4     Shades
  1608.  
  1609.  
  1610. Xi-Paint supports the common basic shades because special effects
  1611. need a very long generating time in 24 Bit. Later it will also support
  1612. outline and highlight filling.
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  10.2.5     Choice of Shades
  1619.  
  1620.  
  1621. You need not limit your ideas. Xi-Paint offers, along with the two
  1622. point shade, 3-, 4-, and 5-point shades.  The colors can be defined
  1623. as you want.  The simplest shade is the one between two colors,
  1624. which is possible to get in vertical and horizontal hue.  The first
  1625. color will be used for the top or left, the second for the bottom or
  1626. right edge. That's also valid for all other shades, each colorbox will
  1627. be used from left to right and from top to bottom.
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  10.2.6     5 Point Shades for Special Effects
  1634.  
  1635.  
  1636. The fifth color will be used for a freely placed point, not only for
  1637. the center as com mon.  To place this point Xi-Paint offers you
  1638. two scrollers in the shade requester for x and y direction.  This
  1639. value will be fixed as a percentage because every shade can take a
  1640. different expansion.  A setting above 1 wouldn't work.  x=0mean
  1641. that the fifth point is situated in the left top corner, which makes no
  1642. sense be cause it will be covered by the first color point. Make sure
  1643. that the fifth point is minimally distanced 25the bottom margin,
  1644. a quarter away from the left margin. To "preview" the new shade
  1645. click "preview".  Xi-Paint shows the new shade immediately after
  1646. you create it,  so you need not press something like "generate".
  1647. After defining a certain shade, choose the "shade" painting mode
  1648. (<right Amiga> <3>). Lines and freehand drawing will be shown
  1649. as shades like filled areas. Play with the possibilities.
  1650.  
  1651.          Figure: Shade Requester
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  Chapter  11
  1660.  
  1661.  
  1662.  Special  Effects  with Brushes
  1663.  
  1664.  
  1665. The flexible handling of the Xi-Paint brushes offers you a lot of very
  1666. new possibilities. For basic knowledge, read the following pages.
  1667.  
  1668.   11.1  The Proof of the Pudding
  1669.        11.1.1  A Multicolored Rectangle for Our Experiments
  1670.        11.1.2  Finishing Touches
  1671.   11.2 The Related Theory
  1672.        11.2.1  Understanding Area Filling
  1673.   11.3  Some Tips
  1674.        11.3.1  Getting Experience
  1675.   11.4  New Shapes Using Brushes
  1676.        11.4.1  A Rectangle with Rounded Corners
  1677.        11.4.2  A Frame Instead of the Filled Rectangle
  1678.        11.4.3  A Rectangle with Sloped Edges
  1679.   11.5  Escaping a Running Routine
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.   11.1       The Proof of the Pudding
  1686.  
  1687.  
  1688. We use the filling possibilities of Xi-Paint together with the possi-
  1689. bilities of the brushes. Set in the shade requester (<right Amiga>
  1690. <U>) a "3 colors, 2 bottom" - shade.  Now call the color reque-
  1691. ster (<right Amiga> <C>) and set the first three color boxes to
  1692. very red, very blue, and very green. After pressing "preview" you'll
  1693. see a shade which is red on the bottom margin and has bottom
  1694. corners colored blue (left) and green (right).  If you can't see your
  1695. new shade, press "assign"in the color requester.  After that press
  1696. "preview" again. Then open a new worksheet. Set the paint mode
  1697. to "shade" (<rightAmiga> <3>) and activate the painting tool for
  1698. filled rectangles. Activate the one point brush (< . >).
  1699.  
  1700.   11.1.1  A Multicolored Rectangle for Our Experiments
  1701.   11.1.2  Finishing Touches
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.   11.1.1      A  Multicolored  Rectangle  for  Our  Experiments
  1708.  
  1709.  
  1710. We need a rectangle about 10 to 15 points length.  But its sides
  1711. need not have the same size. For painting this small of a rectangle
  1712. use the magnifier. If the rectangle does not appear with the chosen
  1713. shade, check if you've set the paint mode to "shade". The correct
  1714. rectangle could be cut out by the brush tool (<b>).  Take care
  1715. not to cut out the background around your rectangle. Turn off the
  1716. magnifier.  The small rectangle, filled with shade, sticks on your
  1717. pointer. Now activate the tool for filled freehand lines (<W>) and
  1718. activate the paint mode "as it is" (<right Amiga> <8>).  Now
  1719. paint an outline, similar to the one shown below:
  1720.  
  1721.          Figure: Outline
  1722.  
  1723. After releasing the mouse button, Xi-Paint starts to work. Depen-
  1724. ding on size and resolution, Xi-Paint will need up to a few minutes.
  1725. This fill also depends on the capacity of you computer. After finis-
  1726. hing you'll like the result.  It will be much more interesting than
  1727. the picture in the manual shows. You'll see a filled object, green on
  1728. the right and, if visible, blue on its left.  This causes a pseudo 3D
  1729. effect, which is used very often, especially by broadcasting stations.
  1730. Try the different effects by yourself.
  1731.  
  1732.          Figure: Filled Outline
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  11.1.2     Finishing Touches
  1739.  
  1740.  
  1741. Set the shade requester to "2colors, vertical" and activate the filling
  1742. tool (<f>).  Do not forget to use the one point brush (<.  >) and
  1743. to set the paint mode to "shade".  Now fill the red area to get a
  1744. much more beautiful effect. Sometimes a five point shade can also
  1745. be beautiful, just try it.
  1746.  
  1747.  
  1748.  
  1749.  
  1750.  
  1751.  11.2      The Related Theory
  1752.  
  1753.  
  1754. The above described effects look quite nice.  But to really know
  1755. how to use it, it's necessary to learn some of the theory. As already
  1756. mentioned Xi-Paint doesn't always use the one point pen to fill
  1757. areas. It can also use the currently selected brush. This isn't used
  1758. like one piece of a mosaic, but rather each single point of the area
  1759. to be filled will be drawn separately.  This means that for each
  1760. point of the related area, the entire brush will have to be displayed.
  1761. This explains the relatively long calculating time required, even for
  1762. filling a small area.  Xi-Paint always starts with the top left and
  1763. fills towards the bottom right.
  1764.  
  1765. Using this method you can create a pseudo 3-D effect.  This is
  1766. because the right and left border will always display the rest of the
  1767. brush. If you understand the methodology involved, you'll be able
  1768. to understand this aspect of Xi-Paint.
  1769.  
  1770. Set every setting once again in the same manner as before in the
  1771. freehand area set tings.  This time select a filled ellipse (<E>).  If
  1772. you draw an ellipse this time you'll notice there is no 3-D effect,
  1773. but the lower half is filled with blue and the upper half is filled with
  1774. red.
  1775.  
  1776.   11.2.1  Understanding Area Filling
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  11.2.1     Understanding Area Filling
  1783.  
  1784.  
  1785. This continues where the previous chapter left off.  You can easily
  1786. recognize how  Xi-Paint  generates a filled ellipse. The upper half
  1787. will be filled from the top left to the bottom right. The lower half
  1788. will be filled from the bottom left to the upper right. We encourage
  1789. you to test the other drawing tools.  You'll notice right away that
  1790. the results depend on the manner that Xi-Paint uses to generate
  1791. specific objects. An unfilled ellipse (<e>) will be put together using
  1792. 4 parts. Both of the upper sections will be drawn from the top to
  1793. the bottom, and the lower will be drawn from the bottom to the
  1794. top.
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  11.3       Some Tips
  1801.  
  1802.  
  1803. To get used to the brush results choose the freehand tool (<d>).
  1804. By drawing some outlines, you'll recognize the different possibilities,
  1805. depending upon if you start your line on the bottom or on the top.
  1806. The 3D effect will be disturbed by changing the direction. It's even
  1807. more visible if you use the line tool. Draw the following four lines
  1808. (use the shaded rectangle as brush and the paint mode "solid"):
  1809.  
  1810.          Figure: Lines
  1811.  
  1812. A physically impossible figure will appear.
  1813.  
  1814.   11.3.1  Getting Experience
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  11.3.1     Getting Experience
  1821.  
  1822.  
  1823. The result will be different which each setting and with different
  1824. drawing directions.  Most of the time the 3D setting will be lost.
  1825. Using the brush effects will need some planning and experience.
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  11.4      New Shapes Using Brushes
  1832.  
  1833.  
  1834. Xi-Paint offers rectangles with angular corners. Normally that will
  1835. be enough, but in certain cases you'd like to get a rectangle with
  1836. rounded corners.  Let's deal with how to do that.  Let's create a
  1837. filled, unicolor rectangle with rounded corners.
  1838.  
  1839.          Figure: Rectangle with round corners
  1840.  
  1841.   11.4.1  A Rectangle with Rounded Corners
  1842.   11.4.2  A Frame Instead of the Filled Rectangle
  1843.   11.4.3  A Rectangle with Sloped Edges
  1844.  
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  11.4.1     A Rectangle with Rounded Corners
  1850.  
  1851.  
  1852. Set the color requester the color you want your rectangle to appear.
  1853. Then set the paint mode to "solid" and activate the one point brush.
  1854. For a painting tool choose the filled ellipse.  Now draw a circle or
  1855. an ellipse.  Each quarter of it will be one angle of our rectangle.
  1856. Make sure that your ellipse does not become too big. The diameter
  1857. should be around 20 to 30 points. Later on you'll understand why.
  1858. After drawing the ellipse cut the whole ellipse, not just parts of it,
  1859. out. It is unavoidable not to cut out the ellipse together with some
  1860. parts of the background. That's the reason to mask it.
  1861.  
  1862. To do so, just click, as you did with the fence, the background color
  1863. in the color requester. After that the background parts can be made
  1864. invisible by pressing < / >. This brush we be used to construct the
  1865. rectangle with rounded corners. Select the filled rectangle tool and
  1866. draw a rectangle. Dependent upon the size of the rectangle and the
  1867. speed of your computer this may last up to a few minutes.
  1868.  
  1869.  
  1870.  
  1871.  
  1872.  
  1873.  11.4.2     A Frame Instead of the Filled Rectangle
  1874.  
  1875.  
  1876. Let's not use the unfilled rectangle tool as the frame will be as
  1877. thick as the ellipse is - an undesirable result.  Before painting the
  1878. frame, call the grid requester (<rightAmiga> <G>).  There you
  1879. can set the desired thickness of the frame.  Set X and Y to the
  1880. desired values. You can even set the horizontal and vertical lines to
  1881. different thickness. Let's choose "3". Activate the grid by pressing
  1882. "on". Do you have the ellipse brush from the prior selection? No?
  1883. Then deactivate the grid again and "regenerate" it by using the
  1884. brush manager.
  1885.  
  1886. Now activate the filled rectangle tool and draw a rectangle in the
  1887. desired size.  A filled rectangle with rounded corners will appear.
  1888. Now call the color requester and set one of the color box to the
  1889. background color. Activate it as current color and choose the paint
  1890. mode "solid" (<right Amiga > <1>). For a painting tool reuse the
  1891. filled rectangle.  Position the pointer in the left top corner, where
  1892. you've started with the previous rectangle. Before drawing the new
  1893. rectangle, move the mouse pointer exactly one grid position to the
  1894. right and one position down. This will be easier using the keyboard
  1895. by pressing <left Amiga> and using the cursor keys.
  1896.  
  1897. After having reached the desired position press the <left ALT>.
  1898. This simulates a press of the left mouse button.  Keep both keys
  1899. pressed and drag the rubber band using the cursor keys for the
  1900. desired size. After releasing all the keys, Xi-Paint paints this second
  1901. rectangle. The result will be a frame with the desired width. If you
  1902. do not like the result, use "Undo" (<u>) and try it again.
  1903.  
  1904.          Figure: Frame with round corners
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  11.4.3     A Rectangle with Sloped Edges
  1911.  
  1912.  
  1913. Use a rhomboid brush instead of the ellipse shaped one. This rhom-
  1914. boid shape is easy to get in the grid requester. Set the grid width
  1915. to 10 points.  Paint again with the one point brush and now use
  1916. the polygon tool (<W>).  Paint a rhomboid as it is shown above.
  1917. The corners should be distanced one grid position from each other.
  1918. After doing that, deactivate the grid and cut out the rhomboid as
  1919. brush. Mask again the background color as you did it before. The
  1920. result will be a rectangle with sloped corners. If you use this brush
  1921. together with very small ellipses, the result will be a strange look
  1922. alike. These suggestions are just some ideas for your experimenta-
  1923. tion. Play with the shades.
  1924.  
  1925.          Figure: Rhomboeder
  1926.  
  1927.  
  1928.  
  1929.  
  1930.  
  1931.   11.5      Escaping a Running Routine
  1932.  
  1933.  
  1934. If you suspect Xi-Paint may need too long for an operation or if
  1935. it's crashed, simply press <ESC>. A small requester which shows
  1936. the work in progress will open and will ask you if the you want
  1937. to cancel the currently running operation.  If you have called the
  1938. requester to get some information, just press "No". Pressing "Yes"
  1939. will cancel the current project.  To undo the changes completed,
  1940. simply remove them using "UNDO."
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  Chapter  12
  1949.  
  1950.  
  1951.  Working  with  Fonts
  1952.  
  1953.  
  1954. By using the different Xi-Paint tools and paint modes you can get
  1955. several effects, which eclipse a lot of very expensive video titling
  1956. programs.  The following pages will give you an overview of some
  1957. possible experiments. Remember to try all the possibilities by your-
  1958. self.
  1959.  
  1960.   12.1  Text with Shade
  1961.        12.1.1  Shades for Individual Letters
  1962.   12.2  Scripts and Brushes
  1963.        12.2.1  Dealing With Text
  1964.   12.3  New Script Styles
  1965.        12.3.1  Letters with Rounded off or Sloped Corners
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  12.1      Text with Shade
  1972.  
  1973.  
  1974. This  is  a  very  effective  trick.   Call  the  color  requester  (<right
  1975. Amiga> <C>) and assign red (255, 0, 0) and yellow (255, 255,
  1976. 0) to the first two colorboxes. DON'T FORGET TO CLICK "AS-
  1977. SIGN". Now open the shade requester (<right Amiga> <U>) and
  1978. set a "two color - vertical" shade.  Next call the style requester
  1979. (<right Amiga> <T>) and set a big script size.  Click the disk
  1980. symbol and choose from the font requester a font you know to be
  1981. relatively thick (try one ending with "bold" or "_B"). Set the size
  1982. to a minimum of 50 points (depending upon your resolution you can
  1983. also choose larger sizes). 50 point fonts are optional for 640x480 or
  1984. 800x600.
  1985.  
  1986.          Figure: Style-Requester
  1987.  
  1988. Do not change the values for xdpi and ydpi and set antialiasing
  1989. to "on".  That's especially important for non  compugraphic but
  1990. common Amiga formatted fonts.  Now open a new worksheet.  Set
  1991. the paint mode to "shade"(<right Amiga> <3>) and use the text
  1992. tool <t>. It is important to use the one point pencil. A text input
  1993. requester will appear. Finish your input with<enter>. The tipped
  1994. letters or signs will stick as brush on the pointer and can dragged to
  1995. the position you want. By pressing the left mouse button you can
  1996. fix the text to your worksheet.  You'll be amazed with the result.
  1997. Of course you can use each possible shade. Try for example the four
  1998. point shade. But how to use the shade for each individual letter or
  1999. sign?
  2000.  
  2001.   12.1.1  Shades for Individual Letters
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  12.1.1     Shades for Individual Letters
  2008.  
  2009.  
  2010. Clear the old worksheet.  Set the worksheet paint mode to "solid"
  2011. (>right Amiga> <1>). Now insert your text again (use the brush
  2012. requester or the text tool).  Now as sign to your color requester
  2013. the first four boxes with red (255,0,0), yellow (255,255,0), green
  2014. (0,255,0) and blue (0,0,255). In the shade requester choose 4 color
  2015. shade.  Check it using the preview.  Now use the one point pencil
  2016. and choose the paint mode "shade".  Painting tool is "fill" (<f>).
  2017. Now click each letter of your text.  The shade will be assigned to
  2018. each letter.
  2019.  
  2020.          Figure: Text with shading
  2021.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  12.2      Scripts and Brushes
  2027.  
  2028.  
  2029. To get the most beautiful results you need a lot of practice and ex-
  2030. perimentation. Copy the following methods exactly for exercising,
  2031. otherwise the text might appear a little bit ugly.
  2032.  
  2033.   12.2.1  Dealing With Text
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  12.2.1     Dealing With Text
  2040.  
  2041.  
  2042. Open the color requester and assign the first four color boxes again
  2043. with red, yellow, green and blue. Activate a 4 color shade. For pain-
  2044. ting mode use"shade"and as tool "filled rectangle" (<R>).  Then
  2045. activate the magnifier because our rectangle should have exactly
  2046. 8x6 points. Then choose the tool for cutting out rectangular brus-
  2047. hes (<b>) and take that rectangle as brush.  Avoid cutting out
  2048. parts of the background.  Turn off the magnifier.  Choose a very
  2049. fat font from the style requester - a size of at least 75 points.  Set
  2050. the paint mode to "solid" and activate the text tool.  Insert any
  2051. short text.  Try inserting a space between each letter because of
  2052. the fat letters.  Finish your inserting with <enter> and insert the
  2053. text at any place in your worksheet.  The text will appear with a
  2054. very effective 3D effect.  The result will be even more astounding,
  2055. if you choose a "2 color, vertical" shade and activate the one point
  2056. pen cil, the filling tool and as Paint mode "shade". Now click each
  2057. letter. Well, how do you like the result??
  2058.  
  2059.          Figure: Text with brush
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  12.3       New Script Styles
  2066.  
  2067.  
  2068. Sometimes you'll need one or two very big letters as background,
  2069. for example.  In this instance you'd like to get rounded off letters.
  2070. Unfortunately you may not have the right font. So, what to do?
  2071.  
  2072.   12.3.1  Letters with Rounded off or Sloped Corners
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  12.3.1     Letters with Rounded off or Sloped Corners
  2079.  
  2080.  
  2081. By using the brushes together with text, a desired corner shape
  2082. can be created. Notice that this is useful for very big letters (bigger
  2083. than 150 points). Draw a circle or a rhomboid. It's size depends on
  2084. the chosen letter size.  For a 150 point letter use a rhomboid with
  2085. 4 points or a circle with a diameter about 8 points.  Cut out this
  2086. brush and mask the background color (choose the background color
  2087. from the color reque ster and press </>). Now set the desired font,
  2088. enter your text and write it to your worksheet. You'll get your text
  2089. and the desired rounded off corners. Of course you can arrange the
  2090. corner shapes however you want.  You can brighten up the letters
  2091. for example with a shade to add an extra touch.
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  Chapter  13
  2099.  
  2100.  
  2101.  Mask
  2102.  
  2103.  
  2104. The Mask function is one of the most powerful features of a com-
  2105. puter paint program.  In the world of material art the ability to
  2106. mask off portions of an image is used by airbrush artists, professio-
  2107. nal photographers, printers, and even sign makers.  With the help
  2108. of the mask function it is easily possible to separate a person from
  2109. any type of background or even to change the color of the sky from
  2110. blue to orange. This is one of the more difficult features to master
  2111. but one of the most rewarding!
  2112.  
  2113. First of all, we work with an example. Open the file "Eis.jpeg".
  2114.  
  2115.          Figure: Eis.jpeg
  2116.  
  2117. We start with the simplest kind of mask.  We want to paint only
  2118. in the background of the ice-cream wafer. Normally, you can paint
  2119. around the wafer, but it is very difficult not to destroy the wafer.
  2120. Now we want to make a mask, which stencils out the wafer. Open
  2121. the mask menu with the shortcut <Amiga> <M>.
  2122.  
  2123.          Figure: Mask-Requester
  2124.  
  2125. Note:  the mask-functions always work on the project activated
  2126. most recently!  So, if you have many projects open, click on this
  2127. one, which you want to manipulate.
  2128.  
  2129. Often when you click on Preview (the mask, "show"), and a new
  2130. project, which contains only the grey-mask of the previous selec-
  2131. ted picture will open.  This window is then active.  For the next
  2132. mask-operation, you have to activate your paint-project or close
  2133. the preview, so the last project will be activated.
  2134.  
  2135.   13.1  Painting on the Mask
  2136.   13.2  Mask-Preview
  2137.   13.3  Exempt Motives
  2138.        13.3.1  The Color Look Up Table
  2139.  
  2140.  
  2141.  
  2142.  
  2143.  
  2144.  13.1      Painting on the Mask
  2145.  
  2146.  
  2147. The next step is to tell Xi-Paint which color we want to use for
  2148. masking. An easy way is to press "#" to get the actual color after
  2149. the next mouseclick. So, please click after pressing "#" on the black
  2150. of the ice-cream-project.  If the support-color in the mask-menu is
  2151. on 0, the actual color-register is on 0, the rectangle in the mask-
  2152. menu will be black.  If the support color is not 0, please move the
  2153. scroller to the left.
  2154.  
  2155. Then, we want to paint on the mask. So click on the top-left button
  2156. one time, to get the feature "Paint on Mask".
  2157.  
  2158. After this, we have to tell Xi-Paint the mask-mode.  This is done
  2159. by choosing the right mode in the mask-menu (the menus from the
  2160. mask-window). There we choose "One Color" or we press <Amiga>
  2161. <o>.
  2162.  
  2163. Now we click on "Add". Xi-Paint calculates the mask.
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.  13.2       Mask-Preview
  2170.  
  2171.  
  2172. To have a look to the mask, we can click on "Show". Xi-Paint opens
  2173. a new project which contains the actual mask in black/white. Now
  2174. close this project.
  2175.  
  2176. Click on "Switch on Mask?" to activate the mask-function.  Then
  2177. you can paint on the picture "Eis.jpeg" without destroying the wa-
  2178. fer.
  2179.  
  2180.          Figure: Mask of Icecream
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.  13.3       Exempt Motives
  2187.  
  2188.  
  2189. If we have a complicated picture and we want to exempt for example
  2190. a person in front of the sea, we need a little more knowledge of -
  2191. Paint. For the next Example please open the picture "Blume.jpeg".
  2192.  
  2193.          Figure: Blume.jpeg
  2194.  
  2195. Our target is to work with the flower without the leaves.
  2196.  
  2197.          Figure: Flower without background
  2198.  
  2199. One of the ways to realize this is to mask out the green color. But
  2200. this way won't work due of some reflections on the flower itself.
  2201.  
  2202. Also the Saturation and Contrast-mask functions are not useful
  2203. because of the same values of the leaves and the flower.
  2204.  
  2205. The last possibility is to do it with the CLUT (Color Look Up
  2206. Table).
  2207.  
  2208.   13.3.1  The Color Look Up Table
  2209.  
  2210.  
  2211.  
  2212.  
  2213.  
  2214.  13.3.1     The Color Look Up Table
  2215.  
  2216.  
  2217. First choose in the menu bar the entry "CLUT".  Next, we have
  2218. to pick some colors from the picture. Therefore Xi-Paint gives you
  2219. the ability to pick a square of 1x1 up to 20x20 pixels at one time.
  2220. You can set the width with the slider "CLUT length".  Move this
  2221. slider to 20, then click on "Clear Mask" to clear the old mask out
  2222. of the picture.
  2223. With "Get Clut" you can pick a portion of pixels, which will be
  2224. masked out.  The mouse pointer will change to a square.  Pick
  2225. the middle of the flower of your project.  Then click "Add" in the
  2226. mask-window.
  2227. Next click "Show" to look at the mask.   If you haven't chosen
  2228. enough pixels to mask out the flower, then pick some new CLUTS
  2229. with "Get CLUT" and "Add".
  2230.  
  2231.          Figure: Mask of flower
  2232.  
  2233. Don't forget to close the actual preview-window!
  2234. Now, as you will see, the mask is white around the flower, and black
  2235. on the leaves. We already want to paint on the leaves. So we have
  2236. to invert the mask. Do this by choosing "Invert" in the mask-menu
  2237. (<Amiga> <v>).
  2238. This will invert the actual mask of the actual project.
  2239. In this example, you never will get all of the pixels correct. So we
  2240. have to do some manual work to mask out the flower perfectly. Do
  2241. this by painting with a solid color in the zoom-mode with one single
  2242. pixel.
  2243.  
  2244.          Figure: Flower almost finished
  2245.  
  2246. This will also reflect in the mask. After switching on the mask, you
  2247. can paint around and over the flower - the leaves will disappear,
  2248. the flower will be exempt.
  2249.  
  2250.          Figure: Flower finished
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258.  Chapter  14
  2259.  
  2260.  
  2261.  Layers
  2262.  
  2263.   14.1  Compositions with Layers
  2264.   14.2  The Theory
  2265.   14.3  Another example for using the layers
  2266.  
  2267.  
  2268.  
  2269.  
  2270.  
  2271.  14.1       Compositions with Layers
  2272.  
  2273.  
  2274. This feature is one of the specialties of Xi-Paint.  It allows you
  2275. to compose many different pictures into one. The composition de-
  2276. pends on the Maximum (Alpha) Mask, wherein some of the layers
  2277. have a special function. The different layers are composed by ma-
  2278. thematical functions which have as parameters the hue of a color,
  2279. the intensity, the value or a value of the Alpha-Mask.
  2280.  
  2281.  
  2282. Example
  2283.  
  2284. Open a new project with the width and height of 150. Then choose
  2285. load a picture, to open the file "Blumeklein.jpeg". This is our first
  2286. picture for the composition.
  2287.  
  2288.          Figure: Blumeklein.jpg
  2289.  
  2290. Now open a second project,  which has the width and height of
  2291. 150 pixels (create this with New).  In this project, we will paint a
  2292. circle, which is bright in the middle and becomes darker towards
  2293. the borders. We are working with a little project, because we will
  2294. need a bit of memory for the different projects.
  2295.  
  2296. To paint this circle, we create a pen. Open the pen-requester (with
  2297. Amiga P) and click on an empty record. Then click on "Generate
  2298. Pen" to open a new window.  Then click on "Gen.  Curve" .  Give
  2299. both sliders the value of 100. Close this window and put the pixel-
  2300. slider to the maximum of 100.  Then click on "round" to generate
  2301. the new Pen.
  2302.  
  2303. Now pick from the Menu of the new project the painting mode
  2304. "Solid".  To place the pen in the middle of the flower, click on
  2305. the border of the flower-picture and select on the menu bar "Back-
  2306. ground". Now select the new project window (click on the border)
  2307. and switch on the light table. Now you can see the flower in lower
  2308. intensity. Place the actual pen in the middle of the flower and press
  2309. the left mouse button for a few seconds.
  2310.  
  2311.          Figure: Pen
  2312.  
  2313. Then turn off the light table.  Now you have 2 pictures for the
  2314. composition.
  2315.  
  2316.          Figure: Layerwindow
  2317.  
  2318. Open the layer window. Click on "Blumeklein.jpeg", then on "add".
  2319. The name appears to the right.  Then click on "project 2" and on
  2320. "add".  Then click on show.  After a few seconds, a new window
  2321. will open which shows you the composition of the two projects.
  2322.  
  2323.          Figure: Flowerlayer finished
  2324.  
  2325. Note: All Layers have to be the same size for optimal results!
  2326.  
  2327. If you don't have enough memory (Memory-Warn),  please close
  2328. some unused boxes to save memory.
  2329.  
  2330.  
  2331.  
  2332.  
  2333.  
  2334.  14.2       The Theory
  2335.  
  2336.  
  2337. The example above was a very easy one.  But has happened?  -
  2338. Paint has taken the intensities of the first project (in the listview
  2339. gadget, right) and the colors from the second project.
  2340.  
  2341. If you have three pictures, Xi-Paint takes the intensities (bright-
  2342. ness) of the first project, the colors and saturation-values from the
  2343. second one.  Then it takes the values from the Alpha-Mask of the
  2344. third project, and calculates the percentage. Then it composes the
  2345. result above with the third picture in relation to the mask value.
  2346.  
  2347.          Figure: 3-Layer picture
  2348.  
  2349. If you have more pictures, the last point will be repeated.
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.   14.3      Another example for using the layers
  2356.  
  2357.  
  2358. Open three projects, each the same size. Make a white Background
  2359. (clear with white K). Paint a bicycle on the first project with a
  2360. black smooth airbrush. Choose for this project "Background" from
  2361. the paint-mode-menu. Then activate the second project and switch
  2362. on the light table.  Take a larger airbrush and choose color cycle
  2363. from the paint-mode-menu. Colorize the bicycle.
  2364.  
  2365. Finally paint in the third project with "As-it-is" some Airbrush-
  2366. dots, around the bicycle.  Alternative you can choose a digitized
  2367. picture and clear the Alpha-Mask in the region of the bicycle.
  2368.  
  2369. After composing these three pictures, you have a new composition
  2370. with a background and a colorized object.
  2371.  
  2372.          Figure: 4-Layer picture
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  Chapter  15
  2381.  
  2382.  
  2383.  The  Painting  Tools
  2384.  
  2385.  
  2386.          Figure: Tool icons
  2387.  
  2388. The painting tools are the heart of Xi-Paint. There are several tools
  2389. which allow you nearly free composition of your paintings.
  2390.  
  2391.   15.1  Two-Part Buttons
  2392.   15.2  The Single Point Manner (Freehand tool)
  2393.   15.3  Regular Freehand Tool
  2394.   15.4  Filled Freehand Outlines
  2395.   15.5  Straight Line Tool
  2396.   15.6  Curve Tool
  2397.   15.7  Rectangle Tool
  2398.   15.8  Ellipse Tool
  2399.   15.9  Polygon Tool
  2400.        15.9.1  Closing the Polygon
  2401.   15.10 Filling Tool
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  15.1      Two-Part Buttons
  2408.  
  2409.  
  2410. The painting tools can be activated by its buttons or by short cuts.
  2411. Notice that some buttons of the tool requester are separated in two
  2412. different halves with different functions. You'll recognize it by the
  2413. different look alike of the two halves of a button.  So take care to
  2414. press the desired half. Each painting tool will work with the chosen
  2415. painting mode and the last chosen brush or pencil.
  2416.  
  2417.  
  2418.  
  2419.  
  2420.  
  2421.  15.2      The Single Point Manner  (Freehand tool)
  2422.  
  2423.  
  2424. Shortcut: none
  2425.  
  2426.          Figure: Freehand icon
  2427.  
  2428. This tool is for freehand drawing.  But because these lines will be
  2429. composed of single points, this tool is made for inserting brushes or
  2430. to set points.  So if you want to draw the outline of an object you
  2431. want to fill afterwards, never use this tool. Otherwise the color will
  2432. run out.
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  15.3      Regular Freehand Tool
  2439.  
  2440.  
  2441. two time occupied tool:
  2442.  
  2443. Top shortcut: F
  2444. Bottom shortcut: D
  2445.  
  2446.          Figure: Regular Freehand Icon
  2447.  
  2448. This tool produces run trough lines. If you move the mouse too fast.
  2449. (what too fast means depends on your computer!) the line will have
  2450. squares. While using pens or brushes bigger than 10 points you can
  2451. make this procedure faster by setting the pixel stream bigger than 1.
  2452. But take care to set odd numbers, otherwise ellipses, for example,
  2453. will just be painted in one half.
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  15.4      Filled Freehand Outlines
  2460.  
  2461.  
  2462. The bottom part of this tool offers you the ordinary freehand tool.
  2463. The top part produces filled outlines.  You also paint the line by
  2464. holding the left mouse button pressed. But suddenly after releasing
  2465. the button the first and last point of the line will be put together
  2466. and the resulting area will be filled.  Xi-Paint also recognizes if a
  2467. line crosses itself.
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  15.5      Straight Line Tool
  2474.  
  2475.  
  2476. Shortcut: v
  2477.  
  2478.          Figure: Straight Line Icon
  2479.  
  2480. Xi-Paint starts the line where you press the left mouse button first
  2481. and ends it where you release the button.  If you use a shade, a
  2482. cycle, or a brush the drawing direction causes different results.
  2483.  
  2484.  
  2485.  
  2486.  
  2487.  
  2488.   15.6      Curve Tool
  2489.  
  2490.  
  2491. Shortcut: q
  2492.  
  2493.          Figure: Curve Icon
  2494.  
  2495. Place your mouse pointer to the beginning of the desired line and
  2496. press left mouse button.  Now drag a line to your desired ending
  2497. point.  After releasing the button the line "sticks" on the pointer
  2498. and the line can be formed to a curve.  By pressing again the left
  2499. button the curve can be fixed. Sinus curves and similar curves can
  2500. be produced by putting single curves together.
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.  15.7      Rectangle Tool
  2507.  
  2508.  
  2509. twice occupied tool
  2510.  
  2511. Top shortcut: r
  2512. Bottom shortcut: R
  2513.  
  2514.          Figure: Rectangle Icon
  2515.  
  2516. With this tool rectangles and squares can be produced.  Place the
  2517. pointer to one place and press the left button.   Then drag the
  2518. rectangle to the size you want. The diagonal opposite point will be
  2519. the other corner.  After releasing the button, the rectangle will be
  2520. painted. The frame of a rectangle will always be painted clockwise.
  2521. That's important to know for using Cycles, shades and brushes.
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  15.8       Ellipse Tool
  2528.  
  2529.  
  2530. twice occupied tool
  2531.  
  2532. Top shortcut: e
  2533. Bottom shortcut: E
  2534.  
  2535.          Figure: Ellipse Icon
  2536.  
  2537. This tool is used to paint ellipses. Move the pointer to the middle of
  2538. the desired ellipse and drag the ellipse to the size you want. After
  2539. releasing the button, the ellipse will be painted.  The ellipse can
  2540. be painted filled or outlined. The ellipse frame is produced in four
  2541. steps.  First the right top quarter and the left top quarter will be
  2542. painted and afterwards, beginning with the very bottom point of
  2543. the ellipse, the right and then the left bottom part will be painted.
  2544.  
  2545.  
  2546.  
  2547.  
  2548.  
  2549.  15.9       Polygon Tool
  2550.  
  2551.  
  2552. twice occupied tool:
  2553.  
  2554. Top shortcut: w
  2555. Bottom shortcut: W
  2556.  
  2557.          Figure: Polygon Icon
  2558.  
  2559. Move the pointer to the start of the polygon and press the left
  2560. mouse button.  Then release the button.  The "rubberband" will
  2561. stick on your pointer. After moving it to the different corners press
  2562. the button again. The one line will be painted and the new one will
  2563. be started at the new corner.
  2564.  
  2565.   15.9.1  Closing the Polygon
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  15.9.1     Closing the Polygon
  2572.  
  2573.  
  2574. You can set the last point exactly at the beginning of the first
  2575. line (very difficult!)  or you press the right mouse button.  This
  2576. will automatically paint a line between the first and the last point
  2577. of your polygon..  The lines will be painted in the same order as
  2578. painted.  Painting a filled polygon will occur linewise, from left to
  2579. right and from top to bottom.
  2580.  
  2581.  
  2582.  
  2583.  
  2584.  
  2585.  15.10        Filling Tool
  2586.  
  2587.  
  2588. Shortcut: f
  2589.  
  2590.          Figure: Fill Icon
  2591.  
  2592. Just click a point inside the area you want to be filled. If the color
  2593. runs out just check by magnifier if your object is really closed. For
  2594. filling the selected painting mode and brush will be used.  It will
  2595. be filled from left to the right and linewise from top to bottom.
  2596. For speeding up the filling function you can choose from system-
  2597. 2-window the option "fast fill". But notice that an optional alpha
  2598. mask will be deleted in this way. Also undo will be impossible.
  2599.  
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  Chapter  16
  2607.  
  2608.  
  2609.  More  Aids
  2610.  
  2611.  
  2612.          Figure: More Tool Icons
  2613.  
  2614. Xi-Paint offers many more tools which will help to make your work
  2615. easier.
  2616.  
  2617.   16.1  Take a Rectangular Brush
  2618.   16.2  Take a Polygonal Brush
  2619.   16.3  Take a Freehand Brush
  2620.   16.4  Light Table
  2621.   16.5  Magnifier
  2622.        16.5.1  Flexible Settings in the Zoom-Requester
  2623.   16.6  Text
  2624.   16.7  Undo
  2625.        16.7.1  Undo for a Large Number of Steps
  2626.        16.7.2  To Free Undo Memory
  2627.   16.8  Redo
  2628.   16.9  Help
  2629.   16.10 Erase
  2630.   16.11 Take a Pen
  2631.        16.11.1 Sizing Brushes by Mouseclick
  2632.   16.12  Generate a One Point Pen
  2633.   16.13  Info
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639.  16.1       Take a Rectangular Brush
  2640.  
  2641.  
  2642. Shortcut: b
  2643.  
  2644.          Figure: Rectangular Brush Icon
  2645.  
  2646. Just drag a rectangle around the desired area.  Everything inside
  2647. will be part of the brush.  After taking a brush it will stick at the
  2648. pointer as it is or as a symbolic rectangle, depending on the brush
  2649. size.  The size (after which the brush will be shown while moving
  2650. as a symbol) can be varied by ARexx or by using the "settings"
  2651. requester.  It may happen that after cutting out a brush nothing
  2652. will occurs. This happens if you have too little chip memory. Close
  2653. all unnecessary requesters and try it again.
  2654.  
  2655.  
  2656.  
  2657.  
  2658.  
  2659.  16.2       Take a Polygonal Brush
  2660.  
  2661.  
  2662. Shorctut: /
  2663.  
  2664.          Figure: Polygonial Brush Icon
  2665.  
  2666. Use this tool analogous to the polygon tool. For "how the program
  2667. shows the brush while moving" refer to the section before.
  2668.  
  2669.  
  2670.  
  2671.  
  2672.  
  2673.  16.3       Take a Freehand Brush
  2674.  
  2675.  
  2676. Shortcut: &
  2677.  
  2678.          Figure: Freehand Brush Icon
  2679.  
  2680. Use this tool in the same way as the freehand tool.
  2681.  
  2682.  
  2683.  
  2684.  
  2685.  
  2686.  16.4       Light Table
  2687.  
  2688.  
  2689. Shortcut: <alt> <u>
  2690.  
  2691.          Figure: Lighttable Icon
  2692.  
  2693. The object of the activated window will be shown in darker colors
  2694. and the object of the window which had been defined as background
  2695. will shine through. This enables you to simulate tracing. The light
  2696. table will not work beside activated magnifier.  How to assign a
  2697. background painting to a painting window is explained in the chap-
  2698. ter about painting modes, under the topic "background picture".
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  16.5       Magnifier
  2705.  
  2706.  
  2707. Shortcut: <alt> <m>
  2708.  
  2709.          Figure: Magnifier Icon
  2710.  
  2711. For each activated painting window its own magnifier window can
  2712. be assigned. The mouse pointer will show a rectangle which shows
  2713. the last magnified cut out part.  Click the left mouse button and
  2714. the magnifier window will open. It is possible to draw in the pain-
  2715. ting window as well as in the magnifier window. The changes will
  2716. immediately appear in the other window.
  2717.  
  2718.   16.5.1  Flexible Settings in the Zoom-Requester
  2719.  
  2720.  
  2721.  
  2722.  
  2723.  
  2724.  16.5.1     Flexible Settings in the Zoom-Requester
  2725.  
  2726.  
  2727. The magnifying factors can be set as desired by changing the values
  2728. of the zoom requester. Also it is possible to change the magnifying
  2729. factor with the + and - keys. Moving is possible with the Cursor-
  2730. keys.
  2731.  
  2732.  
  2733.  
  2734.  
  2735.  
  2736.  16.6       Text
  2737.  
  2738.  
  2739. Shortcut: t
  2740.  
  2741.          Figure: Text Icon
  2742.  
  2743. This tool is used for inserting any text in any painting window.
  2744. After calling a requester an input box will appear. You can insert
  2745. the desired text will all common editing possibilities.
  2746.  
  2747.          Figure: Textinput Requester
  2748.  
  2749. First enter the text. Xi-Paint will then generate, using the selected
  2750. style (style requester!) and size, a brush with text. This brush can
  2751. be used like every other brush with all its special possibilities.
  2752.  
  2753. NOTICE, THAT Xi-Paint IS NOT A TEXTPROGRAM.
  2754.  
  2755. Each generated text is also available via brush manager.
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  16.7       Undo
  2762.  
  2763.  
  2764. Shortcut: u
  2765.  
  2766.          Figure: Undo Icon
  2767.  
  2768. With undo you can delete the latest steps, regardless of what it
  2769. was.
  2770.  
  2771.   16.7.1  Undo for a Large Number of Steps
  2772.   16.7.2  To Free Undo Memory
  2773.  
  2774.  
  2775.  
  2776.  
  2777.  
  2778.  16.7.1     Undo for a Large Number of Steps
  2779.  
  2780.  
  2781. You can undo as many steps as your memory (the memory of the
  2782. computer!)  allows it to.  If the computer runs out of memory the
  2783. oldest of the steps will be forgotten.  There is an individual undo
  2784. memory for every painting window.
  2785.  
  2786.  
  2787.  
  2788.  
  2789.  
  2790.  16.7.2     To Free Undo Memory
  2791.  
  2792.  
  2793. If your computer has enough memory you need not worry about
  2794. this.  With under 2MB RAM it may be possible that, because of
  2795. undo, some functions which need a lot of memory become unusable.
  2796. It's recommended to make the undo memory empty by "empty
  2797. undo" (<right Amiga> <f>) from the menu.  This empties the
  2798. whole undo memory.
  2799.  
  2800.  
  2801.  
  2802.  
  2803.  
  2804.  16.8       Redo
  2805.  
  2806.  
  2807. Shortcut: U
  2808.  
  2809.          Figure: Redo Icon
  2810.  
  2811. In the same manner that you can make each step undone, you can
  2812. also REDO them again.  In this way mistakes will no longer be a
  2813. problem.
  2814.  
  2815.  
  2816.  
  2817.  
  2818.  
  2819.  16.9       Help
  2820.  
  2821.  
  2822. Shortcut: HELP
  2823.  
  2824.          Figure: Help Icon
  2825.  
  2826. Pressing HELP will give you information for the most important
  2827. functions of Xi-Paint.  Just place the pointer on the icon or other
  2828. item you need information about and press help.  Immediately a
  2829. requester with the information will open.  You can scroll the text
  2830. with the scroll bars. You can close the help requesters by pressing
  2831. "close".  If there is no information on a topic, the help requester
  2832. will be empty.
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  16.10        Erase
  2839.  
  2840.  
  2841. Shortcut: none
  2842.  
  2843.          Figure: Erase Icon
  2844.  
  2845. Click the sponge symbol and the actual painting window will be
  2846. cleared with the actual painting color.  If you made changes and
  2847. have not saved them before using the sponge, Xi-Paint will ask if
  2848. you want to save your changes before erasure.
  2849.  
  2850.  
  2851.  
  2852.  
  2853.  
  2854.  16.11       Take a Pen
  2855.  
  2856.  
  2857. Shortcut: ,
  2858.  
  2859.          Figure: Take-Pen Icon
  2860.  
  2861. The pen management is carried out by its own requester, which
  2862. allows the generation of any circular or angular pens. Circular ones
  2863. can also be created as airbrushes.
  2864.  
  2865.   16.11.1 Sizing Brushes by Mouseclick
  2866.  
  2867.  
  2868.  
  2869.  
  2870.  
  2871.  16.11.1      Sizing Brushes by Mouseclick
  2872.  
  2873.  
  2874. By using this function you need not change to the pen requester
  2875. each time you want to resize your pen size. Using this function you
  2876. can drag an ellipse by mouse to create the size you want for your
  2877. pen size.  Its lookalike will be defined by the settings in the pen
  2878. requester. By taking a new pen the actual pen will be dropped.
  2879.  
  2880.  
  2881.  
  2882.  
  2883.  
  2884.  16.12       Generate a One Point Pen
  2885.  
  2886.  
  2887. Shortcut: .
  2888.  
  2889. The one point pen is a special case.  On the one hand it is very
  2890. difficult to generate manually. On the other hand you'll never need
  2891. a pen more often than this one.  That's why Xi-Paint offers a one
  2892. point pen by key pressing.  If you press < .  > , Xi-Paint imme-
  2893. diately generates the desired brush.  But notice that this function
  2894. overwrites the actual pen of the pen manager.
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  16.13       Info
  2901.  
  2902.  
  2903. shortcut: <alt> <i>
  2904.  
  2905.          Figure: Info Icon
  2906.  
  2907. After calling info a small requester will open, which shows you the
  2908. number of your Xi-Paint version and its date of production. It will
  2909. also tell you the names of the Xi-Paint programmers. After clicking
  2910. "understood" button, the requester will close again.
  2911.  
  2912.  
  2913.  
  2914.  
  2915.  
  2916.  
  2917.  Chapter  17
  2918.  
  2919.  
  2920.  Requesters
  2921.  
  2922.  
  2923. Xi-Paint offers several requesters for setting many different settings.
  2924. Call each requester by clicking on its tool in the toolbox or by
  2925. choosing the point from the "menus" menu.  Some requesters can
  2926. just be called by menu. A requester works in the same way a paint
  2927. window does but doesn't have scrollers after it's made smaller.
  2928.  
  2929.        17.0.1  Common Elements of the Different Requesters
  2930.   17.1  Brush Requester
  2931.        17.1.1  Automatic Adaption of the Scale
  2932.        17.1.2  Brush Menu
  2933.        17.1.3  Save
  2934.        17.1.4  Delete (from brush pool)
  2935.        17.1.5  Swap to Disk
  2936.        17.1.6  Refreshing
  2937.        17.1.7  Delete
  2938.   17.2  Grid requester
  2939.   17.3  File Requester
  2940.        17.3.1  The File Directory
  2941.        17.3.2  How to Change Directories and Drives
  2942.        17.3.3  Manual Input of a Path
  2943.        17.3.4  Minipic Menu
  2944.        17.3.5  Store-Format Menu
  2945.        17.3.6  Alpha
  2946.   17.4  Shadow Requester
  2947.        17.4.1  Setting the Shadow Length
  2948.   17.5  Cycle Requester
  2949.        17.5.1  Generation of a Cycle
  2950.        17.5.2  Offset
  2951.   17.6  Shade Requester
  2952.        17.6.1  Two Colors, Horizontal
  2953.        17.6.2  Two Colors, Vertical
  2954.        17.6.3  Three Colors, Two on Bottom
  2955.        17.6.4  Four Colors
  2956.        17.6.5  Five Colors
  2957.   17.7  Style Requester
  2958.        17.7.1  Choosing a Style
  2959.        17.7.2  Color Fonts
  2960.        17.7.3  Minipics for Fonts
  2961.        17.7.4  Setting the Size
  2962.        17.7.5  Xdpi and Ydpi for Picture Proportions
  2963.        17.7.6  Antialiasing for Soft edges
  2964.   17.8  Setting Requester
  2965.        17.8.1  Setting the System Fonts
  2966.        17.8.2  Number of Brushes and Pens
  2967.        17.8.3  To Set Standard Directories
  2968.        17.8.4  Local Mode
  2969.        17.8.5  Click to Front
  2970.        17.8.6  Eat first Click
  2971.        17.8.7  Saving Settings and Leaving the Program
  2972.        17.8.8  Set the Path for Macros
  2973.        17.8.9  ASL- or Xi-Paint File Requester
  2974.        17.8.10 Way of Showing Brushes
  2975.        17.8.11 Painting without moving the mouse
  2976.        17.8.12 Delete mouse moves
  2977.        17.8.13 Hot Spot
  2978.   17.9  Parameter-Requester
  2979.        17.9.1  Anti-Aliasing
  2980.        17.9.2  Fast Fill
  2981.        17.9.3  Keep Mask
  2982.        17.9.4  pixel stream
  2983.        17.9.5  1-Pixel-stream
  2984.        17.9.6  brightness, darkness
  2985.   17.10 VLab Requester
  2986.        17.10.1 Requirements for Working with VLab
  2987.        17.10.2 Video Offset
  2988.        17.10.3 Width and Height of the Picture
  2989.        17.10.4 Choosing the Input Signal
  2990.        17.10.5 Grabbing a Video Picture
  2991.        17.10.6 VLAB Menu
  2992.   17.11 Palette Requester
  2993.        17.11.1 Colors for Working
  2994.        17.11.2 Color Mix Methods
  2995.        17.11.3 Copy, Changing and Shade
  2996.        17.11.4 Taking a Color
  2997.        17.11.5 RGB Triangle by Maxwell
  2998.        17.11.6 HSV Scheme
  2999.        17.11.7 Palette Menu
  3000.        17.11.8 Load
  3001.        17.11.9 Save
  3002.        17.11.10 Scheme Menu
  3003.   17.12 Macros
  3004.        17.12.1 Macros Using AREXX
  3005.        17.12.2 Recording Macros
  3006.        17.12.3 Playing a Macro
  3007.   17.13 Mask requester
  3008.        17.13.1 Mask for Excepting Certain Motives
  3009.        17.13.2 A color
  3010.        17.13.3 Colorarea
  3011.        17.13.4 Colormatrix (CLUT)
  3012.        17.13.5 Saturation
  3013.        17.13.6 Contrast
  3014.        17.13.7 Addition of Several Masking Steps
  3015.        17.13.8 Manipulation of Alpha Masks
  3016.   17.14 Pen Requester
  3017.        17.14.1 Pen Preview
  3018.        17.14.2 Generate a Pen
  3019.        17.14.3 Square Pens
  3020.        17.14.4 Circular Pens
  3021.        17.14.5 Different Kinds of Airbrushes
  3022.        17.14.6 Unicolor Circular Brushes
  3023.        17.14.7 One Point Brush
  3024.        17.14.8 Pen Menu
  3025.   17.15 Zoom Requester
  3026.        17.15.1 Enlarging a Part of the Project
  3027.        17.15.2 Scaling Down a Part of the Project
  3028.        17.15.3 One Magnifier for Each Worksheet
  3029.   17.16 Layer Requester
  3030.        17.16.1 The Two Lists of the Layer Requester
  3031.        17.16.2 Fixing the Order
  3032.        17.16.3 Generating a Picture Composition
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  17.0.1      Common  Elements  of  the  Different  Requesters
  3039.  
  3040.  
  3041. Each requester can be closed by <enter>, but the cursor must not
  3042. be in a textbox and the requester has to be activated.  If there is
  3043. a difference between "confirming" (in most cases using "OK") and
  3044. "cancel" (button "cancel"), pressing <enter> will have the same
  3045. effect as clicking the confirmation button.  The "menus" menu is
  3046. just available, if a painting window, the toolbox, or the background
  3047. are activated.  In learning about the requesters we will always use
  3048. the following order: title, icon in the toolbox, menu command and
  3049. shortcut. An introduction describes in a few words the purpose of
  3050. the requester.  Then the requester is shown and its functions are
  3051. described exactly. At the end of this text there is a table, containing
  3052. the menu to which the requester belongs and the different shortcuts.
  3053. "A" always means <right Amiga>.
  3054.  
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  17.1       Brush Requester
  3060.  
  3061.  
  3062. Shortcut: <right Amiga> <B>
  3063.  
  3064.          Figure: Brush Requester Icon
  3065.  
  3066. This requester allows you to manage up to 128 of the most recently
  3067. produced brushes.  The number of brushes being managed can be
  3068. set in the "Settings" requester and depends upon your computers
  3069. harddisk memory. Each cut out or manipulated brush (even turning
  3070. or reflecting a brush will be stored as new brush!!!) will be stored in
  3071. the brush manager. After reaching the maximum amount of stored
  3072. brushes the oldest ones will be deleted. The requester itself contains
  3073. eight buttons, a scroller and the "close" button. The eight buttons
  3074. each show a picture of the brush they represent.
  3075.  
  3076.   17.1.1  Automatic Adaption of the Scale
  3077.   17.1.2  Brush Menu
  3078.   17.1.3  Save
  3079.   17.1.4  Delete (from brush pool)
  3080.   17.1.5  Swap to Disk
  3081.   17.1.6  Refreshing
  3082.   17.1.7  Delete
  3083.  
  3084.  
  3085.  
  3086.  
  3087.  
  3088.  17.1.1     Automatic Adaption of the Scale
  3089.  
  3090.  
  3091. The representation picture on the buttons doesn't say anything
  3092. about the real size of the brush.  Xi-Paint uses the offered area as
  3093. well as possible, regardless of the scale.  After clicking a button,
  3094. its brush will automatically stick on your pointer and can be used
  3095. as just cut out.  The scroller allows you to get a preview of all
  3096. the stored brushes in the order you have stored them.  If you do
  3097. not need the requester any longer, just press "Close".  The brush
  3098. manager has two menus which contain the following commands:
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  17.1.2     Brush Menu
  3105.  
  3106.  
  3107. load shortcut: <right Amiga> <l>
  3108.  
  3109. This menu allows you to load a certain brush, from another paint
  3110. program or a whole picture, which Xi-Paint should use as brush.
  3111. After choosing this menu point a file requester will appear, where
  3112. you can insert the desired file. To import a brush Xi-Paint uses, (as
  3113. it does it by loading pictures) the multipic.library. You can use each
  3114. file format which is supported by this library. Further information
  3115. you can access in the section "file requester".
  3116.  
  3117.  
  3118.  
  3119.  
  3120.  
  3121.  17.1.3     Save
  3122.  
  3123.  
  3124. Shortcut: <right Amiga> <s>
  3125.  
  3126. If you want to save a brush permanently, use this menu feature.
  3127. First click on the desired brush and then choose "save".  A file
  3128. requester will open where you can insert the path and filename.
  3129. Saving also uses the multipic.library, so you can use each format
  3130. this library supports. Further information you'll find in the section
  3131. "filerequester".
  3132.  
  3133.  
  3134.  
  3135.  
  3136.  
  3137.  17.1.4     Delete (from brush pool)
  3138.  
  3139.  
  3140. Shortcut: <right Amiga> <x>
  3141.  
  3142. After finishing a project it's recommended to delete the brushes
  3143. you'll no longer need, to free up hard disk space.  This is done
  3144. by using the menu point "delete (from pool)". Click the brush you
  3145. want to delete in the brush requester and then call this menu point.
  3146.  
  3147.  
  3148.  
  3149.  
  3150.  
  3151.  17.1.5     Swap to Disk
  3152.  
  3153.  
  3154. Shortcut: <right Amiga> <w>
  3155.  
  3156. Xi-Paint stores each brush manipulation first to the RAM and not
  3157. on the harddisk, to avoid unnecessary harddisk use.  If there is
  3158. not enough room in your RAM, Xi-Paint writes the brushes to the
  3159. harddisk.  If your computer breaks down, the brushes stored in
  3160. RAM will be lost. This command forces the saving of the brush to
  3161. the harddisk.
  3162.  
  3163.  
  3164.  
  3165.  
  3166.  
  3167.  17.1.6     Refreshing
  3168.  
  3169.  
  3170. Shortcut: <right Amiga> <f>
  3171.  
  3172. You'll need this command if your brushes get into disorder (for
  3173. example by manipulation by another program).  By calling this
  3174. command all brushes will be saved from RAM to harddisk.  After
  3175. this each brush will be loaded and each symbol for the brushreque-
  3176. ster will be newly generated.  This command also checks to see if
  3177. there are symbols without brushes because they had been deleted
  3178. by another program. In this case refreshing will delete the symbol.
  3179. But notice that this command takes some time, so just use it if it's
  3180. really necessary.
  3181.  
  3182.  
  3183.  
  3184.  
  3185.  
  3186.  17.1.7     Delete
  3187.  
  3188.  
  3189. Shortcut: <right Amiga> <D>
  3190.  
  3191. This command deletes all brushes under management.
  3192.  
  3193.  
  3194. Review of menu commands
  3195.  
  3196.       ____________________________________________________
  3197.       |              brush   |     |        Pool  |      |
  3198.       ----------------------------------------------------
  3199.       |               load   |A-l  |swap to Disk  | A-w  |
  3200.       |               save   |A-s  |      refresh | A-f  |
  3201.       |  delete (from pool)  |A-x  |      delete  | A-D  |
  3202.       ----------------------------------------------------
  3203.  
  3204.  
  3205.  
  3206.  
  3207.  
  3208.  17.2       Grid requester
  3209.  
  3210.  
  3211. Shortcut: <right Amiga> <G>
  3212.  
  3213.          Figure: Grid-Requester Icon
  3214.  
  3215. With this command you can activate an invisible position grid.
  3216.  
  3217.          Figure: Grid-Requester
  3218.  
  3219. This might be helpful in certain cases, especially for technical pro-
  3220. jects or if you want to compose your object from certain parts. You
  3221. see, it simulates graph paper, wherein the squares can be sized as
  3222. you want. You just have to insert the desired values to "width" and
  3223. "height".  The start of the grid can be fixed anywhere.  You need
  3224. not start in the left top corner.  You can choose at which distance
  3225. from the top and the left edge the grid should start. Set the values
  3226. in "X-offset" and "Y-offset".  The grid can be switched on and off
  3227. by "on"/"off" buttons. The grid is always activated for all opened
  3228. painting windows, it can't be set for just one window. It's not valid
  3229. for opened requesters.
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  17.3       File Requester
  3236.  
  3237.  
  3238. Call this requester if you want to load or save a certain file.  The
  3239. standard file requester always looks the same, regardless of whether
  3240. you want to save/load a brush, picture, palette or anything else.
  3241.  
  3242.          Figure: File Requester
  3243.  
  3244.   17.3.1  The File Directory
  3245.   17.3.2  How to Change Directories and Drives
  3246.   17.3.3  Manual Input of a Path
  3247.   17.3.4  Minipic Menu
  3248.   17.3.5  Store-Format Menu
  3249.   17.3.6  Alpha
  3250.  
  3251.  
  3252.  
  3253.  
  3254.  
  3255.  17.3.1     The File Directory
  3256.  
  3257.  
  3258. Most parts of the requester use the file directory. It shows all pos-
  3259. sible drives, directories and files.  If the number of directories and
  3260. files is bigger than the window, use the scroller. The inserts to the
  3261. directories will always be shown in alphabetical order.  First the
  3262. directory and then the files are shown.
  3263.  
  3264.  
  3265.  
  3266.  
  3267.  
  3268.  17.3.2     How to Change Directories and Drives
  3269.  
  3270.  
  3271. To get into a directory just click on it. Its files will then be shown.
  3272. If you want to get one step higher in the hierarchy, click "parent".
  3273. By clicking "drivers" all possible physical and logical drivers will
  3274. be shown. By clicking a driver, its content will be shown.
  3275.  
  3276.  
  3277.  
  3278.  
  3279.  
  3280.  17.3.3     Manual Input of a Path
  3281.  
  3282.  
  3283. You can also insert the path in the insert box "drawer".  After
  3284. pressing <enter> the drawers content will be shown. If the drawer
  3285. does not exist the directory will remain empty. The file name can
  3286. also be inserted by hand ("Insertbox "file") or by choosing it from
  3287. the file list.  To save a file under a new name,  use the manual
  3288. method. After you finish inserting, close the requester by pressing
  3289. OK. If you have chosen a file from the file list, you can also double
  3290. click it to close the requester.
  3291.  
  3292.  
  3293.  
  3294.  
  3295.  
  3296.  17.3.4     Minipic Menu
  3297.  
  3298.  
  3299. Generate shortcut: <right Amiga> <g>
  3300.  
  3301. Xi-Paint automatically generates a minipic to each project.  Exi-
  3302. sting projects have no minipic, but you can generate one by "ge-
  3303. nerate". Just click the desired project in the file requester, so that
  3304. its name appears in the "file" input box.  Now press "generate"
  3305. and the minipic will be created.  The minipics will be stored in
  3306. the same directory as the original project, but its ending will be
  3307. ".mpic". So if you want to delete it you just need to delete this file.
  3308. IFF-ILBM formatted files contain their minipic, which means that
  3309. it is invisible for you.
  3310.  
  3311. To stop Xi-Paint doing minipics, you can switch this feature off in
  3312. the "Settings-Menu".
  3313.  
  3314.  
  3315.  
  3316.  
  3317.  
  3318.  17.3.5     Store-Format Menu
  3319.  
  3320.  
  3321. This menu lists all the formats available for saving.  Xi-Paint uses
  3322. multipic.library, so how many formats are available depends on the
  3323. version of the library. The settings are valid for pictures as well as
  3324. for brushes. The activated format is shown by a hook.
  3325.  
  3326.  
  3327.  
  3328.  
  3329.  
  3330.  17.3.6     Alpha
  3331.  
  3332.  
  3333. Shortcut: none
  3334.  
  3335. If this has been activated (shown by an hook in front of the com-
  3336. mand), the alpha channel of a picture will also be stored.  It will
  3337. use more room on you harddisk, but if you have masked your brush
  3338. before it's useful to choose this feature. In this way the brush will
  3339. be available still masked.
  3340.  
  3341.  
  3342. Review of the menu commands
  3343.  
  3344.         __________________________________________________
  3345.         |  Minipic   |     |  Storeformats               |
  3346.         --------------------------------------------------
  3347.         |  generate  |A-g  |  Depends on your version of |
  3348.         |            |     |  "multipic.library"         |
  3349.         |            |     |-----------------------------|
  3350.         |            |     |  Alpha                      |
  3351.         --------------------------------------------------
  3352.  
  3353.  
  3354.  
  3355.  
  3356.  
  3357.  17.4       Shadow Requester
  3358.  
  3359.  
  3360. Shortcut: <right Amiga> <H>
  3361.  
  3362.          Figure: Shadow Requester Icon
  3363.  
  3364. If you want , Xi-Paint will automatically produce shadows for the
  3365. most important painting options.
  3366.  
  3367.          Figure: Shadow Requester
  3368.  
  3369. The shadows position and look can be defined in this requester.
  3370. The manual production of a shadow is very difficult, so Xi-Paint
  3371. does this for you. Even the direction of the shadow can be defined.
  3372. For these definitions you'll find two scrollers ("X-offset" und "Y-
  3373. offset") which set the shadow's x and y distance to your object.
  3374.  
  3375.   17.4.1  Setting the Shadow Length
  3376.  
  3377.  
  3378.  
  3379.  
  3380.  
  3381.   17.4.1     Setting the Shadow Length
  3382.  
  3383.  
  3384. It's possible to use values between -20 and 20.  Right beside the
  3385. scrollers there are two input boxes, which show the actual shadow
  3386. position.  It's also possible, to insert the desired values directly to
  3387. this box.  If insert values are lower or higher than the acceptable
  3388. values, they will be automatically corrected. The "preview" should
  3389. give you an idea of how the shadow will look.  For best results
  3390. shadows with a x/y distance from 3 to 6 are recommended.  To
  3391. activate the shadow for painting, use the "on" / "off" switcher in
  3392. the bottom left corner of the requester. The requester can remain
  3393. open while you're painting. Close it by pressing "close". If shadow
  3394. is activated, it will remain activated.
  3395.  
  3396.  
  3397.  
  3398.  
  3399.  
  3400.  17.5       Cycle Requester
  3401.  
  3402.  
  3403. Shortcut: <right Amiga> <Y>
  3404.  
  3405.          Figure: Cycle Requester Icon
  3406.  
  3407. This function allows the definition of the cycle area, which is reali-
  3408. zed by the colors of the paint mode.
  3409.  
  3410.          Figure: Cycle Requester
  3411.  
  3412. Xi-Paint offers the special paint mode "cycle" (for further infor-
  3413. mation:  see "paint modes").  First set the number of steps which
  3414. should cover the cycled area.  A value about 2000 will mean that
  3415. the cycle will use 2000 different colorhues between the two "from"
  3416. and "to" colors, then it will start with the first color again. "From"
  3417. "To" deals with the colorboxes and concerns the look of the cy-
  3418. cle.  "From" means the first color in the colorrequester, "to" the
  3419. last one.  Xi-Paint will produce a cycle by using the colorhues in
  3420. between these two colors. If one of the colors is not defined yet, -
  3421. Paint will use the automatically set color "black. The value "From"
  3422. always has to be smaller than "to", otherwise Xi-Paint generates
  3423.  
  3424. NO cycle but gives no message.
  3425.  
  3426.   17.5.1  Generation of a Cycle
  3427.   17.5.2  Offset
  3428.  
  3429.  
  3430.  
  3431.  
  3432.  
  3433.  17.5.1     Generation of a Cycle
  3434.  
  3435.  
  3436. A new cycle will only be generated if you press "generate".  After
  3437. having been generated, a cycle is ready to use for all paint ope-
  3438. rations (NOTICE, make sure to choose "cycle" beforehand!). The
  3439. window need not to be closed.
  3440.  
  3441.  
  3442.  
  3443.  
  3444.  
  3445.  17.5.2     Offset
  3446.  
  3447.  
  3448. It's important to take care of the offset, especially if you want to
  3449. start your cycle of the next operation with a certain color. For get-
  3450. ting vertical lines it's necessary to paint a rectangle, which contains
  3451. an exact multiple of the step number. In this case set the offset to
  3452. "O". For diagonal lines you'll need a higher value.
  3453.  
  3454.  
  3455.  
  3456.  
  3457.  
  3458.  17.6       Shade Requester
  3459.  
  3460.  
  3461. Shortcut: <right Amiga> <U>
  3462.  
  3463.          Figure: Shade Requester Icon
  3464.  
  3465. Here you can set the appearance of shades.  Here Xi-Paint offers
  3466. very special features.
  3467.  
  3468.          Figure: Shade Requester
  3469.  
  3470. For setting the appearance of the shade use this requester.  But it
  3471. will only be valid if you set the paint mode to "shade".  Xi-Paint
  3472. offers six different shade possibilities to you, which use between two
  3473. and five colors each. Which colors are used can be set in the color
  3474. requester. Xi-Paint always uses the first five colorboxes.
  3475.  
  3476. The different colors will be used from left to right and from top to
  3477. bottom. For a four color shade this means that the first top corner
  3478. gets the first, the right top corner the second, the left bottom corner
  3479. the third and the right bottom corner the fourth color. Which one
  3480. of the possible shades will be used, can be chosen in the bottom
  3481. third of the shade requester.  By clicking the next possibility will
  3482. be shown.
  3483.  
  3484.   17.6.1  Two Colors, Horizontal
  3485.   17.6.2  Two Colors, Vertical
  3486.   17.6.3  Three Colors, Two on Bottom
  3487.   17.6.4  Four Colors
  3488.   17.6.5  Five Colors
  3489.  
  3490.  
  3491.  
  3492.  
  3493.  
  3494.  17.6.1     Two Colors, Horizontal
  3495.  
  3496.  
  3497. Shade from left to right.
  3498.  
  3499.  
  3500.  
  3501.  
  3502.  
  3503.  17.6.2     Two Colors, Vertical
  3504.  
  3505.  
  3506. Shade from top to bottom (for sunsets, texts, etc.).
  3507.  
  3508.  
  3509.  
  3510.  
  3511.  
  3512.  17.6.3     Three Colors, Two on Bottom
  3513.  
  3514.  
  3515. The first color on the top border, the second one in the left and the
  3516. third one in the right bottom corner.
  3517.  
  3518.  
  3519.  
  3520.  
  3521.  
  3522.  17.6.4     Four Colors
  3523.  
  3524.  
  3525. To each corner one color will be assigned which will meet each other
  3526. in the middle.
  3527.  
  3528.  
  3529.  
  3530.  
  3531.  
  3532.  17.6.5     Five Colors
  3533.  
  3534.  
  3535. The first four colors start from the corners, the fifth point can be
  3536. set wherever you want. To do so use the two scrollers "5th point".
  3537. You can precisely set the position of your fifth point. The per cent
  3538. values can be set between 0 - 100
  3539.  
  3540. 0/0 means that the fifth point is set to the left top corner.  But
  3541. notice that this will cover the first color.   It's recommended to
  3542. choose values which set the fifth point to the center or to one side.
  3543. (50/50 center, 0/50 middle of the left side, 50/0 center of the top
  3544. side, etc.)
  3545.  
  3546. Preview gives you an idea of how the shade will appear. If "shade"
  3547. is activated, each manipulation will be valid.
  3548.  
  3549.  
  3550.  
  3551.  
  3552.  
  3553.  17.7       Style Requester
  3554.  
  3555.  
  3556. Shortcut: <right Amiga> <T>
  3557.  
  3558.          Figure: Style Requester Icon
  3559.  
  3560. Use this requester to choose style and size for a text operation.
  3561.  
  3562.          Figure: Style Requester
  3563.  
  3564. Xi-Paint uses all styles which are supported directly by the opera-
  3565. ting system.  This means Xi-Paint is able to load each font which
  3566. is to be found in the font directory. Xi-Paint also supports compu-
  3567. graphic styles.
  3568.  
  3569.   17.7.1  Choosing a Style
  3570.   17.7.2  Color Fonts
  3571.   17.7.3  Minipics for Fonts
  3572.   17.7.4  Setting the Size
  3573.   17.7.5  Xdpi and Ydpi for Picture Proportions
  3574.   17.7.6  Antialiasing for Soft edges
  3575.  
  3576.  
  3577.  
  3578.  
  3579.  
  3580.  17.7.1     Choosing a Style
  3581.  
  3582.  
  3583. Type the name of the font directly into the text box in the style
  3584. requester or choose it by mouse directly from the file requester
  3585. (you'll get the requester by clicking the disk symbol beside the
  3586. insert box). This requester also offers you the ability to set the size
  3587. of your text. Just load files with the ending .font. Otherwise you'll
  3588. get an error message.
  3589.  
  3590.  
  3591.  
  3592.  
  3593.  
  3594.  17.7.2     Color Fonts
  3595.  
  3596.  
  3597. Xi-Paint does not support color fonts.  But that's not important,
  3598. Xi-Paint is capable of producing wonderful colors and even special
  3599. effects.
  3600.  
  3601.  
  3602.  
  3603.  
  3604.  
  3605.  17.7.3     Minipics for Fonts
  3606.  
  3607.  
  3608. As a special feature it is also possible to create minipics for Fonts.
  3609. To load a special font, click its name. After closing the file requester,
  3610. the name will automatically be used by the style requester.  The
  3611. style requester offers three scrollers beside the input boxes. These
  3612. boxes can be manipulated directly or by mouse or keyboard.
  3613.  
  3614.  
  3615.  
  3616.  
  3617.  
  3618.  17.7.4     Setting the Size
  3619.  
  3620.  
  3621. The first scrollers allows you to fix the size.  Values between 1
  3622. and 255 are possible.  While using some special fonts it might be
  3623. possible that some sizes won't be supported. In this case Xi-Paint
  3624. will always jump back to the smallest possible value. This is not a
  3625. limitation of Xi-Paint but a problem of the operating system.
  3626.  
  3627.  
  3628.  
  3629.  
  3630.  
  3631.  17.7.5     Xdpi and Ydpi for Picture Proportions
  3632.  
  3633.  
  3634. These values are used for setting the x/y distortion of the text.
  3635. Default is 75/75.  That's necessary because each font is made for
  3636. a certain resolution, so the dpi values have to be set.  If a font is
  3637. designed for a resolution of 320x256 (5:4) it will look odd if you use
  3638. it for a resolution of 800x600 (4:3).
  3639.  
  3640. By changing the dpi values you can cause a distortion. 75/75, which
  3641. is the right value for 320x256, just set for example 60/56 or 120x112.
  3642. In practice you won't need this feature very often.
  3643.  
  3644.  
  3645.  
  3646.  
  3647.  
  3648.  17.7.6     Antialiasing for Soft edges
  3649.  
  3650.  
  3651. If you want to get a very soft adapting text it's recommended to
  3652. set "antialiase" to "on".  Xi-Paint will try to get a transition as
  3653. soft as possible between text and background. Most times this will
  3654. cause a very nice looking effect, but it needs a longer time than the
  3655. insertion of simple text.
  3656.  
  3657.  
  3658.  
  3659.  
  3660.  
  3661.  17.8       Setting Requester
  3662.  
  3663.  
  3664. Shortcut: <right Amiga> <S>
  3665.  
  3666.          Figure: Setting Requester Icon
  3667.  
  3668. In the setting requester you have to set some values which effect
  3669. your work with Xi-Paint.
  3670.  
  3671.          Figure: Setting Requester
  3672.  
  3673.   17.8.1  Setting the System Fonts
  3674.   17.8.2  Number of Brushes and Pens
  3675.   17.8.3  To Set Standard Directories
  3676.   17.8.4  Local Mode
  3677.   17.8.5  Click to Front
  3678.   17.8.6  Eat first Click
  3679.   17.8.7  Saving Settings and Leaving the Program
  3680.   17.8.8  Set the Path for Macros
  3681.   17.8.9  ASL- or Xi-Paint File Requester
  3682.   17.8.10 Way of Showing Brushes
  3683.   17.8.11 Painting without moving the mouse
  3684.   17.8.12 Delete mouse moves
  3685.   17.8.13 Hot Spot
  3686.  
  3687.  
  3688.  
  3689.  
  3690.  
  3691.  17.8.1     Setting the System Fonts
  3692.  
  3693.  
  3694. The first two values deal with the fonts used for window titles, me-
  3695. nus, etc.  You can use any standard Amiga font.  Insert its name
  3696. in the insert box beside "system Font Name" or choose it by mou-
  3697. seclick.  After clicking the disk symbol beside the insert box, the
  3698. standard font requester will open, in which you can choose the font
  3699. by mouse click.  Then you can set the size of your font.  Xi-Paint
  3700. allows a value between 6 and 13 points. A font size below 10 points
  3701. is only recommended in case of a very low resolution (lower than
  3702. 640x480) or if you are a real man and have a big screen (bigger
  3703. than 17 inches).
  3704.  
  3705.  
  3706.  
  3707.  
  3708.  
  3709.  17.8.2     Number of Brushes and Pens
  3710.  
  3711.  
  3712. By using the scroller beside "number of brushes" you can set the
  3713. maximum amount of managed brushes. You have the same options
  3714. to set the number of pens.  For both options you can use values
  3715. between 1 to 256.  This choice is important, because each pen or
  3716. brush will be stored and needs room on your hard disk.
  3717.  
  3718.  
  3719.  
  3720.  
  3721.  
  3722.  17.8.3     To Set Standard Directories
  3723.  
  3724.  
  3725. Each time Xi-Paint opens a file requester, it will show a certain
  3726. directory and its content.  Which directory this should be can be
  3727. fixed by the setting "global path". Insert the desired name directly
  3728. to the input box or choose it by mouse,  after clicking the disk
  3729. symbol beside the insert box. With the same steps it's also possible
  3730. to define your own path for saving the color palettes (input box
  3731. beside "palette path").
  3732.  
  3733.  
  3734.  
  3735.  
  3736.  
  3737.  17.8.4     Local Mode
  3738.  
  3739.  
  3740. If this mode is activated, in each paint window different paint modes
  3741. can be set.  Otherwise each project will be affected if you change
  3742. one tool for a certain window.
  3743.  
  3744.  
  3745.  
  3746.  
  3747.  
  3748.  17.8.5     Click to Front
  3749.  
  3750.  
  3751. Xi-Paint enables you to click certain project windows to front. But
  3752. if the time interval is set too long, Xi-Paint might understand some
  3753. paint operations as a double click.  In this case just shorten the
  3754. allowed time for double click or switch off "Click to front".
  3755.  
  3756.  
  3757.  
  3758.  
  3759.  
  3760.  17.8.6     Eat first Click
  3761.  
  3762.  
  3763. The first click to an inactivated window just activates it.  If you
  3764. want to draw with your first click, switch off this feature.
  3765.  
  3766.  
  3767.  
  3768.  
  3769.  
  3770.  17.8.7     Saving Settings and Leaving the Program
  3771.  
  3772.  
  3773. "Save settings" fixes each setting so they are automatically saved
  3774. when you leave Xi-Paint. You can use them again with a new start.
  3775. "Close" overtakes the values and leaves the settings requester.
  3776.  
  3777.          Figure: 2nd Setting Requester
  3778.  
  3779. Depending on the version you use, the second page of this requester
  3780. offers several other features.
  3781.  
  3782.  
  3783.  
  3784.  
  3785.  
  3786.  17.8.8     Set the Path for Macros
  3787.  
  3788.  
  3789. The first setting fixes the path for self made macros.  Default is
  3790. "macro" in the Xi-Paint directory.  If you want to change this de-
  3791. fault setting you can do that in the standard way.
  3792.  
  3793.  
  3794.  
  3795.  
  3796.  
  3797.  17.8.9     ASL- or Xi-Paint File Requester
  3798.  
  3799.  
  3800. ASL requester can only be opened on its own system screen. That's
  3801. why Xi-Paint has a requester had been programmed which is similar
  3802. to the ASL requester. If you do not want to miss your ASL original,
  3803. you can make Xi-Paint use it. But if you use it, Xi-Paint always has
  3804. to switch between the workbench screen and the Xi-Paint screen.
  3805. Minipics are also not possible. An individual menu definition is also
  3806. impossible. Just for choosing a font ASL offers some advantages by
  3807. its preview list.
  3808.  
  3809.  
  3810.  
  3811.  
  3812.  
  3813.  17.8.10      Way of Showing Brushes
  3814.  
  3815.  
  3816. Xi-Paint always tries to show pens and brushes in its full size, even
  3817. while moving. This might need a lot of time, dependent upon your
  3818. computers memory. If this showing lasts too long, it can just be as
  3819. just a frame. The size from which starting a brush or pen should be
  3820. shown as a frame can be defined.  This happens using the scroller
  3821. "Brush Opaque Move". The smaller the set value is, the quicker a
  3822. brush will be shown as a frame.
  3823.  
  3824.  
  3825.  
  3826.  
  3827.  
  3828.  17.8.11     Painting without moving the mouse
  3829.  
  3830.  
  3831. To give Xi-Paint more Events for drawing, increase this slider.
  3832.  
  3833.  
  3834.  
  3835.  
  3836.  
  3837.  17.8.12     Delete mouse moves
  3838.  
  3839.  
  3840. For a faster working with Xi-Paint (in special case with big brushs),
  3841. increase this value.
  3842.  
  3843.  
  3844.  
  3845.  
  3846.  
  3847.  17.8.13     Hot Spot
  3848.  
  3849.  
  3850. Here you can move the "hot spot" of the mouse pointer. Especially
  3851. if you work with your own Pointer (which is named "Pointer.Pic"
  3852. and "Busy.Pic") you can set the hot spot.  The pictures has to be
  3853. in an 32-Bit format, which has a valid alpha-plane.
  3854.  
  3855.  
  3856.  
  3857.  
  3858.  
  3859.  17.9      Parameter-Requester
  3860.  
  3861.  
  3862. Shortcut: <rechte Amiga> <D>
  3863.  
  3864.          Figure: Parameter Requester
  3865.  
  3866.   17.9.1  Anti-Aliasing
  3867.   17.9.2  Fast Fill
  3868.   17.9.3  Keep Mask
  3869.   17.9.4  pixel stream
  3870.   17.9.5  1-Pixel-stream
  3871.   17.9.6  brightness, darkness
  3872.  
  3873.  
  3874.  
  3875.  
  3876.  
  3877.  17.9.1     Anti-Aliasing
  3878.  
  3879. The quality of painted lines depends upon the value you set for
  3880. "line-Antialiasing factor" by the scroller.  You can use, depending
  3881. to the desired effect, values between 1 and 255. This feature allows
  3882. you to minimize the well known stair effect which reminds you of
  3883. the single points an object is made of.
  3884.  
  3885.  
  3886.  
  3887.  
  3888.  
  3889.  17.9.2     Fast Fill
  3890.  
  3891.  
  3892. If you use this feature, be careful when using "mask". Filling signi-
  3893. ficantly impacts the mask function which would write over a user
  3894. defined mask. For avoiding that, Xi-Paint "saves", before starting
  3895. to fill existing masks and "rebuilds" them after having finished fil-
  3896. ling.  This action may need some time.  If you activate "fast fill",
  3897. you allow Xi-Paint to overwrite existing masks which will speed up
  3898. the procedure.
  3899.  
  3900.  
  3901.  
  3902.  
  3903.  
  3904.  17.9.3    Keep Mask
  3905.  
  3906.  
  3907. Some operations are faster, if they can erase the mask. If you need
  3908. the alpha-mask, you can save it by activating this button.
  3909.  
  3910.  
  3911.  
  3912.  
  3913.  
  3914.  17.9.4    pixel stream
  3915.  
  3916.  
  3917. If you want to paint with an fast airbrush, so put this slider on a
  3918. value between 3 and 8. So the airbrush is 3 to 8 times faster.
  3919.  
  3920.  
  3921.  
  3922.  
  3923.  
  3924.  17.9.5    1-Pixel-stream
  3925.  
  3926.  
  3927. Put this slider on a value greater 1 if you want to have a dotted
  3928. line (rectangle etc.).
  3929.  
  3930.  
  3931.  
  3932.  
  3933.  
  3934.  17.9.6    brightness, darkness
  3935.  
  3936.  
  3937. Gives a value for the function "darker" and "brighter" in %.
  3938.  
  3939.  
  3940.  
  3941.  
  3942.  
  3943.  17.10        VLab Requester
  3944.  
  3945.  
  3946. menu: VLab...
  3947. shortcut: <right Amiga> <V>
  3948.  
  3949. By using this requester Xi-Paint can directly digitize pictures for
  3950. editing them. You just have to have the amazing VLab Y/C digi-
  3951. tizer. After having installed it, the menu point "VLab" is ready to
  3952. use.
  3953.  
  3954.   17.10.1 Requirements for Working with VLab
  3955.   17.10.2 Video Offset
  3956.   17.10.3 Width and Height of the Picture
  3957.   17.10.4 Choosing the Input Signal
  3958.   17.10.5 Grabbing a Video Picture
  3959.   17.10.6 VLAB Menu
  3960.  
  3961.  
  3962.  
  3963.  
  3964.  
  3965.  17.10.1      Requirements for Working with VLab
  3966.  
  3967.  
  3968. NOTICE: If you do not have VLab-Digitzer, this menu topic CANNOT BE USED.
  3969.  
  3970. Xi-Paint identifies and can use VLab versions
  3971. starting from 8.1. Most of the VLab requester is filled with a show
  3972. box, which shows the actual signal from your digitizer. The number
  3973. of pictures per second depends on you computer's speed.
  3974.  
  3975.  
  3976.  
  3977.  
  3978.  
  3979.  17.10.2      Video Offset
  3980.  
  3981.  
  3982. At the right side you'll find several scrollers, with which you can
  3983. fix different settings concerning your video picture.  The first two
  3984. scrollers "offset left" and "offset top" fix which distance from the
  3985. left top corner of the video picture should be digitized.  This fea-
  3986. ture allows you just to read some cut outs of your picture to the
  3987. computer.
  3988.  
  3989.  
  3990.  
  3991.  
  3992.  
  3993.  17.10.3      Width and Height of the Picture
  3994.  
  3995.  
  3996. This sets the size of the digitized picture in points.  You can set
  3997. each value which enables you to define the exact regulation of the
  3998. digitized cut of the picture.
  3999.  
  4000.  
  4001.  
  4002.  
  4003.  
  4004.  17.10.4      Choosing the Input Signal
  4005.  
  4006.  
  4007. VLab enables you to plug in different video sources (for VLab 2
  4008. sources, for VLab Y/C you can have 3).  With the scroller "in-
  4009. put channel" you can define the input entry signal that should be
  4010. digitized.  The switch "monitor" shows you the video picture in
  4011. the preview monitor of Xi-Paint. This enables you to check which
  4012. source you digitize in the moment.
  4013.  
  4014.  
  4015.  
  4016.  
  4017.  
  4018.  17.10.5      Grabbing a Video Picture
  4019.  
  4020.  
  4021. For doing that, just press "freeze". A new paint window, containing
  4022. the digitized picture, will be opened, where you can now edit the
  4023. picture. "Close" closes the VLab requester. To the VLab requester
  4024. the following menu is assigned:
  4025.  
  4026.  
  4027.  
  4028.  
  4029.  
  4030.  17.10.6      VLAB Menu
  4031.  
  4032.  
  4033. DeInterlace
  4034. -----------
  4035.  
  4036. Shortcut: <right Amiga> <d>
  4037.  
  4038. For digitizing fast moving pictures in good quality, Xi-Paint uses the
  4039. "DeInterlace" method. Call this point if you recognize an intensive
  4040. half picture alternation as one of your pictures.
  4041.  
  4042.  
  4043. VTR
  4044. ---
  4045.  
  4046. Shortcut: <right Amiga> <v>
  4047.  
  4048. If you digitize a recorded picture, it might happen that you lose
  4049. quality. To get a better result, Xi-Paint offers a special VTR mode,
  4050. which results in a synchronization while digitizing from a recorded
  4051. picture.
  4052.  
  4053.  
  4054. Mode
  4055. ----
  4056.  
  4057. Shortcut: none
  4058.  
  4059. VLab  digitizer  supports  the  European  PAL-  and  the  American
  4060. NTSC- system.  To get a correct result, choose the right system
  4061. from the menu point "mode".
  4062.  
  4063.  
  4064. Overview of menu commands
  4065.  
  4066.         _______________________
  4067.         |      Video  |       |
  4068.         -----------------------
  4069.         | DeInterlace | A-d   |
  4070.         |        VTR  | A-v   |
  4071.         |      Modus  |       |
  4072.         -----------------------
  4073.  
  4074.  
  4075.  
  4076.  
  4077.  
  4078.  17.11       Palette Requester
  4079.  
  4080.  
  4081. Shortcut: <right Amiga> <C>
  4082.  
  4083.          Figure: Palette Requester Icon
  4084.  
  4085. Using Xi-Paint's colorbox you can produce each colorhue you want.
  4086.  
  4087.          Figure: Palette Requester
  4088.  
  4089. But because it would be very difficult to choose the desired color
  4090. from a list of 16.7 million colors, Xi-Paint offers you a working
  4091. palette with 256 different color hues which can be defined by the
  4092. user. Changes in the color palette happen totally independent from
  4093. your painting windows.
  4094.  
  4095.   17.11.1 Colors for Working
  4096.   17.11.2 Color Mix Methods
  4097.   17.11.3 Copy, Changing and Shade
  4098.   17.11.4 Taking a Color
  4099.   17.11.5 RGB Triangle by Maxwell
  4100.   17.11.6 HSV Scheme
  4101.   17.11.7 Palette Menu
  4102.   17.11.8 Load
  4103.   17.11.9 Save
  4104.   17.11.10 Scheme Menu
  4105.  
  4106.  
  4107.  
  4108.  
  4109.  
  4110.  17.11.1     Colors for Working
  4111.  
  4112.  
  4113. Nearly at the lower middle of the color requester you'll find the
  4114. list of colors you can work with. These are marked by a rectangle.
  4115. Xi-Paint always shows 64 colorhues at one time, the other one will
  4116. be shown if you move the scroller on the right side.  To define a
  4117. color just click the desired rectangle and then generate the color
  4118. by using the scrollers in the top half of the requester. You can use
  4119. three different color mix methods:
  4120.  
  4121.  
  4122.  
  4123.  
  4124.  
  4125.  17.11.2     Color Mix Methods
  4126.  
  4127.  
  4128. The best known method is surely the RGB-process which calculates
  4129. the colors by additive color mixing. Xi-Paint also supports the HLS
  4130. method and the CMKY method.  They are not as well known as
  4131. RGB, but highly regarded by DTP users and artists. Do not forget
  4132. to press "assign" after having chosen a color, otherwise Xi-Paint
  4133. won't use your new color, even if it's already shown in the color
  4134. requester.  You need not click "assign" after the definition of each
  4135. color, just press it after you have finished all of your definitions.
  4136.  
  4137.  
  4138.  
  4139.  
  4140.  
  4141.  17.11.3     Copy, Changing and Shade
  4142.  
  4143.  
  4144. Xi-Paint offers three more features for the color requester. The first
  4145. one is "copy", which allows the duplication of an existing color.
  4146. Click the first color, press "copy" and click the colorbox, the "new"
  4147. duplicate color should appear.  "Change" allows you to exchange
  4148. two colors. The is done in the same manner as by copying. "Shade"
  4149. is a very special feature, which allows you to automatically gene-
  4150. rate a shade between two colors.  The number of steps can also
  4151. be defined.  The only limit is the number of colors in the palette.
  4152. But nevertheless this should be more than enough for most of your
  4153. projects.  To generate a shade, press the "start"color, then click
  4154. "shade" and then click the "end"color. The in between colorboxes
  4155. will be filled with the defined shade.
  4156.  
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  17.11.4     Taking a Color
  4162.  
  4163.  
  4164. You can also choose a color directly from a paint window. First click
  4165. the colorbox to which the color should be assigned. Then click the
  4166. selected window. Press <#> and then click the desired color point
  4167. in the window. The colorhue will automatically be assigned to the
  4168. colorbox.
  4169.  
  4170. The color requester also "owns" three sub requesters which offer you
  4171. more possibilities for the choice of a color. You can reach this sub
  4172. requester using the switchers right beside the scrollers in the top
  4173. half of the colorrequester. By clicking one of the following windows
  4174. will open:
  4175.  
  4176.  
  4177.  
  4178.  
  4179.  
  4180.  17.11.5      RGB Triangle by Maxwell
  4181.  
  4182.  
  4183.          Figure: RGB Triangle
  4184.  
  4185. This triangle contains all possible colors.  The basic colors /red,
  4186. green, blue) can be found in the three corners.  You can choose a
  4187. certain color by clicking on it. The fine tuning can be done by the
  4188. scrollers in the color requester.
  4189.  
  4190.  
  4191.  
  4192.  
  4193.  
  4194.  17.11.6     HSV Scheme
  4195.  
  4196.  
  4197.          Figure: HSV Scheme
  4198.  
  4199. This window contains two shades. One of them runs to black, the
  4200. other to white. Choose the desires hue by clicking. Fine tuning can
  4201. be done by the scrol lers.
  4202.  
  4203.  
  4204.  
  4205.  
  4206.  
  4207.  17.11.7     Palette Menu
  4208.  
  4209.   17.11.8  Load
  4210.   17.11.9  Save
  4211.   17.11.10 Scheme Menu
  4212.  
  4213.  
  4214.  
  4215.  
  4216.  
  4217.  17.11.8     Load
  4218.  
  4219.  
  4220. Shortcut: <right Amiga> <l>
  4221.  
  4222. This feature can load a saved palette which won't have any influence
  4223. upon the already completed parts of a painting.
  4224.  
  4225.  
  4226.  
  4227.  
  4228.  
  4229.  17.11.9      Save
  4230.  
  4231.  
  4232. Shortcut:  <right Amiga> <a>
  4233.  
  4234. This features allows you to save the actual palette. So you can at any
  4235. time recall a previously used palette.
  4236.  
  4237.  
  4238.  
  4239.  
  4240.  
  4241.  17.11.10     Scheme Menu
  4242.  
  4243.  
  4244. In this menu you can choose which one of the color mix methods the
  4245. color requester should use.  You can choose between RGB (<right
  4246. Amiga> <r>), HSL (<right Amiga> <h>) and CMYK (<right
  4247. Amiga> <y>).  Depending to your choice the look of the colorre-
  4248. quester will change.
  4249.  
  4250.  
  4251. Overview of the menu commands
  4252.  
  4253.         ____________________________________
  4254.         |   palette  |     |Scheme  |      |
  4255.         ------------------------------------
  4256.         |      load  | A-l |    RGB | A-r  |
  4257.         |      save  | A-s |    HSL | A-h  |
  4258.         | save_as... | A-a |   CMYK | A-y  |
  4259.         ------------------------------------
  4260.  
  4261.  
  4262.  
  4263.  
  4264.  
  4265.  17.12       Macros
  4266.  
  4267.  
  4268. menu: others/macro
  4269.  
  4270. Xi-Paint's macro function is not really a requester. It enables you
  4271. to automate recurring routines.
  4272.  
  4273.   17.12.1 Macros Using AREXX
  4274.   17.12.2 Recording Macros
  4275.   17.12.3 Playing a Macro
  4276.  
  4277.  
  4278.  
  4279.  
  4280.  
  4281.  17.12.1      Macros Using AREXX
  4282.  
  4283.  
  4284. AREXX is supported by Xi-Paint, and enables you automate some
  4285. routines and to produce completely new options.  Unfortunately
  4286. you'll need some experiences in programming and in working with
  4287. AREXX. Many users may not be interested in this feature. That's
  4288. why Xi-Paint offers a very comfortable solution to you:  Macros,
  4289. which are nothing more than working steps, are recorded by -
  4290. Paint and can be reproduced whenever you want.  Xi-Paint itself
  4291. stores each Macro as an AREXX script, which means that you can
  4292. record some basic working steps by Macro and later refine them by
  4293. AREXX.
  4294.  
  4295.  
  4296.  
  4297.  
  4298.  
  4299.  17.12.2      Recording Macros
  4300.  
  4301.  
  4302. menu: start....
  4303. shortcut: <right Amiga> <m>
  4304.  
  4305. To produce a macro you have to record the steps. Xi-Paint records
  4306. them step by step and defines a macro. To start recording, call the
  4307. corresponding feature of the menu.  A window, which informs you
  4308. about recording, will open.  After having finished the input of the
  4309. steps which should be contained by the macro, click "finish".  A
  4310. standard file requester will open and you can set the name under
  4311. which your macro should be stored.
  4312.  
  4313.  
  4314.  
  4315.  
  4316.  
  4317.  17.12.3      Playing a Macro
  4318.  
  4319.  
  4320. menu: perform ...
  4321. shortcut: <right Amiga> <u>
  4322.  
  4323. After recording a macro,  you can play it as often as you want.
  4324. For doing that call the corresponding menu point.   A standard
  4325. file requester will open and you can choose the desired macro by
  4326. mouseclick. The chosen macro will be loaded and completed.
  4327.  
  4328.  
  4329.  
  4330.  
  4331.  
  4332.  17.13        Mask requester
  4333.  
  4334.  
  4335. menu: mask....
  4336. shortcut: <right Amiga> <M>
  4337.  
  4338.          Figure: Mask Requester Icon
  4339.  
  4340. This requester allows you to ban certain colors of a painting. That's
  4341. important for getting certain cut outs of a project or just to mani-
  4342. pulate certain parts. You'll always need masks for blocking certain
  4343. parts of a project from manipulation.
  4344.  
  4345.          Figure: Mask Requester
  4346.  
  4347.   17.13.1 Mask for Excepting Certain Motives
  4348.   17.13.2 A color
  4349.   17.13.3 Colorarea
  4350.   17.13.4 Colormatrix (CLUT)
  4351.   17.13.5 Saturation
  4352.   17.13.6 Contrast
  4353.   17.13.7 Addition of Several Masking Steps
  4354.   17.13.8 Manipulation of Alpha Masks
  4355.  
  4356.  
  4357.  
  4358.  
  4359.  
  4360.  17.13.1      Mask for Excepting Certain Motives
  4361.  
  4362.  
  4363. If you want to color the background of a flower it will be very
  4364. difficult to take off its outline and to fill the background manually.
  4365. Xi-Paint enables you to mask the flower and also to color your back-
  4366. ground by putting a colored rectangle in front of your flower. The
  4367. most important settings are fixed in the menu "Way of Masking".
  4368.  
  4369.  
  4370.  
  4371.  
  4372.  
  4373.  17.13.2      A color
  4374.  
  4375.  
  4376. menu: a color
  4377. shortcut: <right Amiga> <o>
  4378.  
  4379. The easiest way of masking is to ban just one color.  You set your
  4380. color with the "support color" by the scroller beside it.  The pos-
  4381. sible values go from 1 to 255 and represent each a color of your
  4382. colorrequester. To mask a color just set the "support color" scrol-
  4383. ler to the number of the corresponding color box. To get the exact
  4384. color it's recommended to pick it directly from the paint window.
  4385. (Activate the window, press <#>, click the desired colorpixel)
  4386.  
  4387.  
  4388.  
  4389.  
  4390.  
  4391.  17.13.3      Colorarea
  4392.  
  4393.  
  4394. menu: colorarea
  4395. shortcut: <right Amiga> <m>
  4396.  
  4397. You may need to mask more than one color. That's why Xi-Paint
  4398. also allows a banning of similar colors, starting from the "support
  4399. color". The support color is set in the same manner as it is for just
  4400. one color. Try to find the best representative of your colors, the best
  4401. one would be one of the middle of the area.  By using the scroller
  4402. "+/ degrees in color circle" you can set the difference between the
  4403. support color and the other colors to be masked. Xi-Paint will show
  4404. you the well known color circle, with each of the basic colors 120
  4405. degrees distance from each other. In between transitions between R,
  4406. G and B. By help of "+/ degrees in color circle" you can set which
  4407. section of the circle should be masked. The bigger your choice, the
  4408. more colors will be masked.
  4409.  
  4410.  
  4411.  
  4412.  
  4413.  
  4414.  17.13.4      Colormatrix (CLUT)
  4415.  
  4416.  
  4417. menu: color matrix
  4418. shortcut: <right Amiga> <m>
  4419.  
  4420. Sometimes you'll have to mask colors which are not near each other
  4421. in the color circle. That's why Xi-Paint offers you the ability to use
  4422. the color matrix.  You mark a rectangular area of your picture
  4423. and the colors it contains will be masked.  But you can also set
  4424. divergences. The necessary steps are:
  4425.  
  4426. First you set the size of the rectangular area which should be mas-
  4427. ked.  Use the scroller "CLUT sides", with which you can set the
  4428. rectangle size between 1 and 20 color points.  Now press "Take
  4429. CLUT".  Now activate your paint window - a rectangle with the
  4430. set side length will stick on your mouse pointer.  Now click the
  4431. part of your painting which contains most of the colors you want
  4432. to mask. That's how you can choose a variety of different colors to
  4433. be masked.
  4434.  
  4435.  
  4436.  
  4437.  
  4438.  
  4439.  17.13.5      Saturation
  4440.  
  4441.  
  4442. menu: saturation
  4443. shortcut: <right Amiga> <s>
  4444.  
  4445. Sometimes you may want to mask the most garish color of your
  4446. object.  But colors can also be masked by their saturation.  First
  4447. define at "one color " a "support color". This will not set the color
  4448. itself, but its saturation.  By using the scroller "+/ saturation",
  4449. which can be set between 0 and 127, you can define how much the
  4450. colors to be masked (now saturations) are allowed to differ from the
  4451. support color.
  4452.  
  4453.  
  4454.  
  4455.  
  4456.  
  4457.  17.13.6      Contrast
  4458.  
  4459.  
  4460. menu: contrast
  4461. shortcut: <right Amiga> <c>
  4462.  
  4463. Contrast is set in the same manner as saturation. In this case the
  4464. settings will be fixed using the scroller "+/- contrast".
  4465.  
  4466. The mask requester also contains some other important features.
  4467. "Delete mask" deletes the actual mask of your paint window. The
  4468. setting of the manner of masking and the area to be masked are
  4469. not enough for banning the desired areas.  First you have to click
  4470. "add".  Doing this enables you to define masks as complex as you
  4471. want.
  4472.  
  4473.  
  4474.  
  4475.  
  4476.  
  4477.  17.13.7      Addition of Several Masking Steps
  4478.  
  4479.  
  4480. By clicking "add" - fixed settings will be added to an existing mask.
  4481. This way it's possible to create several masks in different worksteps
  4482. by using different methods. You can use for one area colorarea for
  4483. masking, for another one color matrix or saturation. If these areas
  4484. cover each other you need not worry.  "Show" is a special feature.
  4485. If you click it, a window with the same size of your paint window
  4486. will open and will show the actual mask in grey color.
  4487.  
  4488.  
  4489. Black points mean that this area does not belong to the mask.  If
  4490. you want, it's possible to save the contents of this special window
  4491. for using it for another project or for anything else.  The switch
  4492. "mask on color" / "paint on color" is also very important. It fixes
  4493. if all points belonging to the mask (mask on color) or all points
  4494. NOT belonging (paint on color) should be banned.  If you make a
  4495. mistake and choose the wrong setting, you just need to use "inverse"
  4496. (<right Amiga> <v>), which inverses the mask.  To activate a
  4497. defined mask for a certain window, use the on/off switch "switch
  4498. on mask". "Close" closes the mask requester, but the mask settings
  4499. are still active.
  4500.  
  4501.  
  4502.  
  4503.  
  4504.  
  4505.  17.13.8      Manipulation of Alpha Masks
  4506.  
  4507.  
  4508. Xi-Paint even offers a tool for manipulation of alpha masks. With
  4509. "maximum mask" the maximum RGB value of each pixel will be
  4510. taken and written to the alpha channel.  "Minimum mask" takes
  4511. the minimum RGB value of each pixel.  "Inverse" generates the
  4512. reciprocal value, a "negative " of your mask will be produced.  If
  4513. your mask is to weak, "double alpha value" might be helpful. Values
  4514. over 255 will become 255.  "Halve alpha value" halves the value,
  4515. values below 0 become 0.  "Over take mask" is something special.
  4516. It allows you to take the alpha mask of another project or another
  4517. mask into your actual paint window. A list window will open from
  4518. which you can choose the "from" mask.
  4519.  
  4520.  
  4521. Overview of menu commands
  4522.  
  4523.   ____________________________________________________________
  4524.   |  Way of masking  |          | Mask operation      |      |
  4525.   ------------------------------------------------------------
  4526.   |       one color  | A-o      |        inverse      | A-v  |
  4527.   |    color matrix  | A-m      |   maximum mask      | A-a  |
  4528.   |      color area  | A-n      |   minimum mask      | A-i  |
  4529.   |      saturation  | A-s      |  halve alpha value  | A-h  |
  4530.   |        contrast  | A-c      | double alpha value  | A-d  |
  4531.   |                  |          |    take mask over   | A-s  |
  4532.   ------------------------------------------------------------
  4533.  
  4534.  
  4535.  
  4536.  
  4537.  
  4538.  17.14        Pen Requester
  4539.  
  4540.  
  4541. menu: pens....
  4542. shortcut: <right Amiga> <P>
  4543.  
  4544.          Figure: Pen Requester Icon
  4545.  
  4546. This requester fulfills two tasks.  It generates the most important
  4547. basic pens and also offers management of several pens.  It looks
  4548. similar to the brush manager and also offers similar functions. The
  4549. 16 rectangles can contain 32 pens, by using the scroller 16 are shown
  4550. at one time.
  4551.  
  4552.          Figure: Pen Requester
  4553.  
  4554.   17.14.1 Pen Preview
  4555.   17.14.2 Generate a Pen
  4556.   17.14.3 Square Pens
  4557.   17.14.4 Circular Pens
  4558.   17.14.5 Different Kinds of Airbrushes
  4559.   17.14.6 Unicolor Circular Brushes
  4560.   17.14.7 One Point Brush
  4561.   17.14.8 Pen Menu
  4562.  
  4563.  
  4564.  
  4565.  
  4566.  
  4567.  17.14.1      Pen Preview
  4568.  
  4569.  
  4570. To choose a pen just click on it. As in the brush manager, the pen
  4571. manager tries to use the whole area of the preview boxes.  This
  4572. means that the pens might lose their proportion.  That's why the
  4573. real size of each pen is shown in the top right corner.
  4574.  
  4575.  
  4576.  
  4577.  
  4578.  
  4579.  17.14.2      Generate a Pen
  4580.  
  4581.  
  4582. For automatic generation use the button "generate pen ".  If you
  4583. click it a window will open which lets you insert the most important
  4584. settings for your pen. Before generating a pen choose the place of
  4585. the pen requester - where the new pen should be put.  Otherwise
  4586. the selected pen will be overwritten.
  4587.  
  4588.          Figure: Generate Requester
  4589.  
  4590. The first setting concerns the size.  Values between 1 to 100 are
  4591. possible.  For a rectangular pen this value means the length of a
  4592. side, for a circular pen it means the diameter.
  4593.  
  4594.  
  4595.  
  4596.  
  4597.  
  4598.  17.14.3      Square Pens
  4599.  
  4600.  
  4601. "Square" generates square pens.  The only necessary parameter is
  4602. the size, because this kind of pen will be generated in one color.
  4603.  
  4604.  
  4605.  
  4606.  
  4607.  
  4608.  17.14.4      Circular Pens
  4609.  
  4610.  
  4611. For circular pens the generation of airbrushes is also possible. Set
  4612. the size the same way as above. The basic of the generation of an
  4613. airbrush is a variable curve, which is shown in a special window you
  4614. can call with the button "generate curve".
  4615.  
  4616.  
  4617.  
  4618.  
  4619.  
  4620.  17.14.5      Different Kinds of Airbrushes
  4621.  
  4622.  
  4623. The appearance of the airbrush should be set by this curve. Imagine
  4624. that a peak of the curve means a light brightness and a very flat part
  4625. of the curve means that the airbrush becomes darker and darker.
  4626. If you feel puzzled, just try it.
  4627.  
  4628.          Figure: Curve Requester
  4629.  
  4630. The curve can be manipulated by two scrollers. One contains a va-
  4631. lue area between 1 and 100, the other one contains an area between
  4632. 1 and 400. The first (top) scroller allows you to influence the margin
  4633. area of your airbrush (should the airbrush become completely dark
  4634. or just a little bit darker). The second (bottom) scroller influences
  4635. the steepness of the curve, which means how fast the shade from
  4636. light to dark should happen. Small values will give a flat curve, big
  4637. values mean a steep curve.
  4638.  
  4639.  
  4640.  
  4641.  
  4642.  
  4643.  17.14.6      Unicolor Circular Brushes
  4644.  
  4645.  
  4646. You'll need them very often and can produce them by airbrushing.
  4647. Just set the top scroller to "1". The pen will be generated with one
  4648. steady bright color.
  4649.  
  4650.  
  4651.  
  4652.  
  4653.  
  4654.  17.14.7      One Point Brush
  4655.  
  4656.  
  4657. You need not generate it on your own.  Just press <:>,  which
  4658. generates automatically a one point brush and overwrites it with
  4659. the actual pen in the pen requester.
  4660.  
  4661. The menu for the pen requester contains some additional features
  4662. for pen management:
  4663.  
  4664.  
  4665.  
  4666.  
  4667.  
  4668.  17.14.8      Pen Menu
  4669.  
  4670.  
  4671. Swap to disk
  4672. ------------
  4673.  
  4674. shortcut: <right Amiga> <w>
  4675.  
  4676. This is the same features as described for the brush manager, which
  4677. causes the same effect for the pen.
  4678.  
  4679.  
  4680. Refresh
  4681. -------
  4682.  
  4683. shortcut: <right Amiga> <f>
  4684.  
  4685. This is also the same feature as for the brush manager and it also
  4686. causes the same effect (on the pens).
  4687.  
  4688.  
  4689. Delete
  4690. ------
  4691.  
  4692. shortcut: <right Amiga> <D>
  4693.  
  4694. This is the same feature for the pen manager as it is explained for
  4695. the brush manager.
  4696.  
  4697.  
  4698. Delete Pen
  4699. ----------
  4700.  
  4701. shortcut: <right Amiga> <x>
  4702.  
  4703. This feature allows you to delete selected pens but to keep the other
  4704. ones, which may be recommended because of the space they need
  4705. on your harddisk.
  4706.  
  4707.  
  4708. Overview menu commands
  4709.  
  4710.         _________________________
  4711.         |          pens  |      |
  4712.         -------------------------
  4713.         |  Swap to Disk  | A-w  |
  4714.         |        Refresh | A-f  |
  4715.         |         Delete | A-D  |
  4716.         |  Delete a pen  | A-x  |
  4717.         -------------------------
  4718.  
  4719.  
  4720.  
  4721.  
  4722.  
  4723.  17.15        Zoom Requester
  4724.  
  4725.  
  4726. menu: zoom ....
  4727. shortcut: <right Amiga> <Z>
  4728.  
  4729.          Figure: Zoom Icon
  4730.  
  4731. Xi-Paint offers a variable use of the magnifier.  The magnifying
  4732. factor can be freely chosen and it's even possible to scale down
  4733. your object.
  4734.  
  4735.   17.15.1 Enlarging a Part of the Project
  4736.   17.15.2 Scaling Down a Part of the Project
  4737.   17.15.3 One Magnifier for Each Worksheet
  4738.  
  4739.  
  4740.  
  4741.  
  4742.  
  4743.  17.15.1      Enlarging a Part of the Project
  4744.  
  4745.  
  4746. The available enlarging factor can be set between 1 (1:1) and 64
  4747. (64:1).  Set this factor by using the scroller in the zoom requester.
  4748. The magnifier will open its own window. Therein the size can be set
  4749. using the zoom requester and its input boxes "width" and "height".
  4750. But notice that even this magnifier window needs RAM!!!  Corre-
  4751. sponding to the chosen factor, a variable sized rectangle for cutting
  4752. out the desired section will be shown. The bigger the chosen factor,
  4753. the smaller the rectangle.  It's possible to work simultaneously in
  4754. both of the windows. Each change will be shown in both windows.
  4755.  
  4756.  
  4757.  
  4758.  
  4759.  
  4760.  17.15.2      Scaling Down a Part of the Project
  4761.  
  4762.  
  4763. This is an exciting new feature!!!  This feature is especially inter-
  4764. esting if you want to manipulate oversized projects.  It allows you
  4765. to show the whole oversized project (scaled down) on your screen.
  4766. The project can be scaled down up to (1:64). That's possible only
  4767. if this step makes sense.  It won't be possible to show a 320x200
  4768. project scaled down by the factor 20. Xi-Paint will ignore this com-
  4769. mand which would make your painting sized 16x10 points. Scaling
  4770. down will not show you a rectangle to choose the desired section. It
  4771. opens a window which is sized exactly to contain the scaled down
  4772. picture.
  4773.  
  4774.  
  4775.  
  4776.  
  4777.  
  4778.  17.15.3      One Magnifier for Each Worksheet
  4779.  
  4780.  
  4781. Xi-Paint offers you for each worksheet your own magnifier in case
  4782. you'd like to mani pulate several projects at once. If you open a new
  4783. magnifier, the old one will close. This is done to prevent confusing
  4784. the user.
  4785.  
  4786.  
  4787.  
  4788.  
  4789.  
  4790.  17.16        Layer Requester
  4791.  
  4792.  
  4793. menu: layer ...
  4794. shortcut: <right Amiga> <E>
  4795.  
  4796.          Figure: Layer Requester Icon
  4797.  
  4798. Using this feature, very interesting project manipulations become
  4799. possible.  This is easy and intuitive, as you already know from -
  4800. Paint. With these layers you can produce results which are perfect
  4801. for professionals.
  4802.  
  4803.          Figure: Layer Requster
  4804.  
  4805.   17.16.1 The Two Lists of the Layer Requester
  4806.   17.16.2 Fixing the Order
  4807.   17.16.3 Generating a Picture Composition
  4808.  
  4809.  
  4810.  
  4811.  
  4812.  
  4813.  17.16.1      The Two Lists of the Layer Requester
  4814.  
  4815.  
  4816. The left list contains all shown paint windows, with the right one
  4817. you can mix up the desired projects. Each layer is made from two
  4818. graphics. The first one offers its brightness, the second one its color
  4819. information.  You can also add other projects, on which mask the
  4820. selected information depends. The order of the graphics can be set
  4821. in the "layer" list, to which you can copy as many entries from the
  4822. project list as you want. This happens by clicking the desired entry
  4823. of the project list once and pressing "add" afterwards.  The new
  4824. entry will appear in the layer list.  It's also possible to copy one
  4825. and the same graphic several times. File names (without path) will
  4826. be used as names for the entries, or if there is none, the standard
  4827. name "project X".  The different projects you use for a layer need
  4828. not be same size.  The result will always be sized as the largest of
  4829. the chosen objects.
  4830.  
  4831.  
  4832.  
  4833.  
  4834.  
  4835.  17.16.2      Fixing the Order
  4836.  
  4837.  
  4838. Xi-Paint also allows a later re-ordering of your list. For that use the
  4839. four buttons right beside the text "order". They are for moving the
  4840. different entries in the list. This command concerns the last clicked
  4841. line, which is highlighted.  By "O" ("very top") the actual entry
  4842. will be put to the top of the list.  "U" ("very bottom") will put
  4843. the chosen entry to the bottom.  To highlight another entry, use
  4844. the two other buttons. If you've made a mistake and have chosen a
  4845. project for the layer list you don't want, click this entry and press
  4846. "del" button.
  4847.  
  4848.  
  4849.  
  4850.  
  4851.  
  4852.  17.16.3      Generating a Picture Composition
  4853.  
  4854.  
  4855. After producing the layerlist, the new graphic is ready to be ge-
  4856. nerated.  This happens by "show".  Click it and a new worksheet
  4857. with the new graphic will open.  Depending upon your processor,
  4858. this might need some time.  The new project can be manipulated
  4859. like any other independent project.  The composition result can
  4860. even be used as a layer itself. There are no menus assigned to the
  4861. layer requester, because each setting can be changed by the shown
  4862. buttons.
  4863.  
  4864.  
  4865.  
  4866.  
  4867.  
  4868.  
  4869.  
  4870.  Chapter  18
  4871.  
  4872.  
  4873.  Paint  Modes
  4874.  
  4875.  
  4876. Xi-Paint offers you a lot of painting possibilities, which can all be
  4877. found in the menu "paintmode".  The setting of the paint mode
  4878. is completely independent from the paint tool in use and is also
  4879. unaffected if you have chosen either a brush or a pen. While using
  4880. brushes their outline will be used for applying the various paint
  4881. modes.
  4882.  
  4883.   18.1  Solid
  4884.   18.2  Background
  4885.   18.3  Shade
  4886.   18.4  Cycle
  4887.   18.5  Smoothing
  4888.   18.6  Smear
  4889.   18.7  Tear
  4890.   18.8  As-it-is
  4891.   18.9  Inverse
  4892.   18.10 Color Exchange
  4893.   18.11 Brightness Exchange
  4894.   18.12 Saturation Exchange
  4895.   18.13 Darken
  4896.   18.14 Brighten
  4897.   18.15 Saturation +
  4898.   18.16 Saturation -
  4899.   18.17 Color Degree
  4900.   18.18 Contrast +
  4901.   18.19 Contrast -
  4902.  
  4903.  
  4904.  
  4905.  
  4906.  
  4907.  18.1       Solid
  4908.  
  4909.  
  4910. menu: solid
  4911. shortcut: <right Amiga> <1>
  4912.  
  4913. Xi-Paint activates "solid" after being started. Even if you choose a
  4914. brush it will be shown in the activated color.
  4915.  
  4916.  
  4917.  
  4918.  
  4919.  
  4920.  18.2       Background
  4921.  
  4922.  
  4923. menu: background
  4924. shortcut: <right Amiga> <2>
  4925.  
  4926. This feature allows you to "trace" parts of a "behind placed" pro-
  4927. ject. Of course you need not place the background picture exactly
  4928. behind your project.  Xi-Paint offers you special features to do so.
  4929. You can assign to each project any background you want.  The
  4930. size is not important.  The background project can be sized larger
  4931. or smaller.  But notice that you just can choose ONE picture as
  4932. background. Activate the project you want to use as background.
  4933.  
  4934. Thenchoose the menu feature "H-window?" (<right Amiga> <g>).
  4935. The feature will be marked and the chosen window can now be used
  4936. as background.  It can be used as background until you close the
  4937. background window or until another project is defined as back-
  4938. ground.
  4939.  
  4940. If you manipulate a project to which you have assigned a back-
  4941. ground, notice that you CAN'T paint in another window.  In this
  4942. case nothing will happen and you need to deactivate "background"
  4943. first.
  4944.  
  4945.  
  4946.  
  4947.  
  4948.  
  4949.  18.3       Shade
  4950.  
  4951.  
  4952. menu: shade
  4953. shortcut: <right Amiga> <3>
  4954.  
  4955. By using shade you can get wonderful effects. For doing so activate
  4956. "shade". The defined shade (2 point to 5 point) will be used, inde-
  4957. pendent of the chosen tool. Shade needs a lot of work even from a
  4958. very fast Amiga, so take care to choose a 1 point pen to fill bigger
  4959. areas with shade.  To get some special effects.  look in the tutorial
  4960. part of this manual. If you are not sure if Xi-Paint is still working
  4961. or if your computer crashed, just press <esc>.  A window, which
  4962. shows you the completed work, will appear.
  4963.  
  4964.  
  4965.  
  4966.  
  4967.  
  4968.  18.4       Cycle
  4969.  
  4970.  
  4971. menu: cycle
  4972. shortcut: <right Amiga> <4>
  4973.  
  4974. This causes a repetition of a special color combination, which has
  4975. been set in the cycle requester.  After having been activated, "cy-
  4976. cle" influences each paint operation regardless of the chosen tool.
  4977. Regarding the time necessary, refer to 18.3.
  4978.  
  4979.  
  4980.  
  4981.  
  4982.  
  4983.  18.5       Smoothing
  4984.  
  4985.  
  4986. menu: smooth
  4987. shortcut: <right Amiga> <5>
  4988.  
  4989. Smooth tries to paint smooth transitions instead of sharp edges. If
  4990. you try to use it in the middle of a unicolored area, nothing will
  4991. happen because an area can not become smoother.
  4992.  
  4993.  
  4994.  
  4995.  
  4996.  
  4997.  18.6       Smear
  4998.  
  4999.  
  5000. menu: smear
  5001. shortcut: <right Amiga> <6>
  5002.  
  5003. By using smear the colors and outlines of your project will be mer-
  5004. ged. For this feature it's recommended to use freehand tools, other-
  5005. wise "smear" will not cause real effects.  A simulation of the wet
  5006. watercolor effect in which colors run into each other is not possible
  5007. to produce with this feature.
  5008.  
  5009.  
  5010.  
  5011.  
  5012.  
  5013.  18.7       Tear
  5014.  
  5015.  
  5016. menu: tear
  5017. shortcut: <right Amiga> <7>
  5018.  
  5019. Do not confuse this feature with "smear".  "Tear" is a completely
  5020. different task.  It causes the color located under the bottom of a
  5021. brush to be shown, while moving the mouse, at the next position
  5022. (while using big brushes the mouse pointer's position will be taken).
  5023.  
  5024. For this feature it's also recommended to use freehand tools with
  5025. very small brushes. Otherwise the selected color may cover its whole
  5026. environment. You can imagine how it would look - imagine sticking
  5027. your finger into fresh oil paint and moving this finger into another
  5028. color.
  5029.  
  5030.  
  5031.  
  5032.  
  5033.  
  5034.  18.8       As-it-is
  5035.  
  5036.  
  5037. menu: as it is
  5038. shortcut: <right Amiga> <8>
  5039.  
  5040. Until now the outlines and area of brushes/pens has been used to
  5041. cause special effects. If you want to take a brush for copying parts
  5042. of a project, use the paint mode "as it is".  The chosen brush will
  5043. be inserted 1:1 into your new project.  This mode can be used in
  5044. common cases for brush manipulations.
  5045.  
  5046.  
  5047.  
  5048.  
  5049.  
  5050.  18.9       Inverse
  5051.  
  5052.  
  5053. menu: inverse
  5054.  
  5055. You'll need this feature just for some special effects. You can cause
  5056. a total alienation of your project. Just try it to see what it can look
  5057. like!
  5058.  
  5059.  
  5060.  
  5061.  
  5062.  
  5063.  18.10        Color Exchange
  5064.  
  5065.  
  5066. menu: color exchange
  5067.  
  5068. This feature allows you to dye an object a different color without
  5069. changing outlines and contrast.  Imagine the effect as looking at
  5070. the chosen area through a filter.  Xi-Paint allows you to set any
  5071. color any position. For color exchange Xi-Paint will always use the
  5072. activated color. Black and white take a special position. They are
  5073. not affected by "color exchange".  Black has no brightness, so it
  5074. will remain black.  White contains each color itself, so it won't be
  5075. exchanged.
  5076.  
  5077.  
  5078.  
  5079.  
  5080.  
  5081.  18.11        Brightness Exchange
  5082.  
  5083.  
  5084. menu: exchange brightness
  5085.  
  5086. By using this feature you can brighten or darken each part of a
  5087. project without changing the color.  For the value of brightness
  5088. the brightness of the activated color will be used, that's why it's
  5089. recommended to choose HSV instead of RGB. It is very difficult to
  5090. explain this effect, but let's try it out:
  5091.  
  5092. Load a project as dark as possible and choose the color white (RGB
  5093. = 255, 255, 255). Now choose an average sized brush (20x20) and
  5094. paint by using a freehand tool over your project. It will get the full
  5095. brightness.  If you choose a dark grey (RGB = 50, 50, 50) instead
  5096. of white, the affected areas will become darker. For this mode each
  5097. tool can be used, but most time you will use the filled freehand
  5098. area, the filled polygon or the filled rectangle.
  5099.  
  5100.  
  5101.  
  5102.  
  5103.  
  5104.  18.12        Saturation Exchange
  5105.  
  5106.  
  5107. menu: Satur. Change
  5108.  
  5109. This feature will transfer the saturation of the activated color to
  5110. you project. To do so it's recommended to use HSV for setting an
  5111. exact value for saturation.  Any paint tool can be used, but it's
  5112. recommended to use filled objects.
  5113.  
  5114.  
  5115.  
  5116.  
  5117.  
  5118.  18.13        Darken
  5119.  
  5120.  
  5121. menu: Darken
  5122.  
  5123. Use this tool to darken complete areas of your project (you can set
  5124. values between 0 and 100
  5125.  
  5126.  
  5127.  
  5128.  
  5129.  
  5130.  18.14        Brighten
  5131.  
  5132.  
  5133. menu: Brighten
  5134.  
  5135. Use this tool to brighten complete areas of your project (you can
  5136. set a value between 0 and 100
  5137.  
  5138.  
  5139.  
  5140.  
  5141.  
  5142.  18.15        Saturation +
  5143.  
  5144.  
  5145. menu: Saturation +
  5146.  
  5147. With this tool you can enrich the saturation of complete areas of
  5148. your project, even by airbrushing.
  5149.  
  5150.  
  5151.  
  5152.  
  5153.  
  5154.  18.16        Saturation -
  5155.  
  5156.  
  5157. menu: Saturation -
  5158.  
  5159. This tool lowers the saturation of complete areas of your project or
  5160. bring it by airbrush closer to grey.
  5161.  
  5162.  
  5163.  
  5164.  
  5165.  
  5166.  18.17        Color Degree
  5167.  
  5168.  
  5169. menu: Color Degree
  5170.  
  5171. With this tool you can change the hue values of complete areas of
  5172. your project. You can also realize rainbow shades by airbrush.
  5173.  
  5174.  
  5175.  
  5176.  
  5177.  
  5178.  18.18        Contrast +
  5179.  
  5180.  
  5181. menu: Contrast +
  5182.  
  5183. Use this tool to raise the contrast of complete areas of your project.
  5184.  
  5185.  
  5186.  
  5187.  
  5188.  
  5189.  18.19        Contrast -
  5190.  
  5191.  
  5192. menu: Contrast -
  5193.  
  5194. With this tool you can lower the contrast of complete areas of your
  5195. project.
  5196.  
  5197.  
  5198.  
  5199.  
  5200.  
  5201.  
  5202.  
  5203.   Chapter  19
  5204.  
  5205.  
  5206.   Shortcuts
  5207.  
  5208.  
  5209. While most of Xi-Paint is handled with the mouse, for every func-
  5210. tion a shortcut is available.
  5211.  
  5212. Most of the shortcuts are the same as the shortcuts of DPaint.
  5213.  
  5214. The only exception are the shortcuts for the brush manipulation.
  5215. These functions are only accessible via shortcut and not via menu.
  5216. This is a kind of copy-protection - without the manual you don't
  5217. know how to handle the brushes.
  5218.  
  5219.        19.0.1  Mirror at the X-axis
  5220.        19.0.2  Mirror at the Y-axis
  5221.        19.0.3  Turn Brush 90°
  5222.        19.0.4  Brush Half
  5223.        19.0.5  Brush Double
  5224.        19.0.6  Brushwidth Half
  5225.        19.0.7  Brushheight Half
  5226.        19.0.8  Brushsize Individual
  5227.        19.0.9  Turn the Brush Individual
  5228.        19.0.10 Maximum Mask for the Actual Brush
  5229.        19.0.11 Mask a Brush
  5230.        19.0.12 Switch off Masking
  5231.        19.0.13 Get Color
  5232.        19.0.14 Get a One Point Pen
  5233.        19.0.15 Get a New Pen
  5234.   19.1 Moving the Mouse with Keyboard
  5235.  
  5236.  
  5237.  
  5238.  
  5239.  
  5240.  19.0.1    Mirror at the X-axis
  5241.  
  5242.  
  5243. Key: x
  5244.  
  5245. Mirrors the brush around the X-Axis (Horizontal).
  5246.  
  5247.  
  5248.  
  5249.  
  5250.  
  5251.  19.0.2    Mirror at the Y-axis
  5252.  
  5253.  
  5254. Key: y
  5255.  
  5256. Mirrors the brush around the Y-Axis (Vertical).
  5257.  
  5258.  
  5259.  
  5260.  
  5261.  
  5262.  19.0.3    Turn Brush 90°
  5263.  
  5264.  
  5265. Key: z
  5266.  
  5267. Turns the brush around the Z-Axis (90?).
  5268.  
  5269.  
  5270.  
  5271.  
  5272.  
  5273.  19.0.4    Brush Half
  5274.  
  5275.  
  5276. Key: h
  5277.  
  5278. Divides the brush in half along the X-and Y-Axis.
  5279.  
  5280.  
  5281.  
  5282.  
  5283.  
  5284.  19.0.5    Brush Double
  5285.  
  5286.  
  5287. Key: H
  5288.  
  5289. Doubles the brush along the X-and Y-Axis.
  5290.  
  5291.  
  5292.  
  5293.  
  5294.  
  5295.  19.0.6    Brushwidth Half
  5296.  
  5297.  
  5298. Key: X
  5299.  
  5300. Divides the brush in half along the X-Axis.
  5301.  
  5302.  
  5303.  
  5304.  
  5305.  
  5306.  19.0.7    Brushheight Half
  5307.  
  5308.  
  5309. Key: Y
  5310.  
  5311. Divides the brush in half along the Y-Axis.
  5312.  
  5313.  
  5314.  
  5315.  
  5316.  
  5317.  19.0.8    Brushsize Individual
  5318.  
  5319.  
  5320. Key: %
  5321.  
  5322. Opens a window for entering the new dimension of the actual brush.
  5323. Enter the new values or click on "Draw Size" for drawing a rectangle
  5324. in the desired dimension. Click on Execute to create the new brush.
  5325.  
  5326.  
  5327.  
  5328.  
  5329.  
  5330.  19.0.9    Turn the Brush Individual
  5331.  
  5332.  
  5333. Key: $
  5334.  
  5335. Opens a new window with a slider to enter the angle of the new
  5336. brush.  Click on "Draw angle" for drawing interactive an angle.
  5337. Click on Execute to create the new brush.
  5338.  
  5339.  
  5340.  
  5341.  
  5342.  
  5343.  19.0.10      Maximum Mask for the Actual Brush
  5344.  
  5345.  
  5346. Key: [
  5347.  
  5348. Creates an alpha-mask for the actual brush.  Xi-Paint takes the
  5349. maximum value of the R/G/B-Values and puts it into the alpha-
  5350. Channel. The paint mode will be changed to alpha.
  5351.  
  5352.  
  5353.  
  5354.  
  5355.  
  5356.  19.0.11      Mask a Brush
  5357.  
  5358.  
  5359. Key: /
  5360.  
  5361. Creates an alpha-mask for the actual brush in the actual color (look
  5362. at the color-requester for the actual color). The paint mode will be
  5363. switched to "cut-off".
  5364.  
  5365.  
  5366.  
  5367.  
  5368.  
  5369.  19.0.12      Switch off Masking
  5370.  
  5371.  
  5372. Key: ]
  5373.  
  5374. Turns off the paint-mode"cut-off" or "alpha". The actual brush is
  5375. painted as a rectangle.
  5376.  
  5377.  
  5378.  
  5379.  
  5380.  
  5381.  19.0.13      Get Color
  5382.  
  5383.  
  5384. Key: #
  5385.  
  5386. After hitting this key, Xi-Paint waits for a mouse-click to an actual
  5387. paint-window to pick the current color.  This will be displayed in
  5388. the color-requester and in the border of the actual paint window.
  5389.  
  5390.  
  5391.  
  5392.  
  5393.  
  5394.  19.0.14      Get a One Point Pen
  5395.  
  5396.  
  5397. Key: .
  5398.  
  5399. The actual pen will be a one-point pen.
  5400.  
  5401.  
  5402.  
  5403.  
  5404.  
  5405.  19.0.15      Get a New Pen
  5406.  
  5407.  
  5408. Key: .
  5409.  
  5410. After hitting this key,  you can paint a circle which will be the
  5411. diameter of the actual pen.
  5412.  
  5413.  
  5414.  
  5415.  
  5416.  
  5417.  19.1      Moving the Mouse with Keyboard
  5418.  
  5419.  
  5420. _______________________________________________________________________
  5421. |                    Key   |    function                              |
  5422. -----------------------------------------------------------------------
  5423. |        <Amiga>  <Left>   |    Mousepointer 1 Pixel to the left.     |
  5424. |        <Amiga> <Right>   |    Mousepointer 1 Pixel to the right.    |
  5425. |        <Amiga>    <Up>   |    Mousepointer 1 Pixel up.              |
  5426. |        <Amiga>  <Down>   |    Mousepointer 1 Pixel down.            |
  5427. -----------------------------------------------------------------------
  5428. | <Amiga><Shift>  <Left>   |    Mousepointer 60 Pixels to the left.   |
  5429. | <Amiga><Shift> <Right>   |    Mousepointer 60 Pixels to the right.  |
  5430. | <Amiga><Shift>    <Up>   |    Mousepointer 60 Pixels up.            |
  5431. | <Amiga><Shift>  <Down>   |    Mousepointer 60 Pixels down.          |
  5432. -----------------------------------------------------------------------
  5433. |      <l-Amiga> <l-ALT>   |    press left mousebutton.               |
  5434. |      <r-Amiga> <r-ALT>   |    press rigth mousebutton.              |
  5435. |          <r-Amiga> <n>   |    new project                           |
  5436. |          <r-Amiga> <o>   |    load new file to a new project        |
  5437. |          <r-Amiga> <l>   |    load new picture in an old project    |
  5438. |          <r-Amiga> <L>   |    load brush                            |
  5439. |          <r-Amiga> <s>   |    save project                          |
  5440. |          <r-Amiga> <a>   |    save project with new name            |
  5441. |          <r-Amiga> <b>   |    save picture                          |
  5442. |          <r-Amiga> <Q>   |    quit XiPaint                          |
  5443. -----------------------------------------------------------------------
  5444. |          <r-Amiga> < >   |    opens Tool-Requester                  |
  5445. |          <r-Amiga> <C>   |    opens Color-Requester                 |
  5446. |          <r-Amiga> <B>   |    opens Brush-Requester                 |
  5447. |          <r-Amiga> <P>   |    opens Pen-Requester                   |
  5448. |          <r-Amiga> <G>   |    opens Grid-Requester                  |
  5449. |          <r-Amiga> <H>   |    opens Shadow-Requester                |
  5450. |          <r-Amiga> <Y>   |    opens Cycle-Requester                 |
  5451. |          <r-Amiga> <S>   |    opens SystemSetting-Requester         |
  5452. |          <r-Amiga> <M>   |    opens Mask-Requester                  |
  5453. |          <r-Amiga> <V>   |    opens Gradient-Requester              |
  5454. |          <r-Amiga> <T>   |    opens Style-Requester                 |
  5455. -----------------------------------------------------------------------
  5456. |          <r-Amiga> <Z>   |    opens Zoom-Requester                  |
  5457. |          <r-Amiga> <E>   |    opens Layer-Requester                 |
  5458. |          <r-Amiga> <D>   |    opens Parameter-Requester             |
  5459. -----------------------------------------------------------------------
  5460. |          <r-Amiga> <m>   |    Macro start                           |
  5461. |          <r-Amiga> <u>   |    Macro execute                         |
  5462. |          <r-Amiga> <f>   |    Empty Undo-Memory                     |
  5463. -----------------------------------------------------------------------
  5464. |          <r-Amiga> <1>   |    Paintmode Solid                       |
  5465. |          <r-Amiga> <2>   |    Paintmode Background                  |
  5466. |          <r-Amiga> <3>   |    Paintmode Gradient                    |
  5467. |          <r-Amiga> <4>   |    Paintmode Cycle                       |
  5468. |          <r-Amiga> <5>   |    Paintmode Soften                      |
  5469. |          <r-Amiga> <6>   |    Paintmode Smear                       |
  5470. |          <r-Amiga> <7>   |    Paintmode Tear                        |
  5471. |          <r-Amiga> <8>   |    Paintmode As-it-is                    |
  5472. -----------------------------------------------------------------------
  5473. |                     b    |    Get rectangular brush                 |
  5474. |                     n    |    Get polygonial brush                  |
  5475. |                     N    |    Get freedraw-brush                    |
  5476. |                     x    |    Mirrors brush at the X-Axis           |
  5477. |                     y    |    Mirrors brush at the Y-Axis           |
  5478. |                     z    |    Turns brush                           |
  5479. |                     X    |    Halves brush at the X-Axis            |
  5480. |                     Y    |    Halves brush at the Y-Axis            |
  5481. |                     Z    |    Transpose brush                       |
  5482. |                     %    |    Size brush                            |
  5483. |                     h    |    Halfs brush                           |
  5484. |                     H    |    Doubles brush                         |
  5485. |                     $    |    Turns brush                           |
  5486. -----------------------------------------------------------------------
  5487. |                     e    |    Ellipse                               |
  5488. |                     E    |    Filled Ellipse                        |
  5489. -----------------------------------------------------------------------
  5490. |                     r    |    Rectangle                             |
  5491. |                     R    |    Filled Rectangle                      |
  5492. |                     t    |    Text                                  |
  5493. |                     T    |    New Font                              |
  5494. |                     p    |    Polygon                               |
  5495. |                     P    |    Filled Polygon                        |
  5496. |                     F    |    Freedraw filled Polygon               |
  5497. |                     W    |    Filled Polygon                        |
  5498. |                     v    |    Line                                  |
  5499. |                     D    |    Freedraw                              |
  5500. |                     q    |    Curve                                 |
  5501. |                     d    |    Freedraw                              |
  5502. |                     f    |    Fill                                  |
  5503. |                     m    |    Zoom                                  |
  5504. |                     a    |    Lighttable                            |
  5505. -----------------------------------------------------------------------
  5506. |                     k    |    Clears Project black                  |
  5507. |                     K    |    Clears Project white                  |
  5508. |                     u    |    undo                                  |
  5509. |                     U    |    redo                                  |
  5510. |                   Esc    |    Cancel                                |
  5511. |                 Alt-y    |    Flip Picture   O                      |
  5512. |                 Alt-z    |    Flip_Picture_90                       |
  5513. -----------------------------------------------------------------------
  5514. |                     [    |    mask brush with maximum mask          |
  5515. |                     /    |    mask brush with actual color          |
  5516. |                     ]    |    no alpha mask for brush               |
  5517. -----------------------------------------------------------------------
  5518. |                     #    |    get color                             |
  5519. |                     .    |    one point pen                         |
  5520. |                     ,    |    get individual pen                    |
  5521. -----------------------------------------------------------------------
  5522.  
  5523.  
  5524.  
  5525.  
  5526.  
  5527.  
  5528.  
  5529.  Chapter  20
  5530.  
  5531.  
  5532.  The  AREXX  Interface
  5533.  
  5534.  
  5535. All functions of Xi-Paint can also be externally controlled with the
  5536. script language AREXX. Although some functions are not available
  5537. from the main menu, if required by the user, they can easily be
  5538. integrated into AREXX macro menu. Additionally AREXX script
  5539. enables you to automatically perform tedious picture manipulations
  5540. automatically, to program self running demos, or effects.
  5541.  
  5542.   20.1  Table of AREXX-commands
  5543.   20.2  Description of AREXX-Commands
  5544.   20.3  Parameter-Tabels
  5545.        20.3.1  Color Modes
  5546.  
  5547.  
  5548.  
  5549.  
  5550.  
  5551.  20.1      Table of AREXX-commands
  5552.  
  5553.  
  5554. In the following list represents all available Xi-Paint AREXX com-
  5555. mands.
  5556.  
  5557.       _____________________________________________________
  5558.       |         Befehl  | Param  | String  | Menu  | Key  |
  5559.       -----------------------------------------------------
  5560.       |            arc  |   6    | no     | yes    | yes  |
  5561.       |         aslreq  |   1    | no     | yes    | no   |
  5562.       |      beginpoly  |   0    | no     | yes    | yes  |
  5563.       |            box  |   4    | no     | yes    | yes  |
  5564.       |      brushload  |   0    | yes    | yes    | yes  |
  5565.       |      brushsave  |   0    | yes    | yes    | yes  |
  5566.       |     brushturnd  |   1    | no     | no     | yes  |
  5567.       |     brushturnx  |   0    | no     | no     | yes  |
  5568.       |     brushturny  |   0    | no     | no     | yes  |
  5569.       |     brushturnz  |   0    | no     | no     | yes  |
  5570.       |     brushxhalf  |   0    | no     | no     | yes  |
  5571.       |     brushyhalf  |   0    | no     | no     | yes  |
  5572.       |      brushhalf  |   0    | no     | no     | yes  |
  5573.       |    brushdouble  |   0    | no     | no     | yes  |
  5574.       |      brushsize  |   2    | no     | no     | yes  |
  5575.       |            cls  |   1    | no     | yes    | yes  |
  5576.       |          color  |   4    | no     | yes    | yes  |
  5577.       |      cyclemode  |   5    | no     | yes    | no   |
  5578.       |          dline  |   2    | no     | yes    | yes  |
  5579.       |       drawpara  |   7    | no     | yes    | no   |
  5580.       |           edge  |   1    | no     | no     | no   |
  5581.       |         ellips  |   4    | no     | yes    | yes  |
  5582.       |       endfpoly  |   0    | no     | yes    | yes  |
  5583.       |      endpbrush  |   0    | no     | yes    | yes  |
  5584.       |        endpoly  |   0    | no     | yes    | yes  |
  5585.       |        endrexx  |   0    | no     | no     | yes  |
  5586.       |           exit  |   0    | no     | yes    | yes  |
  5587.       |           fbox  |   4    | no     | yes    | yes  |
  5588.       |        fellips  |   4    | no     | yes    | yes  |
  5589.       |           fill  |   4    | no     | yes    | yes  |
  5590.       |        fontdpi  |   3    | no     | yes    | no   |
  5591.       |       getbrush  |   4    | no     | yes    | yes  |
  5592.       |       gradmode  |   3    | no     | yes    | no   |
  5593.       |          itext  |   0    | no     | yes    | yes  |
  5594.       |           line  |   4    | no     | yes    | yes  |
  5595.       |     lighttable  |   0    | no     | yes    | yes  |
  5596.       |       maskclut  |   2    | no     | yes    | yes  |
  5597.       |       maskmode  |   7    | no     | yes    | yes  |
  5598.       |        maxmask  |   0    | no     | no     | yes  |
  5599.       |        minipic  |   1    | yes    | yes    | no   |
  5600.       |        picload  |   0    | yes    | yes    | yes  |
  5601.       |        picsave  |   0    | yes    | yes    | yes  |
  5602.       |    pointlayout  |   3    | no     | yes    | no   |
  5603.       |       polymove  |   2    | no     | yes    | yes  |
  5604.       |       polydraw  |   2    | no     | yes    | yes  |
  5605.       |           redo  |   0    | no     | yes    | yes  |
  5606.       |       savemode  |   2    | no     | yes    | no   |
  5607.       |        setfont  |   1    | yes    | yes    | yes  |
  5608.       |        setgrid  |   5    | no     | yes    | no   |
  5609.       |     setmaxmove  |   1    | no     | yes    | no   |
  5610.       |       setpoint  |   2    | no     | yes    | yes  |
  5611.       |      setshadow  |   3    | no     | yes    | yes  |
  5612.       |           text  |   0    | yes    | yes    | yes  |
  5613.       |           undo  |   0    | no     | yes    | yes  |
  5614.       |        version  |   0    | no     | no     | no   |
  5615.       |       vlabdigi  |   0    | no     | yes    | no   |
  5616.       |      vlabinput  |   3    | no     | yes    | no   |
  5617.       |   vlabscansize  |   4    | no     | yes    | no   |
  5618.       |    vlabdeinter  |   0    | no     | yes    | no   |
  5619.       |           wait  |   1    | no     | no     | no   |
  5620.       -----------------------------------------------------
  5621.  
  5622.  
  5623.  
  5624.  
  5625.  
  5626.  20.2      Description of AREXX-Commands
  5627.  
  5628.  
  5629. In order to easily understand each of the parameters it might be
  5630. useful to call Xi-Paint and to create an AREXX script with the
  5631. auto macro funtion included.  To start the macro function use the
  5632. key combination <Amiga> m.
  5633.  
  5634. To start macro recording, execute any menu or drawing commandst
  5635. hat you want recorded and finish the macro using the <Amiga>
  5636. m a second time.  This will bring up a file-requester (Save the file
  5637. for example as ram:test).
  5638.  
  5639. You may now go and examine your script by leaving Xi-Paint (eit-
  5640. her by pressing <Amiga M/N> or entering "Quit") and load the
  5641. created AREXX script into any text editor:1>  ed  ram:testIt is
  5642. important to note that Undo steps are NOT recorded! In some of
  5643. the following examples of AREXX the following two lines may have
  5644. been omitted, howe ver, they are required for any AREXX script
  5645. to work:
  5646.  
  5647. /*  Rexx-Macro  of  XiXi-Paint  */
  5648. address  'xipaint'
  5649.  
  5650. The first line within the remarks can be any given line. AREXX re-
  5651. quiresthis line to recognize whether it is a valid AREXX script. The
  5652. second linegives AREXX the information about which program has
  5653. to work on the followingdata; in this case Xi-Paint.  Having star-
  5654. ted Xi-Paint you cannow return to any Amiga screen by pressing
  5655. Amiga N %where you can exe cute the script.
  5656.  
  5657. You can start an AREXX Script as follows: 1>  rx  ram:test
  5658.  
  5659. Now something should happen on the screen of the display.  The
  5660. double quotes at the left and the right side of some of the com-
  5661. mands ensurethat the AREXX commands are correctly read. Un-
  5662. der normal conditionsthey might not be necessary, but to ensure
  5663. that AREXX finds the correctmessage port the command "address
  5664. 'xipaint' " must be put indoublequotes. In the case where a transfer
  5665. string contains negative numbers AREXX will try to calculate two
  5666. parameters and the parameter list would subsequently be incom-
  5667. plete.
  5668.  
  5669.  
  5670.     o arc, 6 Parameter
  5671.  
  5672.       Draws a Bezier curve with three supporting points. The coor-
  5673.       dinates aregiven in the first 6 parameters, X and Y respecti-
  5674.       vely.
  5675.  
  5676.       Example:
  5677.       'arc  227  89  381  140  272  216'
  5678.  
  5679.  
  5680.     o aslreq, 1 Parameter
  5681.  
  5682.       Causes Xi-Paint to use the ASL File Requester instead of the
  5683.       built inrequester.
  5684.  
  5685.       Example:
  5686.       aslreq  1
  5687.  
  5688.  
  5689.     o beginpoly, no Parameter
  5690.  
  5691.       Starts the process of drawing a filled or unfilled polygon, or
  5692.       the cuttingof a polygon brush.
  5693.  
  5694.       Example:
  5695.       /*  Automatic  generated  macro  from  XiXi-Paint  3.0  */
  5696.       address  'xipaint'  beginpoly
  5697.       'polymove  200  181'
  5698.       'polydraw  119  212'
  5699.       'polydraw  118  213'
  5700.       'polydraw  120  213'
  5701.       'polydraw  189  202'
  5702.       'polydraw  228  226'
  5703.       'polydraw  200  181'
  5704.       'endpoly'
  5705.       beginpoly
  5706.       'polymove  17  8  285'
  5707.       'polydraw  106  333'
  5708.       'polydraw  172  313'
  5709.       'polydraw  184  360'
  5710.       'polydraw  178  285'
  5711.       'endpbrush
  5712.  
  5713.  
  5714.     o box, 4 Parameter
  5715.  
  5716.       Draws a rectangle. The first 4 parameters indicate the corner
  5717.       points.
  5718.  
  5719.       Example:
  5720.       'box'  190  419  232  474
  5721.  
  5722.  
  5723.     o brushload, eine Zeichenkette
  5724.  
  5725.       Loads a brush.
  5726.  
  5727.       Example:
  5728.       'brushload'  'pictures/TutEnchS.jpg'
  5729.  
  5730.  
  5731.     o brushsave, a string
  5732.  
  5733.       Saves a brush.
  5734.  
  5735.       Example:
  5736.       'brushsave'  'pictures/TutEnchS.iff'
  5737.  
  5738.  
  5739.     o brushturnd, one Parameter
  5740.  
  5741.       Turns the brush with the desired angle.
  5742.  
  5743.       Example:
  5744.       /*  Automatically  generated  macro  from  XiPaint  3.0  */
  5745.       address  'xipaint'
  5746.       'getbrush  142  235  56  29'
  5747.       'brushdouble'
  5748.       'brushyhalf'
  5749.       'brushxhalf'
  5750.       'brushdouble'
  5751.       'brushhalf'
  5752.       'brushsize  41  266  '
  5753.       'turnbrushy'
  5754.       'turnbrushz'
  5755.       'brushturnd'  23
  5756.       endrexx
  5757.  
  5758.  
  5759.     o brushturnx, no Parameter
  5760.  
  5761.       Mirrors the brush around the X-Axis.
  5762.  
  5763.       Example: look at "brushturnd"
  5764.  
  5765.  
  5766.     o brushturny, no Parameter
  5767.  
  5768.       Mirrors the brush around the Y-Axis.
  5769.  
  5770.       Example: look at "brushturnd"
  5771.  
  5772.  
  5773.     o brushturnz, no Parameter
  5774.  
  5775.       Turns a brush 90°.
  5776.  
  5777.       Example: look at "brushturnd"
  5778.  
  5779.  
  5780.     o brushxhalf, no Parameter
  5781.  
  5782.       Halfs a brush along the X-Axis.
  5783.  
  5784.       Example: look at "brushturnd"
  5785.  
  5786.  
  5787.     o brushyhalf, no Parameter
  5788.  
  5789.       Halfs a brush along the Y-Axis.
  5790.  
  5791.       Example: look at "brushturnd"
  5792.  
  5793.  
  5794.     o brushhalf, no Parameter
  5795.  
  5796.       Halfs a brush.
  5797.  
  5798.       Example: look at "brushturnd"
  5799.  
  5800.  
  5801.     o brushdouble, no Parameter
  5802.  
  5803.       Doubles a brush.
  5804.  
  5805.       Example: look at "brushturnd"
  5806.  
  5807.  
  5808.     o brushsize, 2 Parameter
  5809.  
  5810.       Sizes a brush to the given parameters.
  5811.  
  5812.       Example: look at "brushturnd"
  5813.  
  5814.  
  5815.     o cls, ein Parameter
  5816.  
  5817.       Clears the actual project in the actual color, black or white.
  5818.       _________________________________________
  5819.       |   Kind  |  Value                      |
  5820.       -----------------------------------------
  5821.       |  20922  |  Clears in black            |
  5822.       |  20921  |  Clears in white            |
  5823.       |  20920  |  Clears in the actual color |
  5824.       -----------------------------------------
  5825.  
  5826.       Example:
  5827.       cls  20920
  5828.  
  5829.  
  5830.     o color, 4 Parameter
  5831.  
  5832.       Determines the colors.  The first 3 parameters give the r , g
  5833.       and b value. The last parameter gives the color to be changed,
  5834.       which is valid from 0 to 255.
  5835.  
  5836.       Example:
  5837.       'color  12  254  242  0'
  5838.       'color  239  254  14  1'
  5839.  
  5840.  
  5841.     o cyclemode, 1 Parameter
  5842.  
  5843.       This mode defines which colors cycling should be used.  The
  5844.       following values are possible:The first value gives the offset
  5845.       of the begin ning of colorentry.  This is a value of 0 to1999
  5846.       if you want to use 2000 entrys.The second value gives the
  5847.       internal step, also within 0 and 1999.The third value gives
  5848.       the maximum steps. Also from 1 to 2000.The fourth and fifth
  5849.       value are the begin-etry and end-entry of the color-register.
  5850.  
  5851.       Example:
  5852.       'cyclemode'  0  0  2000  2  6
  5853.  
  5854.  
  5855.     o dline, 6 Parameter
  5856.  
  5857.       Is used for drawing a solid line.  The only difference to the
  5858.       "line"command is the missing first pixel of the line.  Due to
  5859.       this you need touse the "move" command before executing
  5860.       "dline".
  5861.  
  5862.       Example:
  5863.       'setpoint'  124  62
  5864.       'setpoint'  124  62
  5865.       'polymove'  81  81
  5866.       'dline'  82  83
  5867.       'dline'  85  90
  5868.       'dline'  87  101
  5869.       'dline'  90  110
  5870.       'dline'  93  117
  5871.       'dline'  111  123
  5872.       'dline'  116  122
  5873.       'dline'  118  120
  5874.       'endrexx'
  5875.  
  5876.     o drawpara, 7 Parameter
  5877.  
  5878.       Is used for defining the darkness and brightness etc.
  5879.  
  5880.       ________________________________________________
  5881.       |  Parameter  | Value              |  Limits   |
  5882.       --------------- --------------------------------
  5883.       |      1      | Brightness         |  0-255    |
  5884.       |      2      | Darkness           |  0-255    |
  5885.       |      3      | Antialiasingfactor |  0-255    |
  5886.       |      4      | fastfill           |  0-1      |
  5887.       |      5      | keep-mask          |  0-1      |
  5888.       |      6      | Pixel-Current      |  0-16000  |
  5889.       |      7      | 1-Pixel-Current    |  0-16000  |
  5890.       ------------------------------------------------
  5891.  
  5892.  
  5893.     o edge, 1 Parameter
  5894.  
  5895.       the handle is attached to the brush.  Usually it is located in
  5896.       the middle.Use this command to change the location of the
  5897.       holding point.  Theparameters indicate the X and Y values
  5898.       in relation to the upper left cornerof the brush.  It is easier,
  5899.       however, to use the command "setedge"instead which auto-
  5900.       matically calculates the coordinates.
  5901.  
  5902.       ___________________________
  5903.       |  Value  | Setting       |
  5904.       ---------------------------
  5905.       |  1      | left top      |
  5906.       |  2      | left bottom   |
  5907.       |  3      | right top     |
  5908.       |  4      | right bottom  |
  5909.       |  0      | middle        |
  5910.       ---------------------------
  5911.  
  5912.       Example:
  5913.       edge  1
  5914.  
  5915.  
  5916.     o ellips, 4 Parameter
  5917.  
  5918.       Draws  an  ellipse.   The  first  four  parameters  indicate  the
  5919.       middle point and the radius.
  5920.  
  5921.       Example:
  5922.       'ellips'  297  305  316  329
  5923.  
  5924.  
  5925.     o endpoly, no Parameter
  5926.  
  5927.       Ends a polygon.
  5928.  
  5929.       Example:
  5930.       look at beginpoly.
  5931.  
  5932.  
  5933.     o endfpoly, no Parameter
  5934.  
  5935.       Ends a filled polygon.
  5936.  
  5937.       Example:
  5938.       look at beginpoly.
  5939.  
  5940.  
  5941.     o endpbrush, no Parameter
  5942.  
  5943.       Ends a polygonial brush.
  5944.  
  5945.       Example:
  5946.       look at beginpoly
  5947.  
  5948.  
  5949.     o endrexx, no Parameter
  5950.  
  5951.       Ends an AREXX script,  returning to all functions normal
  5952.       paint conditions.This command should be entered after each
  5953.       AREXX script.  If you don't dothis the Undo will not work
  5954.       properly.
  5955.  
  5956.       Example:
  5957.       endrexx
  5958.  
  5959.  
  5960.     o exit, no Parameter
  5961.  
  5962.       Quits Xi-Paint.
  5963.  
  5964.       Example:
  5965.       exit
  5966.  
  5967.  
  5968.     o fbox, 4 Parameter
  5969.  
  5970.       Draws a filled rectangle.  The first 4 parameters indicate the
  5971.       corner points.
  5972.  
  5973.       Example:
  5974.       'fbox'  190  419  232  474
  5975.  
  5976.  
  5977.     o fellips, 4 Parameter
  5978.  
  5979.       Draws a filled ellipse.  The first four parameters indicate the
  5980.       middle point and the radius.
  5981.  
  5982.       Example:
  5983.       'fellips'  297  305  316  329
  5984.  
  5985.  
  5986.     o fill, 4 Parameter
  5987.  
  5988.       Fills at the given coordinate.
  5989.  
  5990.       Example:
  5991.       'fill  100  100'
  5992.  
  5993.  
  5994.     o fontdpi, 3 Parameter
  5995.  
  5996.       Sets the dpi of a given font.  The third paraeter switches
  5997.       Antialias on/off.
  5998.  
  5999.       Example:
  6000.       fontdpi  75  80  0
  6001.  
  6002.  
  6003.     o getbrush, 4 Parameter
  6004.  
  6005.       Cuts off an rectangular brush.
  6006.  
  6007.       Example: look at "brushturnd"
  6008.  
  6009.  
  6010.     o gradmode, 3 Parameter
  6011.  
  6012.       Enters the mode for gradient. The second and third parame-
  6013.       ter gives the percentage of the fifth point (if chosen).
  6014.       ____________________________________
  6015.       |  Mode   | Value                  |
  6016.       ------------------------------------
  6017.       |  1      | Horizontal, 2 Colors   |
  6018.       |  2      | Vertical, 2 Colors     |
  6019.       |  4      | 3 Colors, Top two      |
  6020.       |  3      | 3 Colors, Bottom two   |
  6021.       |  5      | 4 Colors               |
  6022.       |  6      | 5 Colors               |
  6023.       ------------------------------------
  6024.  
  6025.  
  6026.     o itext, 3 Parameter
  6027.  
  6028.       Gives an interactive string-requester.  The string willbe con-
  6029.       verted to a brush.
  6030.  
  6031.       Example:
  6032.       /*  Interaktiver  Text  */
  6033.       address  'xipaint'
  6034.       'itext'
  6035.       endrexx
  6036.  
  6037.  
  6038.     o line, 4 Parameter
  6039.  
  6040.       Line from x1, y1 to x2, y2.
  6041.  
  6042.       Example:
  6043.       'Color'  102  102  102  0
  6044.       'line'  319  140  412  234
  6045.  
  6046.  
  6047.     o lighttable, no Parameter Switches the lighttable on/off
  6048.  
  6049.       Example:
  6050.       lighttable
  6051.  
  6052.  
  6053.     o maskclut, 2 Parameter Gives the coordinates for the taken
  6054.       CLUT.
  6055.  
  6056.       Example:
  6057.       'maskclut'  194  144
  6058.  
  6059.  
  6060.     o maskmode, 7 Parameter Switches the mask on/off
  6061.  
  6062.       Modes:
  6063.       _________________________________________________
  6064.       |  Parameter  | Value   | Function              |
  6065.       -------------------------------------------------
  6066.       |      1      | 0       | Don't Paint on mask   |
  6067.       |      1      | 1       | Paint on mask         |
  6068.       |      2      | 0-255   | Mask color-entry      |
  6069.       |      3      | 0-3600  | Hue-of mask           |
  6070.       |      4      | 0-255   | Saturation of mask    |
  6071.       |      5      | 0-255   | Intensity of mask     |
  6072.       |      6      | 1-20    | Side of CLUT-Square   |
  6073.       |      7      | 0       | Mask off              |
  6074.       |      7      | 1       | Mask on               |
  6075.       -------------------------------------------------
  6076.  
  6077.       Example:
  6078.       'maskmode'  1  1  10  10  10  10  1
  6079.  
  6080.  
  6081.     o maxmask, no Parameter
  6082.  
  6083.       Generates automatically a maxi mummask for
  6084.       the actual brush.
  6085.  
  6086.  
  6087.     o minipic, one Parameter, a string
  6088.  
  6089.       Creates a minipic for the desired filename.
  6090.       The first parameter gives the information, if
  6091.       the file (0) is a picture or a font (1).
  6092.  
  6093.  
  6094.     o picload, a string
  6095.  
  6096.       Loads pictures.
  6097.  
  6098.       Example:
  6099.       'picload'  'pictures/TutEnch.jpg'
  6100.  
  6101.  
  6102.     o picsave, a string
  6103.  
  6104.       Saves pictures.
  6105.  
  6106.       Example:
  6107.       'picsave'  'pictures/TutEnch.iff'
  6108.  
  6109.  
  6110.     o pointlayout, 3  Parameter
  6111.  
  6112.       Mode  of  generating  a  pen: round(1), squared (0).
  6113.  
  6114.       The second parameter gives the diameter in pixel.The last parameter
  6115.       says the mode (color-mode) for creating the pen.
  6116.  
  6117.       Example:
  6118.       pointlayout  0  8  3
  6119.  
  6120.  
  6121.     o polymove, 2 Parameter Moves the internal cursor for po-
  6122.       lygonial lines.
  6123.  
  6124.       Example:
  6125.       beginpoly
  6126.       'polymove  186  154'
  6127.       'polydraw  121  187'
  6128.       'polydraw  164  238'
  6129.       'polydraw  163  238'
  6130.       'polydraw  222  206'
  6131.       'polydraw  186  154'
  6132.       'endpbrush'
  6133.       'setpoint  221  156'
  6134.  
  6135.  
  6136.     o polydraw, 2 Parameter Draws a polygonial line or cuts a
  6137.       polygonial brush.
  6138.  
  6139.       Example: look at "polymove"
  6140.  
  6141.  
  6142.     o redo, no Parameter Makes a redo.
  6143.  
  6144.  
  6145.     o savemode, 2 Parameter Gives the save-format (table be-
  6146.       low).  The second parameter says the deepness (24 bit or 32
  6147.       bit).
  6148.  
  6149.       __________________________
  6150.       |  Value  | Fileformat   |
  6151.       --------------------------
  6152.       |  0      | IFF-DEEP     |
  6153.       |  1      | IFF-ILBM     |
  6154.       |  2      | PBM          |
  6155.       |  3      | PPM          |
  6156.       |  4      | SUNRASTER    |
  6157.       --------------------------
  6158.  
  6159.       Example:
  6160.       'savemode'  4  32
  6161.  
  6162.  
  6163.     o setfont, a string, 1 Parameter Loads the desired font.
  6164.  
  6165.       Example: look at "text"
  6166.  
  6167.  
  6168.     o setgrid,  5  Parameter Switches on a grid in the desired
  6169.       size (width/height, Offset x/y). The last parameter switches
  6170.       on(1) or off(0).
  6171.  
  6172.       Example:
  6173.       setgrid  3  3  0  0  1
  6174.  
  6175.  
  6176.     o setmaxmove, ein Parameter Gives the maximal size of a
  6177.       full displayed brush.
  6178.  
  6179.       Example:
  6180.       setmaxmove  50000
  6181.  
  6182.  
  6183.     o setpoint, 2 Parameter To set a point at the given coordi-
  6184.       nate.
  6185.  
  6186.       Example:
  6187.       'setpoint  145  184'
  6188.  
  6189.  
  6190.     o setshadow,  3 Parameter Gives the direction of the sha-
  6191.       dow.The third parameter switches the shadow on (1) or off(0).
  6192.  
  6193.       Example: look at "text"
  6194.  
  6195.  
  6196.     o text, no Parameter, string Makes from the given string a
  6197.       brush.
  6198.  
  6199.       Example:
  6200.       'setfont'  60  'FONTS:CGTriumvirate.font'
  6201.       'setshadow'  10  '-10'  1
  6202.       'text'  'Der  Versuch'
  6203.       setpoint  10  30
  6204.  
  6205.  
  6206.     o undo, no Parameter Makes an undo.
  6207.  
  6208.  
  6209.     o version, no Parameter Versionnumber of Xi-Paint.
  6210.  
  6211.       Example:
  6212.       /*  gets  the  version  from  Xi-Paint  */
  6213.       options  results
  6214.       address  'xipaint'  'Version'
  6215.       say  result  'version'
  6216.  
  6217.  
  6218.     o vlabinput,   3  Parameter  Sets  the  VTR-Mode  (0/1),
  6219.       PAL/NTSC  (1/0)  and  the  Input-Channel  of  the  VLab-
  6220.       Digitizer.
  6221.  
  6222.       Example:
  6223.       vlabinput  0  1  2
  6224.  
  6225.  
  6226.     o vlabscansize,  4 Parameter Defines the digitizer areas of
  6227.       VLab. The four parameters specify the leftupper corner, the
  6228.       width and the height.
  6229.  
  6230.       Example:
  6231.       vlabscansize  0  20  720  600
  6232.  
  6233.  
  6234.     o vlabdigi, no Parameter Digitizes a picture using the VLab
  6235.       digitizer.
  6236.  
  6237.       Example:
  6238.       vlabgrab  0  20  720  600
  6239.  
  6240.  
  6241.     o vlabdeinter,  no  Parameter Deinterlaces the actual pic-
  6242.       ture.
  6243.  
  6244.       Example:
  6245.       vlabdeinter
  6246.  
  6247.  
  6248.     o wait, ein Parameter This command suffices to perform a
  6249.       waiting loop during a demonstration.  The parameter gives
  6250.       the time in 1/50 of a second Xi-Paint should waitbefore the
  6251.       next action can be star ted.
  6252.  
  6253.  
  6254.  
  6255.  
  6256.  
  6257.  20.3      Parameter-Tables
  6258.  
  6259.  
  6260. The following tables give the values for individual operations stated
  6261. inthe AREXX chapter.  They are not necessary, however, during
  6262. normaloperation of Xi-Paint.
  6263.  
  6264.   20.3.1  Color Modes
  6265.  
  6266.  
  6267.  
  6268.  
  6269.  
  6270.  20.3.1    Color Modes
  6271.  
  6272.  
  6273. The following table lists the different color modes with their accor
  6274. dingvalues. They have to be stated with almost every drawing tool,
  6275. since they define the drawing mode.
  6276.  
  6277.         _______________________________
  6278.         |  Colormode        |  Value  |
  6279.         -------------------------------
  6280.         |  Solid            |  1      |
  6281.         |  Background       |  2      |
  6282.         |  Gradient         |  3      |
  6283.         |  Cycle            |  4      |
  6284.         |  invers           |  5      |
  6285.         |  Smooth           |  6      |
  6286.         |  Smear            |  7      |
  6287.         |  Tear             |  8      |
  6288.         |  Huechange        |  9      |
  6289.         |  Brightnesschange | 10      |
  6290.         |  Saturationchange | 11      |
  6291.         |  As-It-is         | 12      |
  6292.         |  Darken           | 13      |
  6293.         |  Brighten         | 14      |
  6294.         |  Saturation+      | 15      |
  6295.         |  Saturation-      | 16      |
  6296.         |  Move Hue         | 17      |
  6297.         |  Contrast+        | 18      |
  6298.         |  Contrast-        | 19      |
  6299.         -------------------------------
  6300.  
  6301.  
  6302.  
  6303.  
  6304.  
  6305.  
  6306.  
  6307.  Chapter  21
  6308.  
  6309.  
  6310.  VLab
  6311.  
  6312.  
  6313. This chapter gives you some characteristics of the implementation
  6314. of thereal time video digitizer from MacroSystem.You can only call
  6315. up the VLab menu if the version of the VLab library is atleast
  6316. release 7 or higher.Since Xi-Paint does not use all the features of
  6317. VLab, some adjustmentscan only be performed via special VLab
  6318. soft ware.  To do so start the VLabsoftware before Xi-Paint and
  6319. adjust the desired parameters.  Afterwardclose VLab and start -
  6320. Paint. The adjustments made to the VLab willbe maintained. In
  6321. future versions of Xi-Paint the digitizer will be better implemented.
  6322.  
  6323.  
  6324.  
  6325.  
  6326.  
  6327.  
  6328.  
  6329.  Chapter  22
  6330.  
  6331.  
  6332.  Load- and Save-Functions
  6333.  
  6334.  
  6335. In an effort to provide as much functionality as possible Xi-Paint
  6336. supports several graphic formats, each of them having advantages
  6337. and disadvatages.  These formats for loading and saving images
  6338. and brushes are depending on the version of the multipic.library,
  6339. for now there listed be low:
  6340.  
  6341.  
  6342.     o IFF-DEEP
  6343.  
  6344.     o IFF-24Bit
  6345.  
  6346.     o IFF-8Bit
  6347.  
  6348.     o Amiga-IFF (also HAM)
  6349.  
  6350.     o PPM
  6351.  
  6352.     o JPEG
  6353.  
  6354.     o Xi-Paint-Format (old)
  6355.  
  6356.     o IFF-YUV
  6357.  
  6358.  
  6359. Save:
  6360.  
  6361.     o IFF-24Bit
  6362.  
  6363.     o PPM
  6364.  
  6365.     o BMP
  6366.  
  6367.     o IFF DEEP
  6368.  
  6369.  
  6370. The following is a description of the individual formats:
  6371.  
  6372.  
  6373. IFF-24Bit:    Although a bitmap technology for 24 bit pictures is-
  6374.       not particularly useful, this format still represents a kindof
  6375.       standard.  It is supported by most programs running with
  6376.       24Bit. Itrepresents an expansion of the Amiga IFF Standard
  6377.       to more bit planes. Italso compresses, but as well as the JPEG
  6378.       Algorithym. Unfortunately the bitplane concept causes a re-
  6379.       latively slow loading since thecolor value of each pixel has to
  6380.       be retrieved from the different pictureplanes.
  6381.  
  6382.  
  6383. IFF-8Bit:     For pictures containing only shades of grey a color-
  6384.       depth of 8 Bit is sufficient.  Such pictures often occur with
  6385.       DTP applications, when no color is required. Xi-Paint main-
  6386.       tains thepictures according to their palette, i. e. color pictu-
  6387.       res canalso be loaded with up to 256 colors. When saving you
  6388.       can choose in thesystem menu which of the 3 color planes you
  6389.       want to save as 8 Bit.  Thepicture's palette is then a palette
  6390.       of grey shades.
  6391.  
  6392.  
  6393. Amiga-IFF:      In order for you to use your old pictures created with
  6394.       DPaint Xi-Paint is able to load all Amiga formats including
  6395.       HAM and Extrahalfbright. Using AREXX you can determine
  6396.       with 'loadalign' and'loadaspect' how this is done. 'loadaspect'
  6397.       can be set to 1 and thenadapts the pixel ratio of the Amiga
  6398.       resolution to the display buffer.'loadalign' aligns the picture
  6399.       either to the left or the right side oradjusts the Amiga picture
  6400.       to the size of the displaybuffer. Further information on these
  6401.       commands is supplied in the AREXX chapter of thismanual.
  6402.  
  6403.  
  6404. PPM:     This originates from UNIX. It was implemented for impor-
  6405.       ting pictures of other work stations.
  6406.  
  6407.  
  6408. JPEG:     The  JPEG  format  is  standardized  as  well.   It  is  not
  6409.       a problemto transfer JPEG pictures from other computers.
  6410.       Anotheradvantage of the JPEG formats is the small size of
  6411.       a picture on the harddisk. Picture compression is performed
  6412.       according to a specific algorithm,which, unfortuna tely, does
  6413.       not work without losses.  In the system menu youcan choose
  6414.       the quality of the image to be saved in JPEG format.  The
  6415.       value100 results in almost no losses, whereas a picture save
  6416.       with the value 1 iscompletely unrecognizable. The smaller the
  6417.       value the smaller the file onthe hard disk. You have to try to
  6418.       find the appropriate compression degreefor your application.
  6419.       If pictures are loaded which have been extremely compressed
  6420.       it is advisable to use smoothing (also available in the system
  6421.       menu).  In contrast to the other formats loading and saving
  6422.       of highlycompressed pictures takes a long time.  Since the
  6423.       uncompressed picture must be stored as an intermediate file,
  6424.       you must enter a path for this file inthe tool types.
  6425.  
  6426.  
  6427.  
  6428.  
  6429.  
  6430.  
  6431.  
  6432.  Chapter  23
  6433.  
  6434.  
  6435.  The  Future
  6436.  
  6437.  
  6438. The next version of Xi-Paint will have animation-features, an built
  6439. in raytracer, more and enhanced brush-manipulation and and and
  6440.  
  6441.          Figure: Ice-Cream
  6442.  
  6443.          Figure: Ring
  6444.  
  6445.  
  6446.  
  6447.  
  6448.  
  6449.  
  6450.  
  6451.  Chapter  24
  6452.  
  6453.  
  6454.  Copyrights
  6455.  
  6456.  
  6457. Copyright (c) 1994
  6458.  
  6459.  
  6460. Software: Herbert Beilschmidt & Thomas Dorn
  6461.  
  6462. Translation: Tamara Trenkler & Thomas Dorn
  6463.  
  6464. Manual: Hartwig Tauber
  6465.  
  6466. Titlegraphics: Rolf Tingler
  6467.  
  6468. Graphics: Peter Wlcek and Tamara Trenkler
  6469.  
  6470.  
  6471. DPaint is a Trademark by Electronic Arts
  6472. Compugraphic and AGFA are copyright by AGFA
  6473. JPEG is copyright by the JPEG-Group
  6474. Amiga and AmigaDOS are copyright Commodore Inc.
  6475. The Art Department is copyright ASDG Inc.Retina and VLab are
  6476. Trademarks of MacroSystem.
  6477.  
  6478.  
  6479.