MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / drawRoundedRect

Method drawRoundedRect

lib/GfxRenderer/GfxRenderer.cpp:606–609  ·  view source on GitHub ↗

Border is inside the rectangle, rounded corners

Source from the content-addressed store, hash-verified

604
605// Border is inside the rectangle, rounded corners
606void GfxRenderer::drawRoundedRect(const int x, const int y, const int width, const int height, const int lineWidth,
607 const int cornerRadius, bool state) const {
608 drawRoundedRect(x, y, width, height, lineWidth, cornerRadius, true, true, true, true, state);
609}
610
611// Border is inside the rectangle, rounded corners
612void GfxRenderer::drawRoundedRect(const int x, const int y, const int width, const int height, const int lineWidth,

Callers 6

drawKeyboardKeyMethod · 0.80
drawRecentBookCoverMethod · 0.80
drawKeyboardKeyMethod · 0.80
drawButtonHintsMethod · 0.80
drawButtonHintsMethod · 0.80
drawSideButtonHintsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected