MCPcopy Create free account
hub / github.com/ddnet/ddnet / DrawRect

Method DrawRect

src/engine/client/graphics_threaded.cpp:1314–1321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1312}
1313
1314void CGraphics_Threaded::DrawRect(float x, float y, float w, float h, ColorRGBA Color, int Corners, float Rounding)
1315{
1316 TextureClear();
1317 QuadsBegin();
1318 SetColor(Color);
1319 DrawRectExt(x, y, w, h, Rounding, Corners);
1320 QuadsEnd();
1321}
1322
1323void CGraphics_Threaded::DrawRect4(float x, float y, float w, float h, ColorRGBA ColorTopLeft, ColorRGBA ColorTopRight, ColorRGBA ColorBottomLeft, ColorRGBA ColorBottomRight, int Corners, float Rounding)
1324{

Callers 8

DrawMethod · 0.80
RenderSpectatorCountMethod · 0.80
RenderDummyActionsMethod · 0.80
RenderSpectatorHudMethod · 0.80
RenderLocalTimeMethod · 0.80
RenderGlobalStatsMethod · 0.80
OnRenderMethod · 0.80

Calls

no outgoing calls

Tested by 1

OnRenderMethod · 0.64