Home
last modified time | relevance | path

Searched refs:pMatrix (Results 1 – 25 of 44) sorted by relevance

12

/external/pdfium/core/src/fxge/win32/
Dfx_win32_device.cpp605 static HPEN _CreatePen(const CFX_GraphStateData* pGraphState, const CFX_AffineMatrix* pMatrix, FX_D… in _CreatePen() argument
609 if (pMatrix) in _CreatePen()
610 scale = FXSYS_fabs(pMatrix->a) > FXSYS_fabs(pMatrix->b) ? in _CreatePen()
611 FXSYS_fabs(pMatrix->a) : FXSYS_fabs(pMatrix->b); in _CreatePen()
659 …pDash[i] = FXSYS_round(pMatrix ? pMatrix->TransformDistance(pGraphState->m_DashArray[i]) : pGraphS… in _CreatePen()
678 static void _SetPathToDC(HDC hDC, const CFX_PathData* pPathData, const CFX_AffineMatrix* pMatrix) in _SetPathToDC() argument
685 if (pMatrix) { in _SetPathToDC()
686 pMatrix->Transform(posx, posy); in _SetPathToDC()
703 if (pMatrix) { in _SetPathToDC()
704 pMatrix->Transform(posx, posy); in _SetPathToDC()
[all …]
Dfx_win32_dwrite.cpp97 __in_opt DWRITE_MATRIX const* pMatrix,
222 …ngString(void* renderTarget, CFX_ClipRgn* pClipRgn, FX_RECT& stringRect, CFX_AffineMatrix* pMatrix, in DwRendingString() argument
236 if (pMatrix) { in DwRendingString()
237 transform.m11 = pMatrix->a; in DwRendingString()
238 transform.m12 = pMatrix->b; in DwRendingString()
239 transform.m21 = pMatrix->c; in DwRendingString()
240 transform.m22 = pMatrix->d; in DwRendingString()
241 transform.dx = pMatrix->e; in DwRendingString()
242 transform.dy = pMatrix->f; in DwRendingString()
255 pMatrix ? &transform : NULL, in DwRendingString()
[all …]
Dfx_win32_print.cpp195 … const CFX_AffineMatrix* pMatrix, FX_DWORD render_flags, FX_LPVOID& handle, in StartDIBits() argument
201 CFX_FloatRect unit_rect = pMatrix->GetUnitRect(); in StartDIBits()
203 …if (FXSYS_fabs(pMatrix->b) < 0.5f && pMatrix->a != 0 && FXSYS_fabs(pMatrix->c) < 0.5f && pMatrix->… in StartDIBits()
204 FX_BOOL bFlipX = pMatrix->a < 0; in StartDIBits()
205 FX_BOOL bFlipY = pMatrix->d > 0; in StartDIBits()
210 if (FXSYS_fabs(pMatrix->a) < 0.5f && FXSYS_fabs(pMatrix->d) < 0.5f) { in StartDIBits()
211 CFX_DIBitmap* pTransformed = pSource->SwapXY(pMatrix->c > 0, pMatrix->b < 0); in StartDIBits()
221 CFX_DIBitmap* pTransformed = Transform1bppBitmap(pSource, pMatrix); in StartDIBits()
228 SetClip_PathFill(&path, pMatrix, WINDING); in StartDIBits()
396 … const CFX_AffineMatrix* pMatrix, FX_DWORD render_flags, FX_LPVOID& handle, in StartDIBits() argument
[all …]
Dfx_win32_gdipext.cpp672 void CGdiplusExt::GdipSetWorldTransform(void* graphics, void* pMatrix) in GdipSetWorldTransform() argument
675 CallFunc(GdipSetWorldTransform)((GpGraphics*)graphics, (GpMatrix*)pMatrix); in GdipSetWorldTransform()
724 static GpPen* _GdipCreatePen(const CFX_GraphStateData* pGraphState, const CFX_AffineMatrix* pMatrix in _GdipCreatePen() argument
729 …FX_FLOAT unit = pMatrix == NULL ? 1.0f : FXSYS_Div(1.0f, (pMatrix->GetXUnit() + pMatrix->GetYUnit(… in _GdipCreatePen()
823 static BOOL IsSmallTriangle(PointF* points, const CFX_AffineMatrix* pMatrix, int& v1, int& v2) in IsSmallTriangle() argument
831 if (pMatrix) { in IsSmallTriangle()
832 pMatrix->Transform(x1, y1); in IsSmallTriangle()
833 pMatrix->Transform(x2, y2); in IsSmallTriangle()
864 GpMatrix* pMatrix = NULL; in DrawPath() local
866 …t2Device->b, pObject2Device->c, pObject2Device->d, pObject2Device->e, pObject2Device->f, &pMatrix); in DrawPath()
[all …]
Dwin32_int.h38 void GdipSetWorldTransform(void* graphics, void* pMatrix);
143 … const CFX_AffineMatrix* pMatrix, FX_DWORD render_flags, FX_LPVOID& handle, in StartDIBits() argument
164 … const CFX_AffineMatrix* pMatrix, FX_DWORD render_flags, FX_LPVOID& handle,
224 … const CFX_AffineMatrix* pMatrix, FX_DWORD render_flags, FX_LPVOID& handle,
Ddwrite_int.h46 …ngString(void* renderTarget, CFX_ClipRgn* pClipRgn, FX_RECT& stringRect, CFX_AffineMatrix* pMatrix,
/external/pdfium/core/src/fxge/ge/
Dfx_ge_text.cpp1064 CFX_GlyphBitmap* CFX_FaceCache::LookUpGlyphBitmap(CFX_Font* pFont, const CFX_AffineMatrix* pMatrix, in LookUpGlyphBitmap() argument
1077 pGlyphBitmap = RenderGlyph(pFont, glyph_index, bFontStyle, pMatrix, dest_width, anti_alias); in LookUpGlyphBitmap()
1084 …hBitmap(CFX_Font* pFont, FX_DWORD glyph_index, FX_BOOL bFontStyle, const CFX_AffineMatrix* pMatrix, in LoadGlyphBitmap() argument
1093 keygen.Generate(9, (int)(pMatrix->a * 10000), (int)(pMatrix->b * 10000), in LoadGlyphBitmap()
1094 … (int)(pMatrix->c * 10000), (int)(pMatrix->d * 10000), dest_width, anti_alias, in LoadGlyphBitmap()
1097 keygen.Generate(6, (int)(pMatrix->a * 10000), (int)(pMatrix->b * 10000), in LoadGlyphBitmap()
1098 … (int)(pMatrix->c * 10000), (int)(pMatrix->d * 10000), dest_width, anti_alias); in LoadGlyphBitmap()
1102 keygen.Generate(9, (int)(pMatrix->a * 10000), (int)(pMatrix->b * 10000), in LoadGlyphBitmap()
1103 … (int)(pMatrix->c * 10000), (int)(pMatrix->d * 10000), dest_width, anti_alias, in LoadGlyphBitmap()
1106 keygen.Generate(6, (int)(pMatrix->a * 10000), (int)(pMatrix->b * 10000), in LoadGlyphBitmap()
[all …]
Dfx_ge_path.cpp172 void CFX_PathData::Append(const CFX_PathData* pSrc, const CFX_AffineMatrix* pMatrix) in Append() argument
177 if (pMatrix) { in Append()
179pMatrix->Transform(m_pPoints[old_count + i].m_PointX, m_pPoints[old_count + i].m_PointY); in Append()
381 void CFX_PathData::Transform(const CFX_AffineMatrix* pMatrix) in Transform() argument
383 if (pMatrix == NULL) { in Transform()
387 pMatrix->Transform(m_pPoints[i].m_PointX, m_pPoints[i].m_PointY); in Transform()
390 FX_BOOL CFX_PathData::GetZeroAreaPath(CFX_PathData& NewPath, CFX_AffineMatrix* pMatrix, FX_BOOL&bTh… in GetZeroAreaPath() argument
400 if (pMatrix) { in GetZeroAreaPath()
402 pMatrix->TransformPoint(x, y); in GetZeroAreaPath()
407 pMatrix->TransformPoint(x, y); in GetZeroAreaPath()
[all …]
Dfx_ge_ps.cpp326 const CFX_AffineMatrix* pMatrix, FX_DWORD flags, in DrawDIBits() argument
330 if ((pMatrix->a == 0 && pMatrix->b == 0) || (pMatrix->c == 0 && pMatrix->d == 0)) { in DrawDIBits()
342 buf << FX_BSTRC("[") << pMatrix->a << FX_BSTRC(" ") << pMatrix->b << FX_BSTRC(" ") << in DrawDIBits()
343 pMatrix->c << FX_BSTRC(" ") << pMatrix->d << FX_BSTRC(" ") << pMatrix->e << in DrawDIBits()
344 FX_BSTRC(" ") << pMatrix->f << FX_BSTRC("]cm "); in DrawDIBits()
Dfx_ge_device.cpp208 CFX_AffineMatrix* pMatrix = NULL; in DrawPath() local
210 pMatrix = (CFX_AffineMatrix*)pObject2Device; in DrawPath()
216 …m_pDeviceDriver->DrawPath(&newPath, pMatrix, &graphState, 0, strokecolor, smooth_path, alpha_flag,… in DrawPath()
393 … const CFX_AffineMatrix* pMatrix, FX_DWORD flags, FX_LPVOID& handle, in StartDIBits() argument
396 …return m_pDeviceDriver->StartDIBits(pBitmap, bitmap_alpha, argb, pMatrix, flags, handle, alpha_fla… in StartDIBits()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_text.cpp24 CFX_GlyphBitmap* CPDF_Type3Cache::LoadGlyph(FX_DWORD charcode, const CFX_AffineMatrix* pMatrix, FX_… in LoadGlyph() argument
27 keygen.Generate(4, FXSYS_round(pMatrix->a * 10000), FXSYS_round(pMatrix->b * 10000), in LoadGlyph()
28 FXSYS_round(pMatrix->c * 10000), FXSYS_round(pMatrix->d * 10000)); in LoadGlyph()
39 pGlyphBitmap = RenderGlyph(pSizeCache, charcode, pMatrix, retinaScaleX, retinaScaleY); in LoadGlyph()
125 …lyph(CPDF_Type3Glyphs* pSize, FX_DWORD charcode, const CFX_AffineMatrix* pMatrix, FX_FLOAT retinaS… in RenderGlyph() argument
134 text_matrix.Set(pMatrix->a, pMatrix->b, pMatrix->c, pMatrix->d, 0, 0); in RenderGlyph()
604 … const CFX_AffineMatrix* pMatrix, const CFX_ByteString& str, FX_ARGB fill_argb, in DrawTextString() argument
632 if (pMatrix) { in DrawTextString()
633 matrix = *pMatrix; in DrawTextString()
Drender_int.h38 …CFX_GlyphBitmap* LoadGlyph(FX_DWORD charcode, const CFX_AffineMatrix* pMatrix, FX_FLOAT retinaSca…
40 …lyph(CPDF_Type3Glyphs* pSize, FX_DWORD charcode, const CFX_AffineMatrix* pMatrix, FX_FLOAT retinaS…
138 void DrawShading(CPDF_ShadingPattern* pPattern, CFX_AffineMatrix* pMatrix, FX_RECT& clip_rect,
148 …itmap* LoadSMask(CPDF_Dictionary* pSMaskDict, FX_RECT* pClipRect, const CFX_AffineMatrix* pMatrix);
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dinvert.c45 OPJ_FLOAT32* pMatrix,
208 OPJ_FLOAT32 * pMatrix, in opj_lupSolve() argument
222 OPJ_FLOAT32 * lLineMatrix = pMatrix; in opj_lupSolve()
246 lLineMatrix = pMatrix + nb_compo*nb_compo - 1; in opj_lupSolve()
Dmct.h141 OPJ_FLOAT32 * pMatrix);
/external/pdfium/core/include/fpdfapi/
Dfpdf_pageobj.h80 void Transform(const CFX_AffineMatrix* pMatrix) in Transform() argument
82 GetModify()->Transform(pMatrix); in Transform()
85 void Append(CPDF_Path src, const CFX_AffineMatrix* pMatrix) in Append() argument
87 m_pObject->Append(src.m_pObject, pMatrix); in Append()
483 FX_RECT GetBBox(const CFX_AffineMatrix* pMatrix) const;
549 void GetTextMatrix(CFX_AffineMatrix* pMatrix) const;
/external/pdfium/core/include/fxge/
Dfx_ge.h196 void Transform(const CFX_AffineMatrix* pMatrix);
200 …FX_BOOL GetZeroAreaPath(CFX_PathData& NewPath, CFX_AffineMatrix* pMatrix, FX_BOOL&bThin, FX_BOO…
202 FX_BOOL IsRect(const CFX_AffineMatrix* pMatrix, CFX_FloatRect* rect) const;
204 void Append(const CFX_PathData* pSrc, const CFX_AffineMatrix* pMatrix);
426 const CFX_AffineMatrix* pMatrix, FX_DWORD flags, FX_LPVOID& handle,
604 const CFX_AffineMatrix* pMatrix, FX_DWORD flags, FX_LPVOID& handle,
692 const CFX_AffineMatrix* pMatrix, FX_DWORD flags,
Dfx_font.h386 …hBitmap(CFX_Font* pFont, FX_DWORD glyph_index, FX_BOOL bFontStyle, const CFX_AffineMatrix* pMatrix,
395 … const CFX_AffineMatrix* pMatrix, int dest_width, int anti_alias);
397 const CFX_AffineMatrix* pMatrix, int dest_width, int anti_alias);
398 …CFX_GlyphBitmap* LookUpGlyphBitmap(CFX_Font* pFont, const CFX_AffineMatrix* pMatrix, CFX_By…
421 CFX_AffineMatrix* pMatrix, unsigned long glyph_index, unsigned long argb);
/external/pdfium/core/src/reflow/
Dreflowedpage.h59 void CreateRFData(CPDF_PageObject* pObj, CFX_AffineMatrix* pMatrix = NULL);
64 void Transform(const CFX_AffineMatrix* pMatrix, CRF_Data* pData);
65 …void Transform(const CFX_AffineMatrix* pMatrix, CRF_DataPtrArray* pDataArray, int beginPos, int co…
244 …wedPage* pReflowPage, CFX_RenderDevice* pDevice, const CFX_AffineMatrix* pMatrix, IFX_Pause* pPaus…
Dreflowedpage.cpp581 …wedPage* pReflowPage, CFX_RenderDevice* pDevice, const CFX_AffineMatrix* pMatrix, IFX_Pause* pPaus… in Start() argument
583 if(!pReflowPage || !pDevice || !pMatrix) { in Start()
595 m_pDisplayMatrix->Copy(*pMatrix); in Start()
/external/pdfium/core/include/fpdfdoc/
Dfpdf_doc.h637 CFX_AffineMatrix* pMatrix, FX_BOOL bShowWidget,
641 … FX_BOOL bPrinting, CFX_AffineMatrix* pMatrix, FX_BOOL bShowWidget, in DisplayAnnots() argument
644 … DisplayAnnots(pPage, NULL, pContext, bPrinting, pMatrix, bShowWidget ? 3 : 1, pOptions, NULL); in DisplayAnnots()
648 … FX_BOOL bPrinting, CFX_AffineMatrix* pMatrix, FX_BOOL bShowWidget, in DisplayAnnots() argument
651 …DisplayAnnots(pPage, NULL, pContext, bPrinting, pMatrix, bShowWidget ? 3 : 1, pOptions, pClipRect); in DisplayAnnots()
655 … FX_BOOL bPrinting, CFX_AffineMatrix* pMatrix, FX_DWORD dwAnnotFlags,
688 … CPDF_RenderContext* pContext, FX_BOOL bPrinting, CFX_AffineMatrix* pMatrix,
1326 void DrawControl(CFX_RenderDevice* pDevice, CFX_AffineMatrix* pMatrix,
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_graph_state.cpp326 FX_FLOAT* pMatrix = GetMatrix(); in GetFontSizeV() local
327 FX_FLOAT unit = FXSYS_sqrt2(pMatrix[1], pMatrix[3]); in GetFontSizeV()
333 FX_FLOAT* pMatrix = GetMatrix(); in GetFontSizeH() local
334 FX_FLOAT unit = FXSYS_sqrt2(pMatrix[0], pMatrix[2]); in GetFontSizeH()
Dfpdf_page.cpp89 FX_RECT CPDF_PageObject::GetBBox(const CFX_AffineMatrix* pMatrix) const in GetBBox()
92 if (pMatrix) { in GetBBox()
93 pMatrix->TransformRect(rect); in GetBBox()
219 void CPDF_TextObject::GetTextMatrix(CFX_AffineMatrix* pMatrix) const in GetTextMatrix()
222 pMatrix->Set(pTextMatrix[0], pTextMatrix[2], pTextMatrix[1], pTextMatrix[3], m_PosX, m_PosY); in GetTextMatrix()
Dfpdf_page_pattern.cpp253 CFX_FloatRect _GetShadingBBox(CPDF_Stream* pStream, int type, const CFX_AffineMatrix* pMatrix, in _GetShadingBBox() argument
293 rect.Transform(pMatrix); in _GetShadingBBox()
/external/pdfium/core/src/fxge/agg/agg23/
Dagg_rasterizer_scanline_aa.h383 … void add_path_transformed(VertexSource& vs, const CFX_AffineMatrix* pMatrix, unsigned path_id = 0)
390 if (pMatrix) {
391 pMatrix->Transform(x, y);
/external/pdfium/core/include/reflow/
Dreflowengine.h68 …wedPage* pReflowPage, CFX_RenderDevice* pDevice, const CFX_AffineMatrix* pMatrix, IFX_Pause* pPaus…

12