MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / fillrect

Method fillrect

2dlib/pen.cpp:163–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163void grViewport::fillrect(ddgr_color color, int l, int t, int r, int b) {
164 ASSERT(vp_Locked);
165
166 l = global_x(l);
167 t = global_y(t);
168 r = global_x(r);
169 b = global_y(b);
170
171 rend_FillRect(color, l, t, r, b);
172}
173
174void grViewport::circle(ddgr_color col, int xc, int yc, int r) {
175 ASSERT(vp_Locked);

Callers

nothing calls this directly

Calls 1

rend_FillRectFunction · 0.50

Tested by

no test coverage detected