ae v0.0.3186 (2022-07-03T09:06:15Z)
Home
Dub
Repo
hline
ae
utils
graphics
draw
Draw a horizontal line
void
hline
(V v, xy_t x1, xy_t x2, xy_t y, COLOR c)
void
hline
(V v, xy_t x1, xy_t x2, xy_t y, COLOR color, frac alpha)
void
hline
(
bool
CHECKED
= true
V
COLOR
frac
)
(
auto
ref
V
v
,
xy_t
x1
,
xy_t
x2
,
xy_t
y
,
COLOR
color
,
frac
alpha
)
if
(
isWritableView
!
V
&&
is
(
COLOR
:
ViewColor
!
V
)
)
Meta
Source
See Implementation
ae
utils
graphics
draw
aliases
clear
functions
aaFillRect
aaLine
draw
fill
fillCircle
fillPoly
fillRect
fillSector
hline
line
pixelPtr
putPixel
rect
safeGet
safePut
softCircle
softRing
subpixelDownscale
thickLine
thickLinePoly
uncheckedFloodFill
vline
whiteNoise
structs
Coord
templates
aaPutPixel
Draw a horizontal line