atelier ~master (2021-08-24T13:35:22Z)
Dub
Repo
drawLine
atelier
render
window
Draw a line between the two positions.
void
drawLine
(
const
Vec2f
startPosition
,
const
Vec2f
endPosition
,
const
Color
color
,
float
alpha
= 1f
)
Meta
Source
See Implementation
atelier
render
window
enums
DisplayMode
functions
createWindow
destroyWindow
drawArrow
drawCross
drawFilledRect
drawLine
drawPixel
drawPoint
drawRect
enableAudio
getWindowCenter
getWindowDimensions
getWindowDisplay
getWindowHeight
getWindowSize
getWindowWidth
isVisible
popCanvas
pushCanvas
renderWindow
resizeWindow
setRenderColor
setWindowBordered
setWindowClearColor
setWindowCursor
setWindowDisplay
setWindowIcon
setWindowMaxSize
setWindowMinSize
setWindowResizable
setWindowSize
setWindowTitle
showWindow
showWindowCursor
transformCanvasSpace
transformRenderSpace
transformScale
static variables
_sdlRenderer
_sdlWindow
_windowClearColor
Draw a line between the two positions.