Lines Matching refs:pGraphics
45 CXFA_Graphics* pGraphics = pParams.m_pGraphics; in DrawText() local
50 matrix.Concat(*pGraphics->GetMatrix()); in DrawText()
52 m_pTextOut->DrawLogicText(pGraphics->GetRenderDevice(), in DrawText()
95 void CFWL_WidgetTP::DrawBorder(CXFA_Graphics* pGraphics, in DrawBorder() argument
98 if (!pGraphics) in DrawBorder()
105 pGraphics->SaveGraphState(); in DrawBorder()
106 pGraphics->SetFillColor(CXFA_GEColor(ArgbEncode(255, 0, 0, 0))); in DrawBorder()
107 pGraphics->FillPath(&path, FXFILL_ALTERNATE, &matrix); in DrawBorder()
108 pGraphics->RestoreGraphState(); in DrawBorder()
111 void CFWL_WidgetTP::FillBackground(CXFA_Graphics* pGraphics, in FillBackground() argument
114 FillSolidRect(pGraphics, FWLTHEME_COLOR_Background, rect, matrix); in FillBackground()
117 void CFWL_WidgetTP::FillSolidRect(CXFA_Graphics* pGraphics, in FillSolidRect() argument
121 if (!pGraphics) in FillSolidRect()
126 pGraphics->SaveGraphState(); in FillSolidRect()
127 pGraphics->SetFillColor(CXFA_GEColor(fillColor)); in FillSolidRect()
128 pGraphics->FillPath(&path, FXFILL_WINDING, &matrix); in FillSolidRect()
129 pGraphics->RestoreGraphState(); in FillSolidRect()
132 void CFWL_WidgetTP::DrawFocus(CXFA_Graphics* pGraphics, in DrawFocus() argument
135 if (!pGraphics) in DrawFocus()
140 pGraphics->SaveGraphState(); in DrawFocus()
141 pGraphics->SetStrokeColor(CXFA_GEColor(0xFF000000)); in DrawFocus()
143 pGraphics->SetLineDash(0.0f, kDashPattern, FX_ArraySize(kDashPattern)); in DrawFocus()
144 pGraphics->StrokePath(&path, &matrix); in DrawFocus()
145 pGraphics->RestoreGraphState(); in DrawFocus()
148 void CFWL_WidgetTP::DrawArrow(CXFA_Graphics* pGraphics, in DrawArrow() argument
196 pGraphics->SetFillColor(CXFA_GEColor(argSign)); in DrawArrow()
197 pGraphics->FillPath(&path, FXFILL_WINDING, &matrix); in DrawArrow()
200 void CFWL_WidgetTP::DrawBtn(CXFA_Graphics* pGraphics, in DrawBtn() argument
205 FillSolidRect(pGraphics, m_pColorData->clrEnd[eState - 1], rect, matrix); in DrawBtn()
209 pGraphics->SetStrokeColor(CXFA_GEColor(m_pColorData->clrBorder[eState - 1])); in DrawBtn()
210 pGraphics->StrokePath(&path, &matrix); in DrawBtn()
213 void CFWL_WidgetTP::DrawArrowBtn(CXFA_Graphics* pGraphics, in DrawArrowBtn() argument
218 DrawBtn(pGraphics, rect, eState, matrix); in DrawArrowBtn()
220 DrawArrow(pGraphics, rect, eDict, m_pColorData->clrSign[eState - 1], matrix); in DrawArrowBtn()