Home
last modified time | relevance | path

Searched refs:pBBox (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/core/fxge/
Dcfx_font.cpp419 bool CFX_Font::GetGlyphBBox(uint32_t glyph_index, FX_RECT* pBBox) { in GetGlyphBBox() argument
443 pBBox->left = cbox.xMin; in GetGlyphBBox()
444 pBBox->right = cbox.xMax; in GetGlyphBBox()
445 pBBox->top = cbox.yMax; in GetGlyphBBox()
446 pBBox->bottom = cbox.yMin; in GetGlyphBBox()
448 pBBox->left = cbox.xMin * 1000 / pixel_size_x; in GetGlyphBBox()
449 pBBox->right = cbox.xMax * 1000 / pixel_size_x; in GetGlyphBBox()
450 pBBox->top = cbox.yMax * 1000 / pixel_size_y; in GetGlyphBBox()
451 pBBox->bottom = cbox.yMin * 1000 / pixel_size_y; in GetGlyphBBox()
453 pBBox->top = std::min( in GetGlyphBBox()
[all …]
Dcfx_font.h87 bool GetGlyphBBox(uint32_t glyph_index, FX_RECT* pBBox);
97 bool GetBBox(FX_RECT* pBBox);
/external/pdfium/core/fpdfapi/font/
Dcpdf_type3font.cpp68 const CPDF_Array* pBBox = m_pFontDict->GetArrayFor("FontBBox"); in Load() local
69 if (pBBox) { in Load()
71 pBBox->GetNumberAt(0) * xscale, pBBox->GetNumberAt(1) * yscale, in Load()
72 pBBox->GetNumberAt(2) * xscale, pBBox->GetNumberAt(3) * yscale); in Load()
Dcpdf_font.cpp197 const CPDF_Array* pBBox = pFontDesc->GetArrayFor("FontBBox"); in LoadFontDescriptor() local
198 if (pBBox) { in LoadFontDescriptor()
199 m_FontBBox.left = pBBox->GetIntegerAt(0); in LoadFontDescriptor()
200 m_FontBBox.bottom = pBBox->GetIntegerAt(1); in LoadFontDescriptor()
201 m_FontBBox.right = pBBox->GetIntegerAt(2); in LoadFontDescriptor()
202 m_FontBBox.top = pBBox->GetIntegerAt(3); in LoadFontDescriptor()
/external/pdfium/core/fpdfapi/page/
Dcpdf_docpagedata.cpp509 auto pBBox = pdfium::MakeRetain<CPDF_Array>(); in AddFont() local
510 pBBox->AddNew<CPDF_Number>(bbox.left); in AddFont()
511 pBBox->AddNew<CPDF_Number>(bbox.bottom); in AddFont()
512 pBBox->AddNew<CPDF_Number>(bbox.right); in AddFont()
513 pBBox->AddNew<CPDF_Number>(bbox.top); in AddFont()
532 pFont->GetDescent(), std::move(pBBox), nStemV))); in AddFont()
603 auto pBBox = pdfium::MakeRetain<CPDF_Array>(); in AddWindowsFont() local
605 pBBox->AddNew<CPDF_Number>(bbox[i]); in AddWindowsFont()
608 descend, std::move(pBBox), pLogFont->lfWeight / 5); in AddWindowsFont()
Dcpdf_contentparser.cpp66 CPDF_Array* pBBox = pForm->GetDict()->GetArrayFor("BBox"); in CPDF_ContentParser() local
69 if (pBBox) { in CPDF_ContentParser()
70 form_bbox = pBBox->GetRect(); in CPDF_ContentParser()
/external/sqlite/dist/orig/
Dsqlite3.c192398 GeoBBox *pBBox;
192399 pBBox = (GeoBBox*)sqlite3_aggregate_context(context, sizeof(*pBBox));
192400 if( pBBox==0 ) return;
192401 if( pBBox->isInit==0 ){
192402 pBBox->isInit = 1;
192403 memcpy(pBBox->a, a, sizeof(RtreeCoord)*4);
192405 if( a[0].f < pBBox->a[0].f ) pBBox->a[0] = a[0];
192406 if( a[1].f > pBBox->a[1].f ) pBBox->a[1] = a[1];
192407 if( a[2].f < pBBox->a[2].f ) pBBox->a[2] = a[2];
192408 if( a[3].f > pBBox->a[3].f ) pBBox->a[3] = a[3];
[all …]
/external/rust/crates/libsqlite3-sys/sqlite3/
Dsqlite3.c193159 GeoBBox *pBBox;
193160 pBBox = (GeoBBox*)sqlite3_aggregate_context(context, sizeof(*pBBox));
193161 if( pBBox==0 ) return;
193162 if( pBBox->isInit==0 ){
193163 pBBox->isInit = 1;
193164 memcpy(pBBox->a, a, sizeof(RtreeCoord)*4);
193166 if( a[0].f < pBBox->a[0].f ) pBBox->a[0] = a[0];
193167 if( a[1].f > pBBox->a[1].f ) pBBox->a[1] = a[1];
193168 if( a[2].f < pBBox->a[2].f ) pBBox->a[2] = a[2];
193169 if( a[3].f > pBBox->a[3].f ) pBBox->a[3] = a[3];
[all …]
/external/sqlite/dist/
Dsqlite3.c192426 GeoBBox *pBBox;
192427 pBBox = (GeoBBox*)sqlite3_aggregate_context(context, sizeof(*pBBox));
192428 if( pBBox==0 ) return;
192429 if( pBBox->isInit==0 ){
192430 pBBox->isInit = 1;
192431 memcpy(pBBox->a, a, sizeof(RtreeCoord)*4);
192433 if( a[0].f < pBBox->a[0].f ) pBBox->a[0] = a[0];
192434 if( a[1].f > pBBox->a[1].f ) pBBox->a[1] = a[1];
192435 if( a[2].f < pBBox->a[2].f ) pBBox->a[2] = a[2];
192436 if( a[3].f > pBBox->a[3].f ) pBBox->a[3] = a[3];
[all …]