pdf:transformationexamples
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
pdf:transformationexamples [2015/04/02 18:11] – [flip horizontally] christian | pdf:transformationexamples [2015/04/02 18:12] (current) – [flip vertically] christian | ||
---|---|---|---|
Line 27: | Line 27: | ||
===== flip vertically ===== | ===== flip vertically ===== | ||
- | **x -> x , y -> -y** | + | <code smalltalk> |
+ | "x -> x , y -> -y | ||
In this example the matrix is coded manually. | In this example the matrix is coded manually. | ||
- | It can also be coded as <code smalltalk> | + | It can also be coded as Matrix scale: 4 @ -4 to get '[4 0 0 -4 0 0]' |
- | and <code smalltalk> | + | and (Matrix scale: 4 @ -4) translate: 50 @ 50 to get '[4 0 0 -4 50 50]'" |
- | <code smalltalk> | ||
page := Graphics.PDF.Page | page := Graphics.PDF.Page | ||
newInBounds: | newInBounds: |
/var/www/virtual/code4hl/html/dokuwiki/data/pages/pdf/transformationexamples.txt · Last modified: 2015/04/02 18:12 by christian