ScissorSize
From MCS Wiki AVR
(Difference between revisions)
Admin (Talk | contribs)
(Created page with "= <span class="f_Header">Action</span> = Specify the size of the scissor clip rectangle. <span style="font-family: Arial;"> </span> <span style="font-family: A...")
(Created page with "= <span class="f_Header">Action</span> = Specify the size of the scissor clip rectangle. <span style="font-family: Arial;"> </span> <span style="font-family: A...")
Latest revision as of 22:54, 12 December 2014
Contents |
Action
Specify the size of the scissor clip rectangle.
Syntax
ScissorSize width, height
Remarks
width |
The width of the scissor clip rectangle, in pixels. The initial value is 512. The valid value range is from 0 to 512. |
height |
The height of the scissor clip rectangle, in pixels. The initial value is 512. The valid value range is from 0 to 512 |
Sets the width and height of the scissor clip rectangle, which limits the drawing area.
See Also
Example
' Pseudocode ' Setting a 40 x 30 scissor rectangle clips the clear and bitmap drawing ScissorXY 40, 30 ScissorSize 80, 60 ClearColorRGB 0, 0, 255 Clear_B 1, 1, 1 Begin_G BITMAPS Vertex2II 35, 20, 31, &H47
Languages | English |
---|