Files
palladium/source/ultra/elems/rect.cpp
T

12 lines
353 B
C++
Raw Normal View History

2026-03-26 21:02:10 +01:00
#include <pd/ultra/elems/rect.hpp>
namespace PD {
namespace Ultra {
PD_API void Rect::Draw(PD::Li::Drawlist& l) {
2026-03-28 13:52:36 +01:00
l.PathRect(pRenderspace.TopLeft(), pRenderspace.BotRight(), pRounding);
2026-03-26 21:02:10 +01:00
l.PathFill(pColor);
2026-03-28 13:52:36 +01:00
l.DrawText(pRenderspace.BotRight(), std::to_string(pCanvasRev).c_str(),
0xff0000ff);
2026-03-26 21:02:10 +01:00
}
} // namespace Ultra
} // namespace PD