Home
last modified time | relevance | path

Searched refs:pGraphics (Results 1 – 25 of 72) sorted by relevance

123

/external/pdfium/xfa/src/fwl/src/theme/
Dscrollbartp.cpp59 CFX_Graphics* pGraphics = pParams->m_pGraphics; in DrawBackground() local
64 DrawMaxMinBtn(pGraphics, pRect, in DrawBackground()
70 DrawMaxMinBtn(pGraphics, pRect, in DrawBackground()
76 DrawThumbBtn(pGraphics, pRect, bVert, eState, TRUE, &pParams->m_matrix); in DrawBackground()
80 DrawTrack(pGraphics, pRect, bVert, eState, TRUE, &pParams->m_matrix); in DrawBackground()
84 DrawTrack(pGraphics, pRect, bVert, eState, FALSE, &pParams->m_matrix); in DrawBackground()
92 void CFWL_ScrollBarTP::DrawThumbBtn(CFX_Graphics* pGraphics, in DrawThumbBtn() argument
110 DrawAxialShading(pGraphics, rect.left, rect.top, rect.right(), rect.top, in DrawThumbBtn()
116 pGraphics->SaveGraphState(); in DrawThumbBtn()
117 pGraphics->SetStrokeColor(&rcStroke); in DrawThumbBtn()
[all …]
Dwidgettp.cpp62 CFX_Graphics* pGraphics = pParams->m_pGraphics; in DrawText() local
63 m_pTextOut->SetRenderDevice(pGraphics->GetRenderDevice()); in DrawText()
67 pMatrix->Concat(*pGraphics->GetMatrix()); in DrawText()
212 void CFWL_WidgetTP::DrawEdge(CFX_Graphics* pGraphics, in DrawEdge() argument
216 if (!pGraphics) in DrawEdge()
220 pGraphics->SaveGraphState(); in DrawEdge()
224 pGraphics->SetStrokeColor(&crStroke); in DrawEdge()
229 pGraphics->StrokePath(&path, pMatrix); in DrawEdge()
232 pGraphics->SetStrokeColor(&crStroke); in DrawEdge()
235 pGraphics->StrokePath(&path, pMatrix); in DrawEdge()
[all …]
Dcheckboxtp.cpp103 CFX_Graphics* pGraphics, in DrawBoxBk() argument
163 DrawAxialShading(pGraphics, pRect->left - 1, pRect->top - 1, fRight, fBottom, in DrawBoxBk()
168 CFX_Graphics* pGraphics, in DrawSign() argument
206 DrawSignCheck(pGraphics, &rtSign, dwColor, pMatrix); in DrawSign()
211 DrawSignCircle(pGraphics, &rtSign, dwColor, pMatrix); in DrawSign()
215 DrawSignCross(pGraphics, &rtSign, dwColor, pMatrix); in DrawSign()
219 DrawSignDiamond(pGraphics, &rtSign, dwColor, pMatrix); in DrawSign()
223 DrawSignSquare(pGraphics, &rtSign, dwColor, pMatrix); in DrawSign()
227 DrawSignStar(pGraphics, &rtSign, dwColor, pMatrix); in DrawSign()
232 FillSoildRect(pGraphics, ArgbEncode(255, 33, 161, 33), &rtSign, pMatrix); in DrawSign()
[all …]
Dformtp.cpp276 void CFWL_FormTP::DrawFormBorder(CFX_Graphics* pGraphics, in DrawFormBorder() argument
295 pGraphics->SetStrokeColor(&clrLine); in DrawFormBorder()
296 pGraphics->StrokePath(&path, pMatrix); in DrawFormBorder()
303 pGraphics->SetStrokeColor(&clrLine); in DrawFormBorder()
304 pGraphics->StrokePath(&path, pMatrix); in DrawFormBorder()
311 pGraphics->SetStrokeColor(&clrLine); in DrawFormBorder()
312 pGraphics->StrokePath(&path, pMatrix); in DrawFormBorder()
319 pGraphics->SetStrokeColor(&clrLine); in DrawFormBorder()
320 pGraphics->StrokePath(&path, pMatrix); in DrawFormBorder()
327 void CFWL_FormTP::DrawCaption(CFX_Graphics* pGraphics, in DrawCaption() argument
[all …]
Dpushbuttontp.cpp56 CFX_Graphics* pGraphics = pParams->m_pGraphics; in DrawBackground() local
57 pGraphics->SaveGraphState(); in DrawBackground()
64 DrawAxialShading(pGraphics, rect.left + PUSHBUTTON_SIZE_Corner, rect.top, in DrawBackground()
70 pGraphics->SetStrokeColor(&crStroke); in DrawBackground()
71 pGraphics->StrokePath(&strokePath, &pParams->m_matrix); in DrawBackground()
76 pGraphics->SetFillColor(&crFill); in DrawBackground()
77 pGraphics->FillPath(&fillPath, FXFILL_WINDING, &pParams->m_matrix); in DrawBackground()
80 DrawFocus(pGraphics, &rtInner, &pParams->m_matrix); in DrawBackground()
82 pGraphics->RestoreGraphState(); in DrawBackground()
Dlistboxtp.cpp69 void CFWL_ListBoxTP::DrawListBoxItem(CFX_Graphics* pGraphics, in DrawListBoxItem() argument
75 pGraphics->SaveGraphState(); in DrawListBoxItem()
79 pGraphics->SetFillColor(&crFill); in DrawListBoxItem()
88 pGraphics->FillPath(&path, FXFILL_WINDING, pMatrix); in DrawListBoxItem()
89 pGraphics->RestoreGraphState(); in DrawListBoxItem()
93 DrawFocus(pGraphics, (CFX_RectF*)pData, pMatrix); in DrawListBoxItem()
Dedittp.cpp28 CFX_Graphics* pGraphics = pParams->m_pGraphics; in DrawBackground() local
29 pGraphics->SaveGraphState(); in DrawBackground()
33 pGraphics->SetFillColor(&crSelected); in DrawBackground()
34 pGraphics->FillPath(pParams->m_pPath, FXFILL_WINDING, in DrawBackground()
36 pGraphics->RestoreGraphState(); in DrawBackground()
Dcarettp.cpp31 void CFWL_CaretTP::DrawCaretBK(CFX_Graphics* pGraphics, in DrawCaretBK() argument
42 pGraphics->SetFillColor(&crFilltemp); in DrawCaretBK()
43 pGraphics->FillPath(&path, FXFILL_WINDING, pMatrix); in DrawCaretBK()
/external/pdfium/xfa/include/fwl/theme/
Dcheckboxtp.h26 CFX_Graphics* pGraphics,
31 CFX_Graphics* pGraphics,
35 void DrawSignNeutral(CFX_Graphics* pGraphics,
38 void DrawSignCheck(CFX_Graphics* pGraphics,
42 void DrawSignCircle(CFX_Graphics* pGraphics,
46 void DrawSignCross(CFX_Graphics* pGraphics,
50 void DrawSignDiamond(CFX_Graphics* pGraphics,
54 void DrawSignSquare(CFX_Graphics* pGraphics,
58 void DrawSignStar(CFX_Graphics* pGraphics,
63 CFX_Graphics* pGraphics,
Dwidgettp.h55 void DrawEdge(CFX_Graphics* pGraphics,
59 void Draw3DRect(CFX_Graphics* pGraphics,
68 void Draw3DCircle(CFX_Graphics* pGraphics,
77 void DrawBorder(CFX_Graphics* pGraphics,
80 void FillBackground(CFX_Graphics* pGraphics,
83 void FillSoildRect(CFX_Graphics* pGraphics,
87 void DrawAxialShading(CFX_Graphics* pGraphics,
97 void DrawAnnulusRect(CFX_Graphics* pGraphics,
102 void DrawAnnulusCircle(CFX_Graphics* pGraphics,
107 void DrawFocus(CFX_Graphics* pGraphics,
[all …]
Dformtp.h34 void DrawFormBorder(CFX_Graphics* pGraphics,
39 void DrawCaption(CFX_Graphics* pGraphics,
44 void DrawNarrowCaption(CFX_Graphics* pGraphics,
49 void DrawCloseBox(CFX_Graphics* pGraphics,
54 void DrawMinMaxBoxCommon(CFX_Graphics* pGraphics,
59 void DrawMinimizeBox(CFX_Graphics* pGraphics,
64 void DrawMaximizeBox(CFX_Graphics* pGraphics,
70 void DrawIconImage(CFX_Graphics* pGraphics,
Dscrollbartp.h23 void DrawThumbBtn(CFX_Graphics* pGraphics,
29 void DrawTrack(CFX_Graphics* pGraphics,
35 void DrawMaxMinBtn(CFX_Graphics* pGraphics,
40 void DrawPaw(CFX_Graphics* pGraphics,
/external/pdfium/xfa/src/fwl/src/basewidget/include/
Dfwl_monthcalendarimp.h29 virtual FWL_ERR DrawWidget(CFX_Graphics* pGraphics,
39 void DrawBkground(CFX_Graphics* pGraphics,
42 void DrawHeadBK(CFX_Graphics* pGraphics,
45 void DrawLButton(CFX_Graphics* pGraphics,
48 void DrawRButton(CFX_Graphics* pGraphics,
51 void DrawCaption(CFX_Graphics* pGraphics,
54 void DrawSeperator(CFX_Graphics* pGraphics,
57 void DrawDatesInBK(CFX_Graphics* pGraphics,
60 void DrawWeek(CFX_Graphics* pGraphics,
63 void DrawWeekNumber(CFX_Graphics* pGraphics,
[all …]
Dfwl_listboximp.h31 virtual FWL_ERR DrawWidget(CFX_Graphics* pGraphics,
58 void DrawBkground(CFX_Graphics* pGraphics,
61 void DrawItems(CFX_Graphics* pGraphics,
64 void DrawItem(CFX_Graphics* pGraphics,
70 void DrawStatic(CFX_Graphics* pGraphics, IFWL_ThemeProvider* pTheme);
105 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics,
Dfwl_pushbuttonimp.h27 virtual FWL_ERR DrawWidget(CFX_Graphics* pGraphics,
31 void DrawBkground(CFX_Graphics* pGraphics,
34 void DrawText(CFX_Graphics* pGraphics,
51 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics,
Dfwl_spinbuttonimp.h28 virtual FWL_ERR DrawWidget(CFX_Graphics* pGraphics,
35 void DrawUpButton(CFX_Graphics* pGraphics,
38 void DrawDownButton(CFX_Graphics* pGraphics,
56 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics,
Dfwl_tooltipctrlimp.h27 virtual FWL_ERR DrawWidget(CFX_Graphics* pGraphics,
36 void DrawBkground(CFX_Graphics* pGraphics,
39 void DrawText(CFX_Graphics* pGraphics,
71 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics,
/external/pdfium/xfa/src/fwl/src/basewidget/
Dfwl_pictureboximp.cpp84 FWL_ERR CFWL_PictureBoxImp::DrawWidget(CFX_Graphics* pGraphics, in DrawWidget() argument
86 if (!pGraphics) in DrawWidget()
92 DrawBorder(pGraphics, FWL_PART_PTB_Border, pTheme, pMatrix); in DrawWidget()
95 DrawEdge(pGraphics, FWL_PART_PTB_Edge, pTheme, pMatrix); in DrawWidget()
97 DrawBkground(pGraphics, pTheme, pMatrix); in DrawWidget()
100 void CFWL_PictureBoxImp::DrawBkground(CFX_Graphics* pGraphics, in DrawBkground() argument
125 pGraphics->DrawImage(pPicture, pt, &matrix); in DrawBkground()
147 FWL_ERR CFWL_PictureBoxImpDelegate::OnDrawWidget(CFX_Graphics* pGraphics, in OnDrawWidget() argument
149 return m_pOwner->DrawWidget(pGraphics, pMatrix); in OnDrawWidget()
Dfwl_monthcalendarimp.cpp131 FWL_ERR CFWL_MonthCalendarImp::DrawWidget(CFX_Graphics* pGraphics, in DrawWidget() argument
133 if (!pGraphics) in DrawWidget()
140 DrawBorder(pGraphics, FWL_PART_MCD_Border, pTheme, pMatrix); in DrawWidget()
143 DrawEdge(pGraphics, FWL_PART_MCD_Edge, pTheme, pMatrix); in DrawWidget()
145 DrawBkground(pGraphics, pTheme, pMatrix); in DrawWidget()
146 DrawHeadBK(pGraphics, pTheme, pMatrix); in DrawWidget()
147 DrawLButton(pGraphics, pTheme, pMatrix); in DrawWidget()
148 DrawRButton(pGraphics, pTheme, pMatrix); in DrawWidget()
149 DrawSeperator(pGraphics, pTheme, pMatrix); in DrawWidget()
150 DrawDatesInBK(pGraphics, pTheme, pMatrix); in DrawWidget()
[all …]
Dfwl_caretimp.cpp73 FWL_ERR CFWL_CaretImp::DrawWidget(CFX_Graphics* pGraphics, in DrawWidget() argument
75 if (!pGraphics) in DrawWidget()
81 DrawCaretBK(pGraphics, m_pProperties->m_pThemeProvider, pMatrix); in DrawWidget()
107 FX_BOOL CFWL_CaretImp::DrawCaretBK(CFX_Graphics* pGraphics, in DrawCaretBK() argument
115 param.m_pGraphics = pGraphics; in DrawCaretBK()
151 FWL_ERR CFWL_CaretImpDelegate::OnDrawWidget(CFX_Graphics* pGraphics, in OnDrawWidget() argument
153 return m_pOwner->DrawWidget(pGraphics, pMatrix); in OnDrawWidget()
Dfwl_tooltipctrlimp.cpp131 FWL_ERR CFWL_ToolTipImp::DrawWidget(CFX_Graphics* pGraphics, in DrawWidget() argument
136 return toolTipTarget->DrawToolTip(pGraphics, pMatrix, m_pInterface); in DrawWidget()
138 if (!pGraphics) in DrawWidget()
143 DrawBkground(pGraphics, pTheme, pMatrix); in DrawWidget()
144 DrawText(pGraphics, pTheme, pMatrix); in DrawWidget()
147 void CFWL_ToolTipImp::DrawBkground(CFX_Graphics* pGraphics, in DrawBkground() argument
154 param.m_pGraphics = pGraphics; in DrawBkground()
164 void CFWL_ToolTipImp::DrawText(CFX_Graphics* pGraphics, in DrawText() argument
178 param.m_pGraphics = pGraphics; in DrawText()
288 FWL_ERR CFWL_ToolTipImpDelegate::OnDrawWidget(CFX_Graphics* pGraphics, in OnDrawWidget() argument
[all …]
Dfwl_pushbuttonimp.cpp104 FWL_ERR CFWL_PushButtonImp::DrawWidget(CFX_Graphics* pGraphics, in DrawWidget() argument
106 if (!pGraphics) in DrawWidget()
115 DrawBorder(pGraphics, FWL_PART_PSB_Border, m_pProperties->m_pThemeProvider, in DrawWidget()
119 DrawEdge(pGraphics, FWL_PART_PSB_Edge, m_pProperties->m_pThemeProvider, in DrawWidget()
122 DrawBkground(pGraphics, m_pProperties->m_pThemeProvider, pMatrix); in DrawWidget()
138 DrawText(pGraphics, m_pProperties->m_pThemeProvider, &matrix); in DrawWidget()
195 pGraphics->DrawImage(pPicture, point, &matrix); in DrawWidget()
283 pGraphics->DrawImage(pPicture, point, &matrix); in DrawWidget()
287 DrawText(pGraphics, m_pProperties->m_pThemeProvider, &matrix); in DrawWidget()
292 void CFWL_PushButtonImp::DrawBkground(CFX_Graphics* pGraphics, in DrawBkground() argument
[all …]
Dfwl_spinbuttonimp.cpp118 FWL_ERR CFWL_SpinButtonImp::DrawWidget(CFX_Graphics* pGraphics, in DrawWidget() argument
120 if (!pGraphics) in DrawWidget()
128 DrawBorder(pGraphics, FWL_PART_SPB_Border, pTheme, pMatrix); in DrawWidget()
131 DrawEdge(pGraphics, FWL_PART_SPB_Edge, pTheme, pMatrix); in DrawWidget()
133 DrawUpButton(pGraphics, pTheme, pMatrix); in DrawWidget()
134 DrawDownButton(pGraphics, pTheme, pMatrix); in DrawWidget()
168 void CFWL_SpinButtonImp::DrawUpButton(CFX_Graphics* pGraphics, in DrawUpButton() argument
174 params.m_pGraphics = pGraphics; in DrawUpButton()
182 void CFWL_SpinButtonImp::DrawDownButton(CFX_Graphics* pGraphics, in DrawDownButton() argument
188 params.m_pGraphics = pGraphics; in DrawDownButton()
[all …]
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_fwltheme.cpp132 CFX_Graphics* pGraphics = pParams->m_pGraphics; in DrawText() local
133 CFX_RenderDevice* pRenderDevice = pGraphics->GetRenderDevice(); in DrawText()
138 CFX_Matrix* pMatrix = pGraphics->GetMatrix(); in DrawText()
152 CFX_Graphics* pGraphics = pParams->m_pGraphics; in DrawText() local
153 CFX_RenderDevice* pRenderDevice = pGraphics->GetRenderDevice(); in DrawText()
163 CFX_Matrix* pMatrix = pGraphics->GetMatrix(); in DrawText()
354 CFX_Graphics* pGraphics, in DrawCheckSign() argument
368 DrawSignCheck(pGraphics, &rtSign, dwColor, pMatrix); in DrawCheckSign()
371 DrawSignCircle(pGraphics, &rtSign, dwColor, pMatrix); in DrawCheckSign()
374 DrawSignCross(pGraphics, &rtSign, dwColor, pMatrix); in DrawCheckSign()
[all …]
/external/pdfium/core/src/fxge/win32/
Dfx_win32_gdipext.cpp516 static void OutputImageMask(GpGraphics* pGraphics, in OutputImageMask() argument
545 CallFunc(GdipFillRectangle)(pGraphics, solidBrush, (float)dest_left, in OutputImageMask()
584 CallFunc(GdipDrawImageI)(pGraphics, bitmap, in OutputImageMask()
599 CallFunc(GdipDrawImagePointsI)(pGraphics, bitmap, destinationPoints, 3); in OutputImageMask()
602 static void OutputImage(GpGraphics* pGraphics, in OutputImage() argument
618 OutputImage(pGraphics, pCloned, &new_rect, dest_left, dest_top, dest_width, in OutputImage()
669 CallFunc(GdipDrawImagePointsI)(pGraphics, bitmap, destinationPoints, 3); in OutputImage()
924 GpGraphics* pGraphics = NULL; in StretchBitMask() local
925 CallFunc(GdipCreateFromHDC)(hDC, &pGraphics); in StretchBitMask()
926 CallFunc(GdipSetPageUnit)(pGraphics, UnitPixel); in StretchBitMask()
[all …]

123