Kaydet (Commit) 93a007b1 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

tdf#94138 also apply settings when printing (Draw call)

Change-Id: I72056f3e167923f00c37648a24190b533eb9b471
üst 0bc79eef
...@@ -1815,6 +1815,8 @@ void Edit::Resize() ...@@ -1815,6 +1815,8 @@ void Edit::Resize()
void Edit::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, DrawFlags nFlags ) void Edit::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, DrawFlags nFlags )
{ {
ApplySettings(*pDev);
Point aPos = pDev->LogicToPixel( rPos ); Point aPos = pDev->LogicToPixel( rPos );
Size aSize = pDev->LogicToPixel( rSize ); Size aSize = pDev->LogicToPixel( rSize );
vcl::Font aFont = GetDrawPixelFont( pDev ); vcl::Font aFont = GetDrawPixelFont( pDev );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment