dplug ~master (2024-09-30T22:25:31Z)
Home
Dub
Repo
hline
dplug
graphics
draw
Undocumented in source. Be warned that the author may not have intended to support it.
void
hline
(V v, int x1, int x2, int y, COLOR c)
void
hline
(V v, int x1, int x2, int y, COLOR color, frac alpha)
nothrow @
nogc
void
hline
(
bool
CHECKED
= true
V
COLOR
frac
)
(
auto
ref
V
v
,
int
x1
,
int
x2
,
int
y
,
COLOR
color
,
frac
alpha
)
if
(
isWritableView
!
V
&&
is
(
COLOR
:
ViewColor
!
V
)
)
Meta
Source
See Implementation
dplug
graphics
draw
functions
aaFillRect
aaFillRectFloat
aaFillSector
aaPutPixelFloat
aaSoftCircle
aaSoftDisc
aaSoftEllipse
blendWithAlpha
fillAll
fillCircle
fillRect
fillRectFloat
fillSector
hline
horizontalSlope
pixelPtr
putPixel
rect
safeGet
safePut
softCircle
softRing
uncheckedFloodFill
verticalSlope
vline
manifest constants
CheckHLine
CheckVLine
mixin templates
FixMath
templates
aaPutPixel