From WikiChip
Editing mirc/commands/drawsize

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
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).
+
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.
  
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
+
== Practically speaking? ==
 +
 
 +
This command was added after a bug report was [http://forums.mirc.com/ubbthreads.php/ubb/showflat/Number/260318/ made], revealing /drawrect is not drawing beyond the size of the window (it does not extend the bitmap to prevent too much memory usage with some failed parameter passed for coordinates).
 +
 
 +
/window can be used to set the size of the bitmap (-f) however /window also resize the window accordingly.
  
 
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.

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)