Idris2Doc : IdrisGL.SDL.SDL_gfx

IdrisGL.SDL.SDL_gfx

(source)

Definitions

pixel : HasIOio=>Renderer->Coordinate->Color->io ()
  Draw a pixel.

Visibility: export
thickLine : HasIOio=>Renderer->Coordinate->Coordinate->Color->Int->io ()
  Draw a line with given thickness.
@ width Thickness.

Visibility: export
aaline : HasIOio=>Renderer->Coordinate->Coordinate->Color->io ()
  Draw an anti-aliased line.

Visibility: export
rectangle : HasIOio=>Renderer->Rect->Color->io ()
  Draw a rectangle.

Visibility: export
roundedRect : HasIOio=>Renderer->Rect->Color->Int->io ()
  Draw a rounded-corner rectangle.
@ rad The radius of the corner arc.

Visibility: export
filledRect : HasIOio=>Renderer->Rect->Color->io ()
  Draw a rectangle filled with the given color.

Visibility: export
roundedFilledRect : HasIOio=>Renderer->Rect->Color->Int->io ()
  Draw a rounded-corner rectangle filled with the given color.
@ rad The radius of the corner arc.

Visibility: export
circle : HasIOio=>Renderer->Coordinate->Color->Int->io ()
  Draw a circle.
@ rad Radius in pixels of the circle.

Visibility: export
aaCircle : HasIOio=>Renderer->Coordinate->Color->Int->io ()
  Draw an anti-aliased circle.
@ rad Radius in pixels of the circle.

Visibility: export
filledCircle : HasIOio=>Renderer->Coordinate->Color->Int->io ()
  Draw a circle filled with given color.
@ rad Radius in pixels of the circle.

Visibility: export
thickCircle : HasIOio=>Renderer->Coordinate->Color->Int->Int->io ()
  Draw a circle with the given radius and thickness.
@ rad Radius in pixels of the circle.
@ width Thickness.

Visibility: export
arc : HasIOio=>Renderer->Coordinate->Color->Int->Int->Int->io ()
  Draw a circular arc drawn counter-clockwise between two angles (in degrees).
@ rad Radius in pixels of the circle.
@ start The angle of start point.
@ end The angle of end point.

Visibility: export
ellipse : HasIOio=>Renderer->Coordinate->Int->Int->Color->io ()
  Draw an ellipse.
@ rx Horizontal radius in pixels of the ellipse.
@ ry Vertical radius in pixels of the ellipse.

Visibility: export
filledEllipse : HasIOio=>Renderer->Coordinate->Int->Int->Color->io ()
  Draw an ellipse filled with given color.
@ rx Horizontal radius in pixels of the ellipse.
@ ry Vertical radius in pixels of the ellipse.

Visibility: export
aaellipse : HasIOio=>Renderer->Coordinate->Int->Int->Color->io ()
  Draw an anti-aliased ellipse.
@ rx Horizontal radius in pixels of the ellipse.
@ ry Vertical radius in pixels of the ellipse.

Visibility: export
pie : HasIOio=>Renderer->Coordinate->Color->Int->Int->Int->io ()
  Draw a pie.
@ rad Radius in pixels of the circle.
@ start The angle of start point.
@ end The angle of end point.

Visibility: export
filledPie : HasIOio=>Renderer->Coordinate->Color->Int->Int->Int->io ()
  Draw a filled pie.
@ rad Radius in pixels of the circle.
@ start The angle of start point.
@ end The angle of end point.

Visibility: export
trigon : HasIOio=>Renderer->Coordinate->Coordinate->Coordinate->Color->io ()
  Draw a trigon.

Visibility: export
filledTrigon : HasIOio=>Renderer->Coordinate->Coordinate->Coordinate->Color->io ()
  Draw a trigon filled with given color.

Visibility: export
aatrigon : HasIOio=>Renderer->Coordinate->Coordinate->Coordinate->Color->io ()
  Draw an anti-aliased trigon.

Visibility: export