Line 12: | Line 12: | ||
* '''<h>''' - new height | * '''<h>''' - new height | ||
− | + | /window cannot be used to set the size of the bitmap (-f doesn't guarantee anything even for window area). | |
+ | While /window or two /window can be used to set the bitmap correctly, /drawsize is better and more consistent. | ||
− | + | Note: a bitmap cannot be sized to less than the largest point that has been drawn on it (which can be reset with /clear). Once a size has been set, changing the window size will not resize it to less than the set size. can be cleared with /clear | |
− | |||
− | |||
− | |||
− | |||
With /drawsize, you can extend the bitmap to make sure your draws are correctly made beyond the size of the window without having the size of the window (what's visible) to be the same (more or less, borders and visual effect put aside) as the size of the bitmap. | With /drawsize, you can extend the bitmap to make sure your draws are correctly made beyond the size of the window without having the size of the window (what's visible) to be the same (more or less, borders and visual effect put aside) as the size of the bitmap. |
Revision as of 17:18, 2 May 2023
The /drawsize command extend the bitmap size of a picture window.
Synopsis
/drawsize <@win> <w> <h>
Switches
None
Parameters
- <w> - new width
- <h> - new height
/window cannot be used to set the size of the bitmap (-f doesn't guarantee anything even for window area).
While /window or two /window can be used to set the bitmap correctly, /drawsize is better and more consistent.
Note: a bitmap cannot be sized to less than the largest point that has been drawn on it (which can be reset with /clear). Once a size has been set, changing the window size will not resize it to less than the set size. can be cleared with /clear
With /drawsize, you can extend the bitmap to make sure your draws are correctly made beyond the size of the window without having the size of the window (what's visible) to be the same (more or less, borders and visual effect put aside) as the size of the bitmap.
Compatibility
Added: mIRC v7.48
Added on: 15 Apr 2017
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also
- List of commands
- List of identifiers
- $window
- $click
- $mouse
- $inellipse
- $inrect
- $inroundrect
- $inpoly
- $onpoly
- $rgb
- $getdot
- $height
- /drawcopy
- /drawfill
- /drawline
- /drawpic
- /drawrect
- /drawreplace
- /drawsave
- /drawscroll
- /drawtext