MCPcopy Create free account
hub / github.com/audacity/audacity / SetRadius

Method SetRadius

libraries/lib-wx-wrappers/RoundedStaticBitmap.cpp:122–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void RoundedStaticBitmap::SetRadius(int radius)
123{
124 if (mRadius == radius)
125 return;
126
127 mRadius = radius;
128 auto roundedImage = RoundedImage(mImage, mRadius);
129 wxStaticBitmap::SetBitmap(wxBitmap(roundedImage));
130}
131
132int RoundedStaticBitmap::GetRadius() const
133{

Callers

nothing calls this directly

Calls 2

RoundedImageFunction · 0.85
wxBitmapClass · 0.50

Tested by

no test coverage detected