Menu Image PixLine
Synopsis
menu Image PixLine {name} {x} {y} {data}
Description
The menu Image PixLine command prints a horizontal line of pixels starting at position x/y within the specified image. "data" is encoded as follows:
Each pixel has an RGB value that is defined by three consecutive characters in the data string. Valid characters are A-Z, 1-6 and 9. These characters specify the intensity of each color (RGB) whereas A=0, B=8, C=16 ... Z=200, 1=208 ... 6=248 and 9=transparent.
Examples: AAA = black, 666 = white (equals $F8F8F8), 6AA = red (equals $0000F8) AAAPPP666999AAP = black,gray,white,transparent,navy (=5 pixels).
You can create interesting effects by using partial transparency like in 9A9 which only removes the green intensity from the overpainted pixel. Transparency only works for the specified image, i.e. other images below or above do not have any influence.
Note: |
|
See also
Main Page | Documentation |