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

Method drawRect

lib/GfxRenderer/GfxRenderer.cpp:545–550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543}
544
545void GfxRenderer::drawRect(const int x, const int y, const int width, const int height, const bool state) const {
546 drawLine(x, y, x + width - 1, y, state);
547 drawLine(x + width - 1, y, x + width - 1, y + height - 1, state);
548 drawLine(x + width - 1, y + height - 1, x, y + height - 1, state);
549 drawLine(x, y, x, y + height - 1, state);
550}
551
552// Border is inside the rectangle
553void GfxRenderer::drawRect(const int x, const int y, const int width, const int height, const int lineWidth,

Callers 14

drawProgressBarMethod · 0.80
drawButtonHintsMethod · 0.80
drawSideButtonHintsMethod · 0.80
drawRecentBookCoverMethod · 0.80
drawButtonMenuMethod · 0.80
fillPopupProgressMethod · 0.80
drawKeyboardKeyMethod · 0.80
drawRecentBookCoverMethod · 0.80
drawRecentBookCoverMethod · 0.80
renderWifiIndicatorMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected