Description of MUSHclient world function: world.WindowTransformImage
Name | WindowTransformImage |
---|---|
Type | Method |
Summary | Draws an image into a miniwindow with optional rotation, scaling, reflection and shearing |
Prototype | long WindowTransformImage(BSTR WindowName, BSTR ImageId, float Left, float Top, short Mode, float Mxx, float Mxy, float Myx, float Myy);
|
Description | This copies an image to the miniwindow. You specify effectively a "matrix" which is applied to each pixel position, so that the image can be rotated, scaled, reflected, sheared and translated. Note: Available in version 4.59 onwards. |
Lua example |
|
Lua notes |
|
Returns | eNoSuchWindow - no such miniwindow
|
Introduced in version | 4.59 |
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 |
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.