Home
last modified time | relevance | path

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

/external/pdfium/xfa/src/fdp/src/fde/
Dfde_object.h87 CFDE_SolidBrush() : m_Color(0xFF000000) { m_Matrix.SetIdentity(); } in CFDE_SolidBrush()
91 virtual const CFX_Matrix& GetMatrix() const { return m_Matrix; } in GetMatrix()
92 virtual void ResetMatrix() { m_Matrix.SetIdentity(); } in ResetMatrix()
94 m_Matrix.Translate(dx, dy); in TranslateMatrix()
96 virtual void RotateMatrix(FX_FLOAT fRadian) { m_Matrix.Rotate(fRadian); } in RotateMatrix()
97 virtual void ScaleMatrix(FX_FLOAT sx, FX_FLOAT sy) { m_Matrix.Scale(sx, sy); } in ScaleMatrix()
99 m_Matrix.Concat(matrix); in ConcatMatrix()
101 virtual void SetMatrix(const CFX_Matrix& matrix) { m_Matrix = matrix; } in SetMatrix()
106 CFX_Matrix m_Matrix; variable
111 m_Matrix.SetIdentity(); in CFDE_HatchBrush()
[all …]
/external/pdfium/fpdfsdk/src/
Dfpdfeditimg.cpp54 pImgObj->m_Matrix.a = (FX_FLOAT)a; in FPDFImageObj_SetMatrix()
55 pImgObj->m_Matrix.b = (FX_FLOAT)b; in FPDFImageObj_SetMatrix()
56 pImgObj->m_Matrix.c = (FX_FLOAT)c; in FPDFImageObj_SetMatrix()
57 pImgObj->m_Matrix.d = (FX_FLOAT)d; in FPDFImageObj_SetMatrix()
58 pImgObj->m_Matrix.e = (FX_FLOAT)e; in FPDFImageObj_SetMatrix()
59 pImgObj->m_Matrix.f = (FX_FLOAT)f; in FPDFImageObj_SetMatrix()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_path.cpp18 m_Matrix = pSrcObj->m_Matrix; in CopyData()
21 m_Matrix.Concat(matrix); in Transform()
39 rect.Transform(&m_Matrix); in CalcBoundingBox()
Dfpdf_page_image.cpp33 m_Matrix = pSrcObj->m_Matrix; in CopyData()
36 m_Matrix.Concat(matrix); in Transform()
42 m_Matrix.TransformRect(m_Left, m_Right, m_Top, m_Bottom); in CalcBoundingBox()
Dfpdf_page_graph_state.cpp280 m_Matrix[0] = m_Matrix[3] = 1.0f; in CPDF_TextStateData()
281 m_Matrix[1] = m_Matrix[2] = 0; in CPDF_TextStateData()
328 FX_FLOAT* m_Matrix = GetMatrix(); in GetBaselineAngle() local
329 return FXSYS_atan2(m_Matrix[2], m_Matrix[0]); in GetBaselineAngle()
332 FX_FLOAT* m_Matrix = GetMatrix(); in GetShearAngle() local
333 FX_FLOAT shear_angle = FXSYS_atan2(m_Matrix[1], m_Matrix[3]); in GetShearAngle()
342 m_Matrix.SetIdentity(); in CPDF_GeneralStateData()
588 pGeneralState->m_Matrix = m_CTM; in ProcessExtGS()
Dfpdf_page_colors.cpp407 FX_FLOAT m_Matrix[9]; member in CPDF_CalRGB
438 m_Matrix[i] = pParam->GetNumber(i); in v_Load()
459 X = m_Matrix[0] * A_ + m_Matrix[3] * B_ + m_Matrix[6] * C_; in GetRGB()
460 Y = m_Matrix[1] * A_ + m_Matrix[4] * B_ + m_Matrix[7] * C_; in GetRGB()
461 Z = m_Matrix[2] * A_ + m_Matrix[5] * B_ + m_Matrix[8] * C_; in GetRGB()
Dfpdf_page_parser.cpp743 pImageObj->m_Matrix = ImageMatrix; in AddImage()
1079 pObj->m_Matrix = m_pCurStates->m_CTM; in Handle_ShadeFill()
1080 pObj->m_Matrix.Concat(m_mtContentToUser); in Handle_ShadeFill()
1089 pShading->m_ShadingType, &pObj->m_Matrix, in Handle_ShadeFill()
1350 FX_FLOAT* pTextMatrix = m_pCurStates->m_TextState.GetModify()->m_Matrix; in OnChangeTextMatrix()
1476 pPathObj->m_Matrix = matrix; in AddPathObject()
Dfpdf_page.cpp80 pGS->m_Matrix.Concat(matrix); in TransformGeneralState()
624 m_Matrix = pSrcObj->m_Matrix; in CopyData()
631 m_Matrix.Concat(matrix); in Transform()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_content.cpp84 if ((pImageObj->m_Matrix.a == 0 && pImageObj->m_Matrix.b == 0) || in ProcessImage()
85 (pImageObj->m_Matrix.c == 0 && pImageObj->m_Matrix.d == 0)) { in ProcessImage()
88 buf << "q " << pImageObj->m_Matrix << " cm "; in ProcessImage()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render.cpp506 CFX_Matrix path_matrix = pPathObj->m_Matrix; in ProcessPath()
701 CFX_Matrix path_matrix = pPathObj->m_Matrix; in SelectClipPath()
976 pItem->m_Matrix = *pObject2Device; in AppendObjectList()
978 pItem->m_Matrix.SetIdentity(); in AppendObjectList()
995 CFX_Matrix FinalMatrix = pItem->m_Matrix; in Render()
1013 status.RenderObjectList(pItem->m_pObjectList, &pItem->m_Matrix); in Render()
1107 device2object.SetReverse(pItem->m_Matrix); in Continue()
1120 if (m_pRenderStatus->ContinueSingleObject(pCurObj, &pItem->m_Matrix, in Continue()
1276 m_Matrix.TranslateI(-pRect->left, -pRect->top); in Initialize()
1286 m_Matrix.Scale((FX_FLOAT)(max_dpi) / dpih, 1.0f); in Initialize()
[all …]
Drender_int.h97 CFX_Matrix m_Matrix; member
387 CFX_Matrix* GetMatrix() { return &m_Matrix; } in GetMatrix()
396 CFX_Matrix m_Matrix; variable
410 const CFX_Matrix* GetMatrix() const { return &m_Matrix; } in GetMatrix()
418 CFX_Matrix m_Matrix; variable
Dfpdf_render_text.cpp324 m_ImageMatrix = pImage->m_Matrix; in LoadBitmap()
778 path.m_Matrix = *pTextMatrix; in DrawTextPathWithPattern()
Dfpdf_render_image.cpp473 m_ImageMatrix = m_pImageObject->m_Matrix; in Start()
Dfpdf_render_pattern.cpp954 CFX_Matrix matrix = pShadingObj->m_Matrix; in ProcessShading()
/external/pdfium/core/include/fpdfapi/
Dfpdf_pageobj.h175 FX_FLOAT m_Matrix[4]; variable
189 FX_FLOAT* GetMatrix() const { return m_pObject->m_Matrix; } in GetMatrix()
225 CFX_Matrix m_Matrix; variable
508 CFX_Matrix m_Matrix; variable
523 CFX_Matrix m_Matrix; variable
538 CFX_Matrix m_Matrix; variable
/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp1567 m_Matrix = *pMatrix;
1568 CFX_FloatRect image_rect_f = m_Matrix.GetUnitRect();
1580 m_Matrix = *pMatrix;
1587 if ((FXSYS_fabs(m_Matrix.b) >= 0.5f || m_Matrix.a == 0) ||
1588 (FXSYS_fabs(m_Matrix.c) >= 0.5f || m_Matrix.d == 0)) {
1589 if (FXSYS_fabs(m_Matrix.a) < FXSYS_fabs(m_Matrix.b) / 20 &&
1590 FXSYS_fabs(m_Matrix.d) < FXSYS_fabs(m_Matrix.c) / 20 &&
1591 FXSYS_fabs(m_Matrix.a) < 0.5f && FXSYS_fabs(m_Matrix.d) < 0.5f) {
1597 m_Matrix.c > 0, m_Matrix.b < 0);
1599 TRUE, m_Matrix.c > 0, m_Matrix.b < 0, m_bRgbByteOrder,
[all …]
/external/pdfium/xfa/src/fdp/src/tto/
Dfde_textout.cpp41 m_Matrix.SetIdentity(); in CFDE_TextOut()
154 m_Matrix = matrix; in SetMatrix()
199 rm.SetReverse(m_Matrix); in CalcSize()
202 m_Matrix.TransformRect(rect); in CalcSize()
364 rm.SetReverse(m_Matrix); in DrawText()
382 m_Matrix.TransformRect(rtClip); in DrawLogicText()
798 m_fFontSize, &m_Matrix); in OnDraw()
911 m_pRenderDevice->DrawPath(pPen, 1, pPath, &m_Matrix); in DrawLine()
Dfde_textout.h156 CFX_Matrix m_Matrix; variable
/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_pageobjs.cpp448 pTextStateData->m_Matrix[0] = nHorzScale / 100.0f; in AddTextObjToPageObjects()
449 pTextStateData->m_Matrix[1] = 0; in AddTextObjToPageObjects()
450 pTextStateData->m_Matrix[2] = 0; in AddTextObjToPageObjects()
451 pTextStateData->m_Matrix[3] = 1; in AddTextObjToPageObjects()
/external/pdfium/core/include/fpdftext/
Dfpdf_text.h55 CFX_Matrix m_Matrix; member
/external/pdfium/core/src/fpdftext/
Dfpdf_text_int.cpp273 matrix.Concat(info_curchar.m_Matrix); in GetRectArray()
485 info->m_Matrix.Copy(charinfo->m_Matrix); in GetCharInfo()
1411 charinfo.m_Matrix.Copy(matrix); in ProcessMarkedContent()
1519 generateChar.m_Matrix.Copy(formMatrix); in ProcessTextObject()
1534 generateChar.m_Matrix.Copy(formMatrix); in ProcessTextObject()
1541 generateChar.m_Matrix.Copy(formMatrix); in ProcessTextObject()
1651 charinfo.m_Matrix.Copy(formMatrix); in ProcessTextObject()
1706 charinfo.m_Matrix.Copy(matrix); in ProcessTextObject()
1716 FX_FLOAT threshold = charinfo.m_Matrix.TransformXDistance( in ProcessTextObject()
Dtext_int.h37 CFX_Matrix m_Matrix; member
/external/pdfium/core/include/fxge/
Dfx_dib.h684 CFX_Matrix m_Matrix; variable