Logo Search packages:      
Sourcecode: koffice version File versions

int KoZoomHandler::layoutUnitToPixelX ( int  lupix  )  const [inline, inherited]

The "layout unit pixel" -> "[zoomed] view pixel" conversions.

Definition at line 176 of file kozoomhandler.h.

References KoTextZoomHandler::m_layoutUnitFactor.

Referenced by EmptyElement::draw(), TextElement::draw(), SymbolElement::draw(), SpaceElement::draw(), RootElement::draw(), MultilineElement::draw(), FractionElement::draw(), UnderlineElement::draw(), OverlineElement::draw(), BracketElement::draw(), NameSequence::drawCursor(), and SequenceElement::drawCursor().

    { return int( static_cast<double>( lupix * m_zoom ) / static_cast<double>( m_layoutUnitFactor * 100 ) ); }

Generated by  Doxygen 1.6.0   Back to index