Monkey
Store
Community
Apps
Contact
Login or Signup

Diddy GUI - Use Draw() Commands?

Monkey Programming Forums/Monkey Programming/Diddy GUI - Use Draw() Commands?

Samah(Posted 1+ years ago) 
Class MyComponent Extends Component
  Method DrawComponent:Void()
    ' draw stuff here
  End
End

Drawing commands have already been translated and scaled for you so that 0,0 is the top left corner of the component. Also, the scissor has been set so that it will not draw outside of the component.

Enjoy. ;)