Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OneLoneCoder/olcPixelGameEngine
/ DrawRect
Method
DrawRect
extensions/olcPGEX_TransformedView.h:444–447 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
442
}
443
444
void TransformedView::DrawRect(float x, float y, float w, float h, olc::Pixel p)
445
{
446
DrawRect({ x, y }, { w, h }, p);
447
}
448
449
void TransformedView::DrawRect(const olc::vf2d & pos, const olc::vf2d & size, olc::Pixel p)
450
{
Callers
1
Draw
Method · 0.45
Calls
1
floor
Method · 0.45
Tested by
no test coverage detected