Blame Artworks/Docs/Texinfo/Tcar-fs/en_US/Identity/brushes.texinfo

Alain Reguera Delgado 46de3c
@node Identity Brushes
Alain Reguera Delgado 46de3c
@section @file{Identity/Brushes}
Alain Reguera Delgado 46de3c
@cindex Identity brushes
Alain Reguera Delgado 46de3c
Alain Reguera Delgado 46de3c
The @file{Identity/Brushes} directory exists to organize GIMP
Alain Reguera Delgado 46de3c
brushes used inside @value{TCPCVI}. 
Alain Reguera Delgado 46de3c
Alain Reguera Delgado 46de3c
A brush is a pixmap or set of pixmaps used for painting through an
Alain Reguera Delgado 46de3c
image manipulation program like GIMP.  Inside the repository, brushes
Alain Reguera Delgado 46de3c
are initially created in @file{.xcf} format and later exported to any
Alain Reguera Delgado 46de3c
of the brush formats recognized by GIMP (e.g., @file{.gbr} or
Alain Reguera Delgado 46de3c
@file{.gih}) using the same name of its source file.
Alain Reguera Delgado 46de3c
Alain Reguera Delgado 46de3c
The @file{Identity/Brushes} directory is under version control.
Alain Reguera Delgado 46de3c
Alain Reguera Delgado 46de3c
The @file{Identity/Brushes} directory contains no file, but the
Alain Reguera Delgado 46de3c
following organizational directories:
Alain Reguera Delgado 46de3c
Alain Reguera Delgado 46de3c
@c -- <[centos-art(SeeAlso)
Alain Reguera Delgado 46de3c
@itemize
Alain Reguera Delgado 46de3c
@end itemize
Alain Reguera Delgado 46de3c
@c -- ]>
Alain Reguera Delgado 46de3c
Alain Reguera Delgado 46de3c
Content rendition inside @file{Identity/Brushes} directory is
Alain Reguera Delgado 46de3c
not supported. 
Alain Reguera Delgado 46de3c
Alain Reguera Delgado 46de3c
In order for brushes to be loaded by GIMP, they should be stored in
Alain Reguera Delgado 46de3c
the @file{~/.gimp-2.2/brushes} directory. This location is out of
Alain Reguera Delgado 46de3c
@value{TCAR} and doesn't provide version control by itself. To be able
Alain Reguera Delgado 46de3c
of using version controlled brushes inside GIMP, we store brush
Alain Reguera Delgado 46de3c
related files inside @file{Identity/Brushes} directory and
Alain Reguera Delgado 46de3c
create links to them from @file{~/.gimp-2.2/brushes} directory.
Alain Reguera Delgado 46de3c
Alain Reguera Delgado 46de3c
@float Example,identity-brushes-1
Alain Reguera Delgado 46de3c
@verbatim
Alain Reguera Delgado 46de3c
Identity/Brushes
Alain Reguera Delgado 46de3c
|-- Corporate
Alain Reguera Delgado 46de3c
|   |-- symbol.xcf
Alain Reguera Delgado 46de3c
|   `-- symbol.gbr (file) <-- ~/.gimp-2.2/brushes/corporate-symbol.gbr (link)
Alain Reguera Delgado 46de3c
|-- TreeFlower
Alain Reguera Delgado 46de3c
|   |-- flower.gbr (file) <-- ~/.gimp-2.2/brushes/treeflower-flower.gbr (link)
Alain Reguera Delgado 46de3c
|   |-- flower.xcf
Alain Reguera Delgado 46de3c
|   |-- branch.gbr (file) <-- ~/.gimp-2.2/brushes/treeflower-branch.gbr (link)
Alain Reguera Delgado 46de3c
|   |-- branch.xcf
Alain Reguera Delgado 46de3c
|   |-- trunk.gbr  (file) <-- ~/.gimp-2.2/brushes/treeflower-trunk.gbr  (link)
Alain Reguera Delgado 46de3c
|   `-- trunk.xcf
Alain Reguera Delgado 46de3c
`-- Others
Alain Reguera Delgado 46de3c
    `-- ...
Alain Reguera Delgado 46de3c
@end verbatim
Alain Reguera Delgado 46de3c
@caption{Relation between brushes inside the workstation.}
Alain Reguera Delgado 46de3c
@end float
Alain Reguera Delgado 46de3c
Alain Reguera Delgado 46de3c
The entire link preparation and maintenance of brushes inside the
Alain Reguera Delgado 46de3c
working copy is automated by @code{prepare} functionality of
Alain Reguera Delgado 46de3c
@command{centos-art.sh} script.
Alain Reguera Delgado 46de3c
Alain Reguera Delgado 46de3c
Inside the working copy, brushes might be created individually in
Alain Reguera Delgado 46de3c
different locations, but they all need to be linked from one unique
Alain Reguera Delgado 46de3c
location (i.e., @file{~/.gimp-2.2/brushes}).  This configuration may
Alain Reguera Delgado 46de3c
provoke brushes to overlap one another if a consistent name convention
Alain Reguera Delgado 46de3c
is not implemented correctly.  In that sake, the brushes file names
Alain Reguera Delgado 46de3c
are build using their directory and file names as reference in order
Alain Reguera Delgado 46de3c
to build unique names that can be used as identifiers.
Alain Reguera Delgado 46de3c
Alain Reguera Delgado 46de3c
Brushes produced with GIMP has a description field associated that is
Alain Reguera Delgado 46de3c
shown in the Brushes panel of GIMP.  This description is set when the
Alain Reguera Delgado 46de3c
brush is created as @file{.xcf} file and can be updated when it is
Alain Reguera Delgado 46de3c
exported either to @file{.gbr} or @file{.gih} format. It wouldn't be
Alain Reguera Delgado 46de3c
too useful to have two or more brushes using the same description so,
Alain Reguera Delgado 46de3c
we also make description of brush files unique, too. In that sake, use
Alain Reguera Delgado 46de3c
the file name as description but without including the file extension
Alain Reguera Delgado 46de3c
(e.g., if we have the @file{centos-flame-3.gbr} brush, its description
Alain Reguera Delgado 46de3c
would be @code{centos-flame-3}).
Alain Reguera Delgado 46de3c
Alain Reguera Delgado 46de3c
More information about GIMP brushes can be found in
Alain Reguera Delgado 46de3c
@url{file:///usr/share/gimp/2.0/help/en/index.html,The Gimp Manual},
Alain Reguera Delgado 46de3c
specifically in the section related to
Alain Reguera Delgado 46de3c
@url{file:///usr/share/gimp/2.0/help/en/gimp-concepts-brushes.html,
Alain Reguera Delgado 46de3c
Brushes}.