dplug ~master (2024-09-30T22:25:31Z)
Home
Dub
Repo
horizontalSlope
dplug
graphics
draw
Fill rectangle while interpolating a
COLOR
(can be depth) horiontally.
nothrow @
nogc
void
horizontalSlope
(
float
curvature
= 1.0f
V
COLOR
)
(
auto
ref
V
v
,
box2i
rect
,
COLOR
c0
,
COLOR
c1
)
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
Fill rectangle while interpolating a COLOR (can be depth) horiontally.