LibreOffice Module starmath (master) 1
|
#include <tmpdevice.hxx>
Public Member Functions | |
SmTmpDevice (OutputDevice &rTheDev, bool bUseMap100th_mm) | |
~SmTmpDevice () COVERITY_NOEXCEPT_FALSE | |
void | SetFont (const vcl::Font &rNewFont) |
void | SetLineColor (const Color &rColor) |
void | SetFillColor (const Color &rColor) |
operator OutputDevice & () | |
Private Member Functions | |
SmTmpDevice (const SmTmpDevice &)=delete | |
SmTmpDevice & | operator= (const SmTmpDevice &)=delete |
Color | GetTextColor (const Color &rTextColor) |
Private Attributes | |
OutputDevice & | rOutDev |
Definition at line 25 of file tmpdevice.hxx.
|
privatedelete |
SmTmpDevice::SmTmpDevice | ( | OutputDevice & | rTheDev, |
bool | bUseMap100th_mm | ||
) |
Definition at line 36 of file tmpdevice.cxx.
References vcl::FILLCOLOR, vcl::FONT, OutputDevice::GetMapMode(), MapMode::GetMapUnit(), vcl::LINECOLOR, vcl::MAPMODE, OutputDevice::Push(), rOutDev, SAL_WARN, OutputDevice::SetMapMode(), SmMapUnit(), and vcl::TEXTCOLOR.
|
inline |
Definition at line 36 of file tmpdevice.hxx.
References OutputDevice::Pop(), and rOutDev.
Definition at line 49 of file tmpdevice.cxx.
References COL_AUTO(), svtools::DOCCOLOR, svtools::FONTCOLOR, OutputDevice::GetReadableFontColor(), rOutDev, and SM_MOD.
Referenced by SetFillColor(), SetFont(), and SetLineColor().
|
inline |
Definition at line 43 of file tmpdevice.hxx.
References rOutDev.
|
privatedelete |
|
inline |
Definition at line 41 of file tmpdevice.hxx.
References GetTextColor(), rOutDev, and OutputDevice::SetFillColor().
Referenced by SmDrawingVisitor::Visit().
void SmTmpDevice::SetFont | ( | const vcl::Font & | rNewFont | ) |
Definition at line 62 of file tmpdevice.cxx.
References vcl::Font::GetColor(), GetTextColor(), rOutDev, OutputDevice::SetFont(), and OutputDevice::SetTextColor().
Referenced by SmMathSymbolNode::AdaptToX(), SmMathSymbolNode::AdaptToY(), SmRectangleNode::Arrange(), SmPolyLineNode::Arrange(), SmTextNode::Arrange(), SmSpecialNode::Arrange(), SmGlyphSpecialNode::Arrange(), SmMathSymbolNode::Arrange(), SmPlaceNode::Arrange(), SmErrorNode::Arrange(), SmTableNode::Arrange(), SmLineNode::Arrange(), SmBinDiagonalNode::Arrange(), SmVerticalBraceNode::Arrange(), SmBlankNode::Arrange(), SmDrawingVisitor::DrawTextNode(), and SmDrawingVisitor::Visit().
|
inline |
Definition at line 40 of file tmpdevice.hxx.
References GetTextColor(), rOutDev, and OutputDevice::SetLineColor().
Referenced by SmDrawingVisitor::Visit().
|
private |
Definition at line 27 of file tmpdevice.hxx.
Referenced by GetTextColor(), operator OutputDevice &(), SetFillColor(), SetFont(), SetLineColor(), SmTmpDevice(), and ~SmTmpDevice().