2026-03-28 13:52:36 +01:00
|
|
|
#include <pd/ultra/elems/image.hpp>
|
|
|
|
|
|
|
|
|
|
namespace PD {
|
|
|
|
|
namespace Ultra {
|
|
|
|
|
PD_API void Image::Draw(PD::Li::Drawlist& l) {
|
2026-04-02 23:29:53 +02:00
|
|
|
l.BindTexture(*pTex);
|
|
|
|
|
l.PathRect(pRenderspace.TopLeft(), pRenderspace.BotRight(), pRounding);
|
|
|
|
|
l.PathFill(pColor);
|
2026-03-28 13:52:36 +01:00
|
|
|
}
|
|
|
|
|
} // namespace Ultra
|
|
|
|
|
} // namespace PD
|