mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
*Draw, CtrlLib: Fixed transparency of Paintings in Picture
git-svn-id: svn://ultimatepp.org/upp/trunk@5115 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3cfe5186a4
commit
d811e18dba
7 changed files with 33 additions and 13 deletions
|
|
@ -290,4 +290,12 @@ void PaintingPainter::Create(Sizef sz)
|
|||
Create(sz.cx, sz.cy);
|
||||
}
|
||||
|
||||
Drawing AsDrawing(const Painting& pw)
|
||||
{
|
||||
Size sz = pw.GetSize();
|
||||
DrawingDraw dw(sz);
|
||||
dw.DrawPainting(sz, pw);
|
||||
return dw.GetResult();
|
||||
}
|
||||
|
||||
END_UPP_NAMESPACE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue