Lines Matching defs:pMatrix

591 static HPEN _CreatePen(const CFX_GraphStateData* pGraphState, const CFX_AffineMatrix* pMatrix, FX_DWORD argb)

595 if (pMatrix)
596 scale = FXSYS_fabs(pMatrix->a) > FXSYS_fabs(pMatrix->b) ?
597 FXSYS_fabs(pMatrix->a) : FXSYS_fabs(pMatrix->b);
648 pDash[i] = FXSYS_round(pMatrix ? pMatrix->TransformDistance(pGraphState->m_DashArray[i]) : pGraphState->m_DashArray[i]);
667 static void _SetPathToDC(HDC hDC, const CFX_PathData* pPathData, const CFX_AffineMatrix* pMatrix)
674 if (pMatrix) {
675 pMatrix->Transform(posx, posy);
692 if (pMatrix) {
693 pMatrix->Transform(posx, posy);
699 if (pMatrix) {
700 pMatrix->Transform(posx, posy);
740 static FX_BOOL _MatrixNoScaled(const CFX_AffineMatrix* pMatrix)
742 return pMatrix->GetA() == 1.0f && pMatrix->GetB() == 0 && pMatrix->GetC() == 0 && pMatrix->GetD() == 1.0f;
745 const CFX_AffineMatrix* pMatrix,
763 if (pMatrix) {
764 bbox_f.Transform(pMatrix);
783 if ( !((NULL == pMatrix || _MatrixNoScaled(pMatrix)) &&
787 if (pPlatform->m_GdiplusExt.DrawPath(m_hDC, pPathData, pMatrix, pGraphState, fill_color, stroke_color, fill_mode)) {
799 hPen = _CreatePen(pGraphState, pMatrix, stroke_color);
809 if (pMatrix) {
810 pMatrix->Transform(x1, y1);
813 if (pMatrix) {
814 pMatrix->Transform(x2, y2);
818 _SetPathToDC(m_hDC, pPathData, pMatrix);
825 _SetPathToDC(m_hDC, pPathData, pMatrix);
866 const CFX_AffineMatrix* pMatrix,
872 if (pPathData->IsRect(pMatrix, &rectf)) {
878 _SetPathToDC(m_hDC, pPathData, pMatrix);
884 const CFX_AffineMatrix* pMatrix,
888 HPEN hPen = _CreatePen(pGraphState, pMatrix, 0xff000000);
890 _SetPathToDC(m_hDC, pPathData, pMatrix);