MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / paintRounded

Method paintRounded

Telegram/SourceFiles/ui/empty_userpic.cpp:347–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347void EmptyUserpic::paintRounded(
348 QPainter &p,
349 int x,
350 int y,
351 int outerWidth,
352 int size,
353 int radius) const {
354 paint(p, x, y, outerWidth, size, [&] {
355 p.drawRoundedRect(x, y, size, size, radius, radius);
356 });
357}
358
359void EmptyUserpic::paintSquare(
360 QPainter &p,

Callers 3

GenerateUserpicImageMethod · 0.80
ValidateUserpicCacheFunction · 0.80
prepareUserpicPixmapMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected