ScissorXY

From MCS Wiki AVR
Jump to: navigation, search

Contents

Action

Specify the size of the scissor clip rectangle.

 

 

 

Syntax

ScissorXY x, y

 

 

Remarks

x

The x coordinate of the scissor clip rectangle, in pixels. The initial value is 0

y

The y coordinate of the scissor clip rectangle, in pixels. The initial value is 0

 

Sets the top-left position of the scissor clip rectangle, which limits the drawing area.

 

 

See Also

SCISSORSIZE

 

 

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
clip0084.png

Languages   English  
Personal tools
Namespaces
Variants
Actions
Navigation
Language