Home
last modified time | relevance | path

Searched refs:aGlyphId (Results 1 – 23 of 23) sorted by relevance

/trunk/main/vcl/unx/generic/gdi/
H A Dgcach_xpeer.cxx193 Glyph aGlyphId = NO_GLYPHID; in GetRenderGlyph() local
196 aGlyphId = reinterpret_cast<Glyph>(rEGD.mpData); in GetRenderGlyph()
198 aGlyphId = reinterpret_cast<MultiScreenGlyph*>(rEGD.mpData)->maXRGlyphId; in GetRenderGlyph()
199 return aGlyphId; in GetRenderGlyph()
204 void X11GlyphPeer::SetRenderGlyph( GlyphData& rGD, Glyph aGlyphId ) const in SetRenderGlyph()
213 rEGD.mpData = reinterpret_cast<void*>(aGlyphId); in SetRenderGlyph()
220 reinterpret_cast<MultiScreenGlyph*>(rEGD.mpData)->maXRGlyphId = aGlyphId; in SetRenderGlyph()
452 Pixmap X11GlyphPeer::GetPixmap( ServerFont& rServerFont, sal_GlyphId aGlyphId, int nReqScreen ) in GetPixmap() argument
454 if( rServerFont.IsGlyphInvisible( aGlyphId ) ) in GetPixmap()
457 GlyphData& rGlyphData = rServerFont.GetGlyphData( aGlyphId ); in GetPixmap()
[all …]
H A Dpspgraphics.cxx624 sal_GlyphId aGlyphId( cChar); // printer glyphs = unicode in LayoutText() local
641 if( (it->first == aOldGlyphId) && (it->second == aGlyphId) ) in LayoutText()
658 aOldGlyphId = aGlyphId; in LayoutText()
664 aGlyphId |= GF_ISCHAR; in LayoutText()
665 aPrevItem = GlyphItem( nCharPos, aGlyphId, aNewPos, nGlyphFlags, nGlyphWidth ); in LayoutText()
771 sal_GlyphId aGlyphId = aGlyphAry[i] & (GF_IDXMASK | GF_ROTMASK); in DrawPrinterLayout() local
775 aUnicodes[i] = (aGlyphAry[i] & GF_ISCHAR) ? aGlyphId : 0; in DrawPrinterLayout()
776 aGlyphAry[i] = aGlyphId; in DrawPrinterLayout()
966 bool PspGraphics::GetGlyphBoundRect( sal_GlyphId aGlyphId, Rectangle& rRect ) in GetGlyphBoundRect() argument
968 const int nLevel = aGlyphId >> GF_FONTSHIFT; in GetGlyphBoundRect()
[all …]
H A Dsalgdi3.cxx478 sal_GlyphId aGlyphId; in DrawCairoAAFontString() local
479 for( int nStart = 0; rLayout.GetNextGlyphs( 1, &aGlyphId, aPos, nStart ); ) in DrawCairoAAFontString()
482 aGlyph.index = aGlyphId & GF_IDXMASK; in DrawCairoAAFontString()
1234 bool X11SalGraphics::GetGlyphBoundRect( sal_GlyphId aGlyphId, Rectangle& rRect ) in GetGlyphBoundRect() argument
1236 const int nLevel = aGlyphId >> GF_FONTSHIFT; in GetGlyphBoundRect()
1244 aGlyphId &= ~GF_FONTMASK; in GetGlyphBoundRect()
1245 const GlyphMetric& rGM = pSF->GetGlyphMetric( aGlyphId ); in GetGlyphBoundRect()
1252 bool X11SalGraphics::GetGlyphOutline( sal_GlyphId aGlyphId, in GetGlyphOutline() argument
1255 const int nLevel = aGlyphId >> GF_FONTSHIFT; in GetGlyphOutline()
1263 aGlyphId &= ~GF_FONTMASK; in GetGlyphOutline()
[all …]
/trunk/main/vcl/unx/headless/
H A Dsvptext.cxx93 sal_GlyphId aGlyphId, sal_uInt32 nBmpFormat, B2IPoint& rTargetPos ) in GetGlyphBmp() argument
95 GlyphData& rGlyphData = rServerFont.GetGlyphData( aGlyphId ); in GetGlyphBmp()
110 bFound = rServerFont.GetGlyphBitmap1( aGlyphId, pGcpHelper->maRawBitmap ); in GetGlyphBmp()
113 bFound = rServerFont.GetGlyphBitmap8( aGlyphId, pGcpHelper->maRawBitmap ); in GetGlyphBmp()
124 if( !bFound && (aGlyphId != 0) ) in GetGlyphBmp()
421 bool SvpSalGraphics::GetGlyphBoundRect( sal_GlyphId aGlyphId, Rectangle& rRect ) in GetGlyphBoundRect() argument
423 const int nLevel = aGlyphId >> GF_FONTSHIFT; in GetGlyphBoundRect()
431 aGlyphId &= ~GF_FONTMASK; in GetGlyphBoundRect()
432 const GlyphMetric& rGM = pSF->GetGlyphMetric( aGlyphId ); in GetGlyphBoundRect()
439 bool SvpSalGraphics::GetGlyphOutline( sal_GlyphId aGlyphId, B2DPolyPolygon& rPolyPoly ) in GetGlyphOutline() argument
[all …]
H A Dsvppspgraphics.cxx565 sal_GlyphId aGlyphId( cChar); // printer glyphs = unicode in LayoutText() local
582 if( it->first == nOldGlyphId && it->second == aGlyphId ) in LayoutText()
599 nOldGlyphId = aGlyphId; in LayoutText()
605 aGlyphId |= GF_ISCHAR; in LayoutText()
606 aPrevItem = GlyphItem( nCharPos, aGlyphId, aNewPos, nGlyphFlags, nGlyphWidth ); in LayoutText()
686 sal_GlyphId aGlyphId = aGlyphAry[i] & (GF_IDXMASK | GF_ROTMASK); in DrawPrinterLayout() local
690 aUnicodes[i] = (aGlyphAry[i] & GF_ISCHAR) ? aGlyphId : 0; in DrawPrinterLayout()
691 aGlyphAry[i] = aGlyphId; in DrawPrinterLayout()
875 bool PspGraphics::GetGlyphBoundRect( sal_GlyphId aGlyphId, Rectangle& rRect ) in GetGlyphBoundRect() argument
877 const int nLevel = aGlyphId >> GF_FONTSHIFT; in GetGlyphBoundRect()
[all …]
/trunk/main/vcl/source/glyphs/
H A Dglyphcache.cxx387 inline void GlyphCache::RemovingGlyph( ServerFont& rSF, GlyphData& rGD, sal_GlyphId aGlyphId ) in RemovingGlyph() argument
389 mrPeer.RemovingGlyph( rSF, rGD, aGlyphId ); in RemovingGlyph()
454 GlyphData& ServerFont::GetGlyphData( sal_GlyphId aGlyphId ) in GetGlyphData() argument
457 GlyphList::iterator it = maGlyphList.find( aGlyphId ); in GetGlyphData()
465 GlyphData& rGlyphData = maGlyphList[ aGlyphId ]; in GetGlyphData()
467 InitGlyphData( aGlyphId, rGlyphData ); in GetGlyphData()
506 bool ServerFont::IsGlyphInvisible( sal_GlyphId aGlyphId ) in IsGlyphInvisible() argument
515 if( !aGlyphId ) // don't hide the NotDef glyph in IsGlyphInvisible()
517 if( (aGlyphId == mnZWNJ) || (aGlyphId == mnZWJ) ) in IsGlyphInvisible()
H A Dgcach_ftyp.cxx1240 sal_GlyphId FreetypeServerFont::FixupGlyphIndex( sal_GlyphId aGlyphId, sal_UCS4 aChar ) const in FixupGlyphIndex() argument
1249 GlyphSubstitution::const_iterator it = maGlyphSubstitution.find( aGlyphId ); in FixupGlyphIndex()
1256 aGlyphId = nTemp | (GF_GSUB | GF_ROTL); in FixupGlyphIndex()
1263 aGlyphId = (*it).second; in FixupGlyphIndex()
1279 if( aGlyphId != 0 ) in FixupGlyphIndex()
1280 aGlyphId |= nGlyphFlags; in FixupGlyphIndex()
1282 return aGlyphId; in FixupGlyphIndex()
1290 sal_GlyphId aGlyphId = GetRawGlyphIndex( aChar ); in GetGlyphIndex() local
1291 aGlyphId = FixupGlyphIndex( aGlyphId, aChar ); in GetGlyphIndex()
1292 return aGlyphId; in GetGlyphIndex()
[all …]
H A Dgcach_layout.cxx119 sal_GlyphId aGlyphId = rFont.GetGlyphIndex( cChar ); in operator ()() local
121 if( !aGlyphId ) { in operator ()()
130 int nKernValue = rFont.GetGlyphKernValue( nOldGlyphId, aGlyphId ); in operator ()()
141 nOldGlyphId = aGlyphId; in operator ()()
142 const GlyphMetric& rGM = rFont.GetGlyphMetric( aGlyphId ); in operator ()()
145 aPrevItem = GlyphItem( nCharPos, aGlyphId, aNewPos, nGlyphFlags, nGlyphWidth ); in operator ()()
/trunk/main/vcl/os2/source/gdi/
H A Dsalgdi3.cxx1201 bool Os2SalGraphics::GetGlyphBoundRect( sal_GlyphId aGlyphId, Rectangle& rRect ) in GetGlyphBoundRect() argument
1209 if( !(aGlyphId & GF_ISCHAR) ) in GetGlyphBoundRect()
1211 aGlyphId &= GF_IDXMASK; in GetGlyphBoundRect()
1215 nSize = Ft2GetGlyphOutline( mhPS, aGlyphId, nGGOFlags, &aGM, 0, NULL, &aMat ); in GetGlyphBoundRect()
1230 bool Os2SalGraphics::GetGlyphOutline( sal_GlyphId aGlyphId, ::basegfx::B2DPolyPolygon& rB2DPolyPoly… in GetGlyphOutline() argument
1245 if( !(aGlyphId & GF_ISCHAR) ) in GetGlyphOutline()
1247 aGlyphId &= GF_IDXMASK; in GetGlyphOutline()
1251 nSize1 = Ft2GetGlyphOutline( mhPS, aGlyphId, nGGOFlags, &aGlyphMetrics, 0, NULL, &aMat ); in GetGlyphOutline()
1260 nSize2 = Ft2GetGlyphOutline( mhPS, aGlyphId, nGGOFlags, in GetGlyphOutline()
1544 sal_uInt32 aGlyphId = pGlyphIds[i] & GF_IDXMASK; in CreateFontSubset() local
[all …]
H A Dos2layout.cxx531 sal_GlyphId aGlyphId = mpOutGlyphs[ nStart ]; local
536 sal_Unicode cChar = (sal_Unicode)(aGlyphId & GF_IDXMASK);
540 aGlyphId |= GF_ROTL | GF_GSUB;
544 aGlyphId |= GetVerticalFlags( cChar );
545 if( !(aGlyphId & GF_ROTMASK) )
546 aGlyphId |= GF_VERT;
549 aGlyphId |= GF_ISCHAR;
552 *(pGlyphIds++) = aGlyphId;
/trunk/main/vcl/aqua/source/gdi/
H A Dsalgdi.cxx1779 bool AquaSalGraphics::GetGlyphBoundRect( sal_GlyphId aGlyphId, Rectangle& rRect ) in GetGlyphBoundRect() argument
1781 const bool bRC = mpMacTextStyle->GetGlyphBoundRect( aGlyphId, rRect ); in GetGlyphBoundRect()
1787 bool AquaSalGraphics::GetGlyphOutline( sal_GlyphId aGlyphId, basegfx::B2DPolyPolygon& rPolyPoly ) in GetGlyphOutline() argument
1789 const bool bRC = mpMacTextStyle->GetGlyphOutline( aGlyphId, rPolyPoly ); in GetGlyphOutline()
2121 sal_GlyphId aGlyphId( pGlyphIds[i] & GF_IDXMASK); in CreateFontSubset() local
2125 aGlyphId = ::MapChar( pSftFont, static_cast<sal_uInt16>(aGlyphId), bVertical ); in CreateFontSubset()
2126 if( aGlyphId == 0 && pFontData->IsSymbolFont() ) in CreateFontSubset()
2129 aGlyphId = pGlyphIds[i] & GF_IDXMASK; in CreateFontSubset()
2130 aGlyphId = (aGlyphId & 0xF000) ? (aGlyphId & 0x00FF) : (aGlyphId | 0xF000 ); in CreateFontSubset()
2131 aGlyphId = ::MapChar( pSftFont, static_cast<sal_uInt16>(aGlyphId), bVertical ); in CreateFontSubset()
[all …]
H A Datsfonts.cxx244 bool AtsTextStyle::GetGlyphBoundRect( sal_GlyphId aGlyphId, Rectangle& rRect ) const in GetGlyphBoundRect() argument
247 ATSGlyphID aGlyphId = aGlyphId; in GetGlyphBoundRect() local
251 1, &aGlyphId, 0, FALSE, !bNonAntialiasedText, &aGlyphMetrics ); in GetGlyphBoundRect()
307 bool AtsTextStyle::GetGlyphOutline( sal_GlyphId aGlyphId, basegfx::B2DPolyPolygon& rResult ) const in GetGlyphOutline() argument
314 OSStatus eStatus = ATSUGlyphGetCubicPaths( maATSUStyle, aGlyphId, in GetGlyphOutline()
H A Datslayout.cxx531 sal_GlyphId aGlyphId = mpGlyphIds[nStart]; in GetNextGlyphs() local
549 aGlyphId |= (nLevel << GF_FONTSHIFT); in GetNextGlyphs()
553 *(pOutGlyphIds++) = aGlyphId; in GetNextGlyphs()
1201 const ImplFontData* ATSLayout::GetFallbackFontData( sal_GlyphId aGlyphId ) const in GetFallbackFontData()
1207 int nFallbackLevel = (aGlyphId & GF_FONTMASK) >> GF_FONTSHIFT; in GetFallbackFontData()
H A Dctfonts.cxx202 bool CTTextStyle::GetGlyphBoundRect( sal_GlyphId aGlyphId, Rectangle& rRect ) const in GetGlyphBoundRect() argument
205 CGGlyph nCGGlyph = aGlyphId & GF_IDXMASK; // NOTE: CoreText handles glyph fallback itself in GetGlyphBoundRect()
260 bool CTTextStyle::GetGlyphOutline( sal_GlyphId aGlyphId, basegfx::B2DPolyPolygon& rResult ) const in GetGlyphOutline() argument
266 CGGlyph nCGGlyph = aGlyphId & GF_IDXMASK; in GetGlyphOutline()
H A Dctlayout.cxx552 int nFallbackLevel = (aGlyphId & GF_FONTMASK) >> GF_FONTSHIFT; in GetFallbackFontData()
/trunk/main/vcl/win/source/gdi/
H A Dsalgdi3.cxx2429 bool WinSalGraphics::GetGlyphBoundRect( sal_GlyphId aGlyphId, Rectangle& rRect ) in GetGlyphBoundRect() argument
2439 if( !(aGlyphId & GF_ISCHAR) ) in GetGlyphBoundRect()
2441 aGlyphId &= GF_IDXMASK; in GetGlyphBoundRect()
2446 DWORD nSize = ::GetGlyphOutlineW( hDC, aGlyphId, nGGOFlags, &aGM, 0, NULL, &aMat ); in GetGlyphBoundRect()
2461 bool WinSalGraphics::GetGlyphOutline( sal_GlyphId aGlyphId, in GetGlyphOutline() argument
2474 if( !(aGlyphId & GF_ISCHAR) ) in GetGlyphOutline()
2476 aGlyphId &= GF_IDXMASK; in GetGlyphOutline()
2479 …const DWORD nSize1 = ::GetGlyphOutlineW( hDC, aGlyphId, nGGOFlags, &aGlyphMetrics, 0, NULL, &aMat … in GetGlyphOutline()
2486 const DWORD nSize2 = ::GetGlyphOutlineW( hDC, aGlyphId, nGGOFlags, in GetGlyphOutline()
2752 sal_GlyphId aGlyphId = pGlyphIds[i] & GF_IDXMASK; in CreateFontSubset() local
[all …]
H A Dwinlayout.cxx601 sal_GlyphId aGlyphId = mpOutGlyphs[ nStart ]; local
606 const sal_UCS4 cChar = static_cast<sal_UCS4>(aGlyphId & GF_IDXMASK);
609 aGlyphId |= GF_GSUB | GF_ROTL;
612 aGlyphId |= GetVerticalFlags( cChar );
613 if( (aGlyphId & GF_ROTMASK) == 0 )
614 aGlyphId |= GF_VERT;
617 aGlyphId |= GF_ISCHAR;
620 *(pGlyphIds++) = aGlyphId;
1899 sal_GlyphId aGlyphId = mpOutGlyphs[ nStart ]; local
1931 aGlyphId = mnMinKashidaGlyph;
[all …]
/trunk/main/vcl/inc/
H A Dglyphcache.hxx192 const GlyphMetric& GetGlyphMetric( sal_GlyphId aGlyphId ) in GetGlyphMetric() argument
193 { return GetGlyphData( aGlyphId ).GetMetric(); } in GetGlyphMetric()
H A Dsallayout.hxx294 GlyphItem( int nCharPos, sal_GlyphId aGlyphId, const Point& rLinearPos, in GlyphItem()
298 maGlyphId(aGlyphId), maLinearPos(rLinearPos) in GlyphItem()
/trunk/main/vcl/source/gdi/
H A Doutdev3.cxx4168 sal_GlyphId aGlyphId; in ImplDrawTextLines() local
4169 if( !rSalLayout.GetNextGlyphs( 1, &aGlyphId, aPos, nStart, &nAdvance ) ) in ImplDrawTextLines()
4173 if( !rSalLayout.IsSpacingGlyph( aGlyphId ) ) in ImplDrawTextLines()
4493 sal_GlyphId aGlyphId; in ImplDrawEmphasisMarks() local
4494 if( !rSalLayout.GetNextGlyphs( 1, &aGlyphId, aOutPoint, nStart ) ) in ImplDrawEmphasisMarks()
4497 if( !mpGraphics->GetGlyphBoundRect( aGlyphId, aRectangle ) ) in ImplDrawEmphasisMarks()
4500 if( !rSalLayout.IsSpacingGlyph( aGlyphId ) ) in ImplDrawEmphasisMarks()
7422 sal_GlyphId aGlyphId; in GetSysTextLayoutData() local
7423 for( int nStart = 0; rLayout->GetNextGlyphs( 1, &aGlyphId, aPos, nStart ); ) in GetSysTextLayoutData()
7429 aGlyph.index = static_cast<unsigned long> (aGlyphId & GF_IDXMASK); in GetSysTextLayoutData()
[all …]
H A Dsallayout.cxx955 int nFallbackLevel = (aGlyphId & GF_FONTMASK) >> GF_FONTSHIFT in GetFallbackFontData()
2108 const ImplFontData* MultiSalLayout::GetFallbackFontData( sal_GlyphId aGlyphId ) const in GetFallbackFontData()
2110 int nFallbackLevel = (aGlyphId & GF_FONTMASK) >> GF_FONTSHIFT; in GetFallbackFontData()
H A Dpdfwriter_impl.cxx7578 sal_GlyphId aGlyphId; in drawLayout() local
7579 if( !rLayout.GetNextGlyphs( 1, &aGlyphId, aPos, nStart, &nAdvance ) ) in drawLayout()
7582 if( !rLayout.IsSpacingGlyph( aGlyphId ) ) in drawLayout()
7677 sal_GlyphId aGlyphId; in drawLayout() local
7679 if( !rLayout.GetNextGlyphs( 1, &aGlyphId, aPos, nStart, &nAdvance ) ) in drawLayout()
7682 if( !rLayout.IsSpacingGlyph( aGlyphId ) ) in drawLayout()
/trunk/main/vcl/unx/generic/fontmanager/
H A Dfontmanager.cxx3823 const sal_GlyphId aGlyphId = aCharMap.GetGlyphIndex( c ); in getGlyphWidths() local
3825 rUnicodeEnc[ (sal_Unicode)c ] = aGlyphId; in getGlyphWidths()