Description of MUSHclient world function: world.WindowDrawImage
Name | WindowDrawImage |
---|---|
Type | Method |
Summary | Draws an image into a miniwindow |
Prototype | long WindowDrawImage(BSTR WindowName, BSTR ImageId, long Left, long Top, long Right, long Bottom, short Mode, long SrcLeft, long SrcTop, long SrcRight, long SrcBottom);
|
Description | This copies an image to the miniwindow. Note: Available in version 4.34 onwards. |
Lua example |
|
Lua notes |
|
Returns | eNoSuchWindow - no such miniwindow
|
Introduced in version | 4.34 |
See also ...
Function | Description |
---|---|
WindowCreate | Creates a miniwindow |
WindowCreateImage | Creates an image in a miniwindow |
WindowDrawImage | Draws an image into a miniwindow |
WindowDrawImageAlpha | Draws an image into a miniwindow respecting the alpha channel |
WindowImageInfo | Returns information about an image |
WindowImageList | Lists all images installed into a miniwindow |
WindowImageOp | Draws an ellipse, rectangle or round rectangle, filled with an image |
WindowTransformImage | Draws an image into a miniwindow with optional rotation, scaling, reflection and shearing |
Enter a word or phrase in the box below to narrow the list down to those that match.
The function name, prototype, summary, and description are searched.
Leave blank to show all functions.
Many functions return a "code" which indicates the success or otherwise of the function.
You can view a list of the return codes
The "prototype" part of each function description lists exactly how the function is called (what arguments, if any, to pass to it).
You can view a list of the data types used in function prototypes
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.