Home
last modified time | relevance | path

Searched refs:m_Origin (Results 1 – 19 of 19) sorted by relevance

/external/pdfium/core/fpdfapi/render/
Dcpdf_charposlist.cpp60 charpos.m_Origin = CFX_PointF(iChar ? charPos[iChar - 1] : 0, 0); in Load()
67 charpos.m_Origin = CFX_PointF(0, charpos.m_Origin.x); in Load()
72 charpos.m_Origin.x -= FontSize * vx / 1000; in Load()
73 charpos.m_Origin.y -= FontSize * vy / 1000; in Load()
82 charpos.m_Origin.x += in Load()
84 charpos.m_Origin.y += in Load()
Dcpdf_renderstatus.cpp1849 glyph.m_Origin.x + glyph.m_pGlyph->m_Left, in ProcessType3Text()
1850 glyph.m_Origin.y - glyph.m_pGlyph->m_Top, in ProcessType3Text()
1914 glyphs[iChar].m_Origin = origin; in ProcessType3Text()
1944 pdfium::base::CheckedNumeric<int> left = glyph.m_Origin.x; in ProcessType3Text()
1951 pdfium::base::CheckedNumeric<int> top = glyph.m_Origin.y; in ProcessType3Text()
2015 matrix.Concat(CFX_Matrix(font_size, 0, 0, font_size, charpos.m_Origin.x, in DrawTextPathWithPattern()
2016 charpos.m_Origin.y)); in DrawTextPathWithPattern()
/external/pdfium/core/fpdftext/
Dcpdf_textpage.cpp58 FX_FLOAT kerning = -fontsize_h * item.m_Origin.x / 1000; in CalculateBaseSpace()
264 CFX_PointF origin = matrix_reverse.Transform(info_curchar.m_Origin); in GetRectArray()
356 if (FXSYS_fabs(posy - charinfo.m_Origin.y) > 0 && !IsContainPreChar && in GetTextByRect()
358 posy = charinfo.m_Origin.y; in GetTextByRect()
389 info->m_Origin = charinfo.m_Origin; in GetCharInfo()
905 charinfo.m_Origin = pTextObj->GetPos(); in ProcessMarkedContent()
1066 spacing = -fontsize_h * item.m_Origin.x / 1000; in ProcessTextObject()
1102 charinfo.m_Origin = matrix.Transform(item.m_Origin); in ProcessTextObject()
1104 CFX_FloatRect(charinfo.m_Origin.x, charinfo.m_Origin.y, in ProcessTextObject()
1105 charinfo.m_Origin.x, charinfo.m_Origin.y); in ProcessTextObject()
[all …]
Dcpdf_textpage.h56 CFX_PointF m_Origin; variable
77 CFX_PointF m_Origin; variable
/external/pdfium/core/fxge/ge/
Dcfx_renderdevice.cpp30 bool bVertical = glyphs.back().m_Origin.x == glyphs.front().m_Origin.x; in AdjustGlyphSpace()
31 if (!bVertical && (glyphs.back().m_Origin.y != glyphs.front().m_Origin.y)) in AdjustGlyphSpace()
36 int next_origin = bVertical ? next.m_Origin.y : next.m_Origin.x; in AdjustGlyphSpace()
40 int& current_origin = bVertical ? current.m_Origin.y : current.m_Origin.x; in AdjustGlyphSpace()
930 glyph.m_fOrigin = text2Device.Transform(charpos.m_Origin); in DrawNormalText()
932 glyph.m_Origin.x = FXSYS_round(glyph.m_fOrigin.x); in DrawNormalText()
934 glyph.m_Origin.x = static_cast<int>(FXSYS_floor(glyph.m_fOrigin.x)); in DrawNormalText()
935 glyph.m_Origin.y = FXSYS_round(glyph.m_fOrigin.y); in DrawNormalText()
982 glyph.m_Origin.x + glyph.m_pGlyph->m_Left - pixel_left, in DrawNormalText()
983 glyph.m_Origin.y - glyph.m_pGlyph->m_Top - pixel_top, in DrawNormalText()
[all …]
Dfx_ge_text.cpp57 FX_SAFE_INT32 char_left = glyph.m_Origin.x; in FXGE_GetGlyphsBBox()
73 FX_SAFE_INT32 char_top = glyph.m_Origin.y; in FXGE_GetGlyphsBBox()
/external/pdfium/core/fpdfapi/page/
Dcpdf_textobject.cpp30 pInfo->m_Origin = CFX_PointF(index ? m_CharPos[index - 1] : 0, 0); in GetItemInfo()
41 pInfo->m_Origin = CFX_PointF(0, pInfo->m_Origin.x); in GetItemInfo()
48 pInfo->m_Origin.x -= fontsize * vx / 1000; in GetItemInfo()
49 pInfo->m_Origin.y -= fontsize * vy / 1000; in GetItemInfo()
Dcpdf_textobject.h23 CFX_PointF m_Origin; variable
/external/pdfium/core/fxge/apple/
Dfx_apple_platform.cpp64 glyph_positions[i].x = -pCharPos[i].m_Origin.x; in CGDrawGlyphRun()
66 glyph_positions[i].x = pCharPos[i].m_Origin.x; in CGDrawGlyphRun()
67 glyph_positions[i].y = pCharPos[i].m_Origin.y; in CGDrawGlyphRun()
/external/pdfium/xfa/fgas/layout/
Dfgas_textbreak.cpp1393 pCharPos->m_Origin = CFX_PointF(fX, fY); in GetDisplayPos()
1399 pCharPos->m_Origin.y += fOffset; in GetDisplayPos()
1401 pCharPos->m_Origin.x += fOffset; in GetDisplayPos()
1407 pCharPos->m_Origin.y = in GetDisplayPos()
1417 pCharPos->m_Origin.y -= fFontSize * rtBox.height / iMaxHeight; in GetDisplayPos()
1429 pCharPos->m_Origin.x += ptOffset.x; in GetDisplayPos()
1430 pCharPos->m_Origin.y -= ptOffset.y; in GetDisplayPos()
1447 pCharPos->m_Origin.y += fAscent; in GetDisplayPos()
1453 pCharPos->m_Origin.x -= fDescent; in GetDisplayPos()
1459 pCharPos->m_Origin.x += fCharWidth; in GetDisplayPos()
[all …]
Dfgas_rtfbreak.cpp958 pCharPos->m_Origin = CFX_PointF(fX, fY); in GetDisplayPos()
968 pCharPos->m_Origin.y += fAscent * iVerScale / 100.0f; in GetDisplayPos()
969 pCharPos->m_Origin.y -= fAscent; in GetDisplayPos()
/external/pdfium/xfa/fxfa/app/
Dcxfa_textlayout.cpp1189 FX_FLOAT fEndY = pCharPos[0].m_Origin.y + 1.05f; in RenderPath()
1193 pt1.x = pCharPos[j].m_Origin.x; in RenderPath()
1202 pt1.x = pCharPos[0].m_Origin.x; in RenderPath()
1204 pCharPos[iChars - 1].m_Origin.x + in RenderPath()
1212 fEndY = pCharPos[0].m_Origin.y - pPiece->rtPiece.height * 0.25f; in RenderPath()
1213 pt1.x = pCharPos[0].m_Origin.x; in RenderPath()
1214 pt2.x = pCharPos[iChars - 1].m_Origin.x + in RenderPath()
1255 fOrgX = pCharPos[iChars - 1].m_Origin.x + in RenderPath()
1262 fEndX = pCharPos[0].m_Origin.x; in RenderPath()
1267 FX_FLOAT fEndY = pCharPos[0].m_Origin.y + 1.05f; in RenderPath()
[all …]
/external/pdfium/core/fxge/win32/
Dfx_win32_print.cpp299 ASSERT(charpos.m_Origin.y == 0); in DrawDeviceText()
303 FX_FLOAT fOriginX = charpos.m_Origin.x * kScaleFactor; in DrawDeviceText()
Dcfx_psrenderer.cpp663 buf << pCharPos[i].m_Origin.x << " " << pCharPos[i].m_Origin.y << " m"; in DrawText()
/external/pdfium/core/fxge/
Dfx_font.h237 CFX_Point m_Origin; variable
Dcfx_renderdevice.h72 CFX_PointF m_Origin; variable
/external/pdfium/xfa/fxbarcode/oned/
DBC_OneDimWriter.cpp180 charPos[0].m_Origin = CFX_PointF(penX + left, penY + top); in CalcTextInfo()
188 charPos[i].m_Origin = CFX_PointF(penX + left, penY + top); in CalcTextInfo()
/external/pdfium/core/fxge/skia/
Dfx_skia_device_unittest.cpp39 charPos[0].m_Origin = CFX_PointF(0, 1); in CommonTest()
Dfx_skia_device.cpp821 m_positions[index + count] = {cp.m_Origin.x * flip, in DrawText()
822 cp.m_Origin.y * vFlip}; in DrawText()
1309 positions[index] = {cp.m_Origin.x * flip, cp.m_Origin.y * vFlip}; in DrawDeviceText()