| 1 |
-------------------------------------+------------------------------------- |
| 2 |
ENGLISH | POLSKI |
| 3 |
-------------------------------------+------------------------------------- |
| 4 |
The file HATCHING.MP contains a set | Plik HATCHING.MP zawiera zestaw makr |
| 5 |
of METAPOST macros for hatching | METAPOST-owych do zakreskowywania |
| 6 |
interior of closed paths. | wn/etrza zamkni/etych /scie/zek. |
| 7 |
|
| 8 |
made in BOP s.c. |
| 9 |
e-mail: [email protected] |
| 10 |
public domain software |
| 11 |
(no copyrights, copylefts, copyups, copydowns, or whatsoever) |
| 12 |
|
| 13 |
21.09.2000 -- ver 0.11 (pre-release) |
| 14 |
|
| 15 |
The basic macro, hatchfill, works | Podstawowym makrem pakietu jest makro |
| 16 |
very much like the standard fill | hatchfill, dzia/laj/ace bardzo |
| 17 |
command. The general form of the | podobnie do makra fill. Og/olna |
| 18 |
hatchfill command call is as | posta/c u/zycia polecenia hatchfill |
| 19 |
follows: | wygl/ada nast/epuj/aco: |
| 20 |
|
| 21 |
hatchfill path_expression withcolor c1 withcolor c2 ... |
| 22 |
|
| 23 |
The trick is that for hatching | Trick polega u/zyciu specjalnych |
| 24 |
special ``colors'' are used, namely, | ,,kolor/ow'' -- je/sli mianowicie |
| 25 |
if bluepart(c)<0, the colour c is | bluepart(c)<0, to sk/ladowe koloru c |
| 26 |
interpreted as hatching data: | s/a traktowane jako informacja |
| 27 |
| o zakreskowaniu: |
| 28 |
|
| 29 |
hatching angle redpart(c) k/at nachylenia |
| 30 |
distance between lines greenpart(c) odleg/lo/s/c mi/edzy kreskami |
| 31 |
thickness of lines -bluepart(c) grubo/s/c kresek |
| 32 |
|
| 33 |
Dashing and colouring of the hatch | Za pomoc/a makra hatchoptions mo/zna |
| 34 |
pattern can be accomplished by | zdefiniowa/c kolor kresek a tak/ze |
| 35 |
using hatchoptions command (cf. | wz/or w przypadku linii przerywanych |
| 36 |
drawoptions in plain.mp). Actually, | (por. makro drawoptions, plain.mp). |
| 37 |
an arbitrary pattern can be used | W istocie dowolny obiekt mo/ze zosta/c |
| 38 |
instead of straight lines: it | u/zyty do wype/lnienia /scie/zki: w tym |
| 39 |
suffices to redefine the macro | celu nale/zy zdefiniowa/c w odpowiedni |
| 40 |
draw_hatched_band (cf. htchuse.mp, | spos/ob makro draw_hatched_band (por. |
| 41 |
figure 103), although one should be | htchuse.mp, ilustracja 103), jednak/ze |
| 42 |
aware that METAPOST memory can be | nale/zy pami/eta/c, /ze w ten spos/ob |
| 43 |
easily overloaded and that the | mo/zna /latwo wyczerpa/c zasoby |
| 44 |
resulting EPS files are usually | pami/eciowe METAPOST-a i /ze na og/o/l |
| 45 |
annoyingly large. | otrzymuje si/e pliki irytuj/aco du/ze. |
| 46 |
| |
| 47 |
The examples of usage can be found | Przyk/lady u/zycia mo/zna znale/x/c |
| 48 |
in htchuse.mp; for convenience, | w pliku htchuse.mp; dla wygody |
| 49 |
a trivial TeX file for typesetting | do/l/aczony zosta/l trywialny pliczek |
| 50 |
the figures, htchuse_.tex, is | TeX-owy (htchuse_.tex), sk/ladaj/acy |
| 51 |
included. | jedn/a stron/e z tymi przyk/ladami. |
| 52 |
|