• Home
  • Raw
  • Download

Lines Matching refs:pParams

82 void CXFA_FWLTheme::DrawBackground(CFWL_ThemeBackground* pParams) {  in DrawBackground()  argument
83 GetTheme(pParams->m_pWidget)->DrawBackground(pParams); in DrawBackground()
86 void CXFA_FWLTheme::DrawText(CFWL_ThemeText* pParams) { in DrawText() argument
87 if (pParams->m_wsText.IsEmpty()) in DrawText()
90 if (pParams->m_pWidget->GetClassID() == FWL_Type::MonthCalendar) { in DrawText()
91 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget); in DrawText()
95 m_pTextOut->SetStyles(pParams->m_dwTTOStyles); in DrawText()
96 m_pTextOut->SetAlignment(pParams->m_iTTOAlign); in DrawText()
100 if ((pParams->m_iPart == CFWL_Part::DatesIn) && in DrawText()
101 !(pParams->m_dwStates & FWL_ITEMSTATE_MCD_Flag) && in DrawText()
102 (pParams->m_dwStates & in DrawText()
106 if (pParams->m_iPart == CFWL_Part::Caption) in DrawText()
109 CXFA_Graphics* pGraphics = pParams->m_pGraphics; in DrawText()
114 CFX_Matrix mtPart = pParams->m_matrix; in DrawText()
120 m_pTextOut->DrawLogicText(pRenderDevice, pParams->m_wsText.AsStringView(), in DrawText()
121 pParams->m_rtPart); in DrawText()
124 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget); in DrawText()
129 CXFA_Graphics* pGraphics = pParams->m_pGraphics; in DrawText()
134 m_pTextOut->SetStyles(pParams->m_dwTTOStyles); in DrawText()
135 m_pTextOut->SetAlignment(pParams->m_iTTOAlign); in DrawText()
139 CFX_Matrix mtPart = pParams->m_matrix; in DrawText()
145 m_pTextOut->DrawLogicText(pRenderDevice, pParams->m_wsText.AsStringView(), in DrawText()
146 pParams->m_rtPart); in DrawText()
225 void CXFA_FWLTheme::CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF& rect) { in CalcTextRect() argument
226 if (pParams->m_pWidget->GetClassID() == FWL_Type::MonthCalendar) { in CalcTextRect()
227 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget); in CalcTextRect()
228 if (!pWidget || !pParams || !m_pTextOut) in CalcTextRect()
234 m_pTextOut->SetAlignment(pParams->m_iTTOAlign); in CalcTextRect()
235 m_pTextOut->SetStyles(pParams->m_dwTTOStyles); in CalcTextRect()
236 m_pTextOut->CalcLogicSize(pParams->m_wsText, rect); in CalcTextRect()
239 CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget); in CalcTextRect()
247 if (!pParams) in CalcTextRect()
250 m_pTextOut->SetAlignment(pParams->m_iTTOAlign); in CalcTextRect()
251 m_pTextOut->SetStyles(pParams->m_dwTTOStyles); in CalcTextRect()
252 m_pTextOut->CalcLogicSize(pParams->m_wsText, rect); in CalcTextRect()