By default, the spacing will be the brush's height, divided by 4.Īdd a line containing the line " spacing= N" to the brush's data file, where " N" is the spacing you want for the brush. (e.g., " brush.png"'s data file is the text file " brush.dat", found in the same directory.) Brush SpacingĪs of Tux Paint version 0.9.16, you can now specify the spacing for brushes (that is, how often they are drawn). The file has the same name as the PNG image, but a ". To do this, you need to create a 'data file' for the brush.Ī brush's data file is simply a plain ASCII text file containing the options for the brush. Brush OptionsĪside from a graphical shape, brushes can also be given other attributes. Greyscale pixels in the brush PNG will be drawn using the currently-selected color in Tux Paint. The alpha (transparency) of the PNG image is used to determine the shape of the brush, which means that the shape can be 'anti-aliased' and even partially-transparent! The brushes used for drawing with the 'Brush' and 'Lines' tools in Tux Paint are simply PNG image files. (For example, if you created a brush named " flower.png", you would put it in " ~/.tuxpaint/brushes/" under Linux or Unix.) Brushes To add your own brushes, stamps, 'starters,' templates, and fonts, create subdirectories under your personal Tux Paint directory named " brushes", " stamps", " starters", " templates", " fonts", respectively. That is, if your home directory is " /home/tux", then your personal Tux Paint files go in " /home/tux/.tuxpaint/".ĭon't forget the period (". Your personal Tux Paint files go into a 'hidden directory' found in your account's home directory: " $(HOME)/.tuxpaint/" (also known as " ~/.tuxpaint/"). Your personal Tux Paint folder is stored in your personal "Application Support" folder: /Users/ (username)/Library/Application Support/TuxPaint/ Linux and Unix For example, on newer Windows:Ĭ:\Documents and Settings\ (username)\Application Data\TuxPaint\ macOS Your personal Tux Paint folder is stored in your personal "Application Data". You can also create brushes, stamps, 'starters', templates, and fonts in your own user account directory (folder) for Tux Paint to find. When you upgrade to a newer version of Tux Paint, the contents of this "TuxPaint" folder will stay the same, and remain accessible by all users of Tux Paint. Tux Paint also looks for files in a "TuxPaint" folder that you can place in your system's "Application Support" folder (found under "Library" at the root of your filesystem): /Library/Application Support/TuxPaint/ □ Note: If you install a newer version of Tux Paint and replace or discard the old version, you will lose changes made by following the instructions above, so keep backups of your new content (stamps, brushes, etc.). Adding new content to these folders will make the content available to any user that launches this copy (icon) of Tux Paint. There, you will find various sub-folders, such as "starters", "stamps", "brushes", etc. Open the "Contents" folder and open the "Resources" folder found inside. A new Finder window will appear with a folder inside called "Contents". Select "Show Contents" from the menu that appears. (If you have a mouse with more than one button, you can simply right-click the icon.) The following steps explain how to get to the folders within it:īring up a 'context' menu by holding the key and clicking the Tux Paint icon the in Finder. Tux Paint stores its data files inside the "Tux Paint" application icon (which is actually a special kind of folder on macOS & Mac OS X before it). This is the directory that the installer used when installing Tux Paint e.g.: C:\Program Files\TuxPaint\data macOS Tux Paint looks for a directory called ' data' in the same directory as the executable. If you installed from a package, it is more likely to be: /usr/share/tuxpaint/ Windows See 'Install documentation' for details.īy default, though, the directory is: /usr/local/share/tuxpaint/ Where this directory goes depends on what value was set for " DATA_PREFIX" when Tux Paint was built. Tux Paint looks for its various data files in its ' data' directory. □ Note: You'll need to re-launch Tux Paint for the changes to take effect. If you wish to add or change things like Brushes, Starters, Rubber Stamps, and other content used by Tux Paint, you can do so fairly easily by simply adding, changing, or removing files where Tux Paint looks for them. Copyright © 2002-2023 by various contributors see AUTHORS.txt.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |