Especially - API Documentation


int ES_drawbox

( float origin_x, float origin_y, float size_x,
  float size_y, float width, bool filled,
  bool specialfunc, float color_red,
  float color_green, float color_blue )

A global function.

Documentation

A global function. Draws an empty or filled box.

Parameters:
origin_x - [float] x-position of the lower left corner of the box
origin_y - [float] y-position of the lower left corner of the box
size_x - [float] width
size_y - [float] height
width - [float] size of the stroke
filled - [bool] filled or empty
specialfunc - [bool] activates rotating and zooming for this object only
color_red - [float] color, value from 0-255
color_green - [float] color, value from 0-255
color_blue - [float] color, value from 0-255
Returns:
true or false
See Also:
ES_drawtriangle, ES_drawellipse, ES_drawmass

Alphabetic index



This page was generated with the help of DOC++.