MCPcopy Create free account
hub / github.com/dejwk/roo_display / drawInteriorTo

Method drawInteriorTo

src/roo_display/shape/basic.cpp:315–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315void RoundRect::drawInteriorTo(const Surface &s) const {
316 Box extents(x0_ + s.dx(), y0_ + s.dy(), x1_ + s.dx(), y1_ + s.dy());
317 drawRoundRect(s.out(), extents, radius_, s.clip_box(),
318 AlphaBlend(s.bgcolor(), this->color()), s.blending_mode());
319}
320
321void Circle::drawInteriorTo(const Surface &s) const {
322 Box extents(x0_ + s.dx(), y0_ + s.dy(), x0_ + diameter_ - 1 + s.dx(),

Callers

nothing calls this directly

Calls 13

drawRoundRectFunction · 0.85
AlphaBlendFunction · 0.85
LineClass · 0.85
fillTriangleFunction · 0.85
clip_boxMethod · 0.80
bgcolorMethod · 0.80
dxMethod · 0.45
dyMethod · 0.45
colorMethod · 0.45
blending_modeMethod · 0.45
drawObjectMethod · 0.45
translateMethod · 0.45

Tested by

no test coverage detected