Difference between revisions of "Menu Image PixLine"

From Wiki
Jump to: navigation, search
 
(See Also)
Line 21: Line 21:
 
==== See Also ====
 
==== See Also ====
 
{|
 
{|
| [[menu_Activate|menu Activate]], [[menu_Button|menu Button]], [[menu_Check|menu Check]], [[menu_Clear|menu Clear]], [[menu_Combo|menu Combo]], [[menu_Delete|menu Delete]], [[menu_Edit|menu Edit]], [[menu_Font_Align|menu Font Align]], [[menu_Font_BGColor|menu Font BGColor]], [[menu_Font_Color|menu Font Color]], [[menu_Font_Name|menu Font Name]], [[menu_Font_Size|menu Font Size]], [[menu_Font_Style|menu Font Style]], [[menu_Font_Transparent|menu Font Transparent]], [[menu_Get|menu Get]], [[menu_GetNum|menu GetNum]], [[menu_Hide|menu Hide]], [[menu_HideEUO|menu HideEUO]], [[menu_List|menu List]], [[menu_Set|menu Set]], [[menu_Shape|menu Shape]], [[menu_Show|menu Show]], [[menu_Text|menu Text]], [[menu_Window_Color|menu Window Color]], [[menu_Window_Size|menu Window Size]], [[menu_Window_Title|menu Window Title]]
+
| [[menu_Activate|menu Activate]], [[menu_Button|menu Button]], [[menu_Check|menu Check]], [[menu_Clear|menu Clear]], [[menu_Combo|menu Combo]], [[menu_Delete|menu Delete]], [[menu_Edit|menu Edit]], [[menu_Font_Align|menu Font Align]], [[menu_Font_BGColor|menu Font BGColor]], [[menu_Font_Color|menu Font Color]], [[menu_Font_Name|menu Font Name]], [[menu_Font_Size|menu Font Size]], [[menu_Font_Style|menu Font Style]], [[menu_Font_Transparent|menu Font Transparent]], [[menu_Get|menu Get]], [[menu_GetNum|menu GetNum]], [[menu_Hide|menu Hide]], [[menu_HideEUO|menu HideEUO]], [[menu Image Create| menu Image Create]], [[menu Image Ellipse|menu Image Ellipse]], [[menu Image File|menu Image File]], [[menu Image FloodFill|menu Image FloodFill]], [[menu Image Line|menu Image Line]], [[menu Image Pix|menu Image Pix]], [[menu Image Pos|menu Image Pos]], [[menu Image Rectangle|menu Image Rectangle]], [[menu_List|menu List]], [[menu_Set|menu Set]], [[menu_Shape|menu Shape]], [[menu_Show|menu Show]], [[menu_Text|menu Text]], [[menu_Window_Color|menu Window Color]], [[menu_Window_Size|menu Window Size]], [[menu_Window_Title|menu Window Title]]
 
|}
 
|}
 
----
 
----

Revision as of 03:58, 23 August 2005

menu Image PixLine

Menu

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: This command is only available from EUO 1.5.

Do not overuse this feature. Small images (also called Sprites) are okay, but we don't want 200KB scripts just because you like to have a nice background. Use external JPG or GIF images instead. Very advanced scripters may also consider creating their own image compression format and converting it into a data string at the initial script run. Resulting strings can be stored in persistent variables for future access.


See Also

menu Activate, menu Button, menu Check, menu Clear, menu Combo, menu Delete, menu Edit, menu Font Align, menu Font BGColor, menu Font Color, menu Font Name, menu Font Size, menu Font Style, menu Font Transparent, menu Get, menu GetNum, menu Hide, menu HideEUO, menu Image Create, menu Image Ellipse, menu Image File, menu Image FloodFill, menu Image Line, menu Image Pix, menu Image Pos, menu Image Rectangle, menu List, menu Set, menu Shape, menu Show, menu Text, menu Window Color, menu Window Size, menu Window Title

Main_Page Documentation

Menu