Lines Matching refs:Fixed
79 int Fixed2Vcl( Fixed ) const; // convert ATSU-Fixed units to VCL units
81 Fixed Vcl2Fixed( int ) const; // convert VCL units to ATSU-Fixed units
86 mutable Fixed mnCachedWidth; // cached value of resulting typographical width
90 mutable Fixed* mpCharWidths; // map relative charpos to charwidth
94 mutable Fixed* mpGlyphAdvances; // contains glyph widths for the justified layout
95 mutable Fixed* mpGlyphOrigAdvs; // contains glyph widths for the unjustified layout
96 mutable Fixed* mpDeltaY; // vertical offset from the baseline
98 struct SubPortion { int mnMinCharPos, mnEndCharPos; Fixed mnXOffset; };
107 mutable Fixed mnBaseAdv;
170 inline int ATSLayout::Fixed2Vcl( Fixed nFixed ) const in Fixed2Vcl()
188 inline Fixed ATSLayout::Vcl2Fixed( int nPixel ) const in Vcl2Fixed()
328 Fixed nFixedWidth = Vcl2Fixed( nPixelWidth ); in AdjustLayout()
335 nBytes[0] = sizeof(Fixed); in AdjustLayout()
393 Fixed theAngle = rAquaGraphics.mnATSUIRotation; in DrawText()
395 theSizes[numcontrols] = sizeof( Fixed ); in DrawText()
405 const Fixed nFixedX = Vcl2Fixed( +aPos.X() ); in DrawText()
406 const Fixed nFixedY = Vcl2Fixed( -aPos.Y() ); // adjusted for y-mirroring in DrawText()
417 Fixed nXOfsFixed = 0, nYOfsFixed = 0; in DrawText()
421 nXOfsFixed = static_cast<Fixed>(static_cast<double>(+rSubPortion.mnXOffset) * cos( fRadians )); in DrawText()
422 nYOfsFixed = static_cast<Fixed>(static_cast<double>(+rSubPortion.mnXOffset) * sin( fRadians )); in DrawText()
492 Fixed nXOffset = mnBaseAdv; in GetNextGlyphs()
518 Fixed nYOffset = 0; in GetNextGlyphs()
523 …const Point aRelativePos( Fix2Long(static_cast<Fixed>(nXOffset*mfFontScale)), Fix2Long(static_cast… in GetNextGlyphs()
632 Fixed nLeftBound = 0; in GetTextWidth()
633 Fixed nRightBound = 0; in GetTextWidth()
810 const Fixed nFixedPos = mnBaseAdv + aCaret0.fX; in GetCaretPositions()
836 const Fixed nFixedX = Vcl2Fixed( +aPos.X() ); in GetBoundRect()
837 const Fixed nFixedY = Vcl2Fixed( +aPos.Y() ); in GetBoundRect()
875 mpCharWidths = new Fixed[ mnCharCount ]; in InitGIA()
896 mpGlyphAdvances = new Fixed[ iLayoutDataCount ]; in InitGIA()
900 Fixed nLeftPos = 0; in InitGIA()
938 Fixed nWidthSum = mnBaseAdv; in InitGIA()
953 Fixed nSumCharWidths = 0; in InitGIA()
961 const Fixed nNextXPos = Vcl2Fixed(pArgs->mpDXArray[i]); in InitGIA()
962 const Fixed nNextXOffset = nNextXPos - nSumCharWidths; in InitGIA()
963 const Fixed nFixedDiff = aSubPortion.mnXOffset - nNextXOffset; in InitGIA()
1019 mpGlyphOrigAdvs = new Fixed[ mnGlyphCount ]; in GetIdealX()