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

Method paintUserpic

Telegram/SourceFiles/data/data_folder.cpp:236–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236void Folder::paintUserpic(
237 Painter &p,
238 Ui::PeerUserpicView &view,
239 const Dialogs::Ui::PaintContext &context) const {
240 paintUserpic(
241 p,
242 context.st->padding.left(),
243 context.st->padding.top(),
244 context.st->photoSize);
245}
246
247void Folder::paintUserpic(Painter &p, int x, int y, int size) const {
248 paintUserpic(p, x, y, size, nullptr, nullptr);

Callers

nothing calls this directly

Calls 6

scaleMethod · 0.80
topMethod · 0.45
setBrushMethod · 0.45
saveMethod · 0.45
translateMethod · 0.45
restoreMethod · 0.45

Tested by

no test coverage detected