Paint: brush, texturing...
Define the brush to use for paint* functions
| Parameters : |
|
|---|
Define the size of current brush
| Parameters : |
|
|---|
Same as glBindTexture, except he can take integer/long or Texture/TextureRegion
Return the openid of texture
Return the target of texture. If none, return GL_TEXTURE_2D
Paint a line with current brush
set_brush("mybrush.png", 10)
paintLine((0, 0, 20, 50))
paintLine((1, 2, 1, 5, 4, 6, 8, 7))