Especially - API Documentation


int ES_drawtriangle

( float point1_x, float point1_y,
  float point2_x, float point2_y,
  float point3_x, float point3_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 triangle.

Parameters:
point1_x - [float] x-position of the first point
point1_y - [float] y-position of the first point
point2_x - [float] x-position of the secont point
point2_y - [float] y-position of the secont point
point3_x - [float] x-position of the third point
point3_y - [float] y-position of the third point
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_drawbox, ES_drawellipse, ES_drawmass

Alphabetic index



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