rip ~master (2018-03-17T20:58:35Z)
Dub
Repo
drawTriangle
rip
draw
primitives
Undocumented in source. Be warned that the author may not have intended to support it.
auto
drawTriangle
(
P
Q
R
S
T
U
)
(
Surface
surface
,
RGBColor
color
,
P
x1
,
Q
y1
,
R
x2
,
S
y2
,
T
x3
,
U
y3
)
if
(
allArithmetic
!(
P
,
Q
,
R
,
S
,
T
,
U
)
)
Meta
Source
See Implementation
rip
draw
primitives
functions
drawBresenhamLine
drawCircle
drawConicSection
drawDDALine
drawFilledCircle
drawFilledRectangle
drawFilledTriangle
drawPoint
drawRectangle
drawTriangle