MCPcopy Create free account
hub / github.com/SolarLune/masterplan / FillRect

Function FillRect

utils.go:750–754  ·  view source on GitHub ↗
(x, y, w, h float32, color Color)

Source from the content-addressed store, hash-verified

748}
749
750func FillRect(x, y, w, h float32, color Color) {
751 globals.Renderer.SetDrawColor(color.RGBA())
752 globals.Renderer.SetDrawBlendMode(sdl.BLENDMODE_BLEND)
753 globals.Renderer.RenderFillRect(&sdl.FRect{x, y, w, h})
754}
755
756func ThickRect(x, y, w, h, thickness int32, color Color) {
757

Callers 4

DrawMethod · 0.85
DrawMethod · 0.85
DrawOnTopMethod · 0.85
mainFunction · 0.85

Calls 1

RGBAMethod · 0.80

Tested by

no test coverage detected