Home
last modified time | relevance | path

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

123

/external/pdfium/xfa/fwl/theme/
Dcfwl_checkboxtp.cpp48 void CFWL_CheckBoxTP::DrawSignCheck(CXFA_Graphics* pGraphics, in DrawSignCheck() argument
58 pGraphics->SaveGraphState(); in DrawSignCheck()
59 pGraphics->SetFillColor(CXFA_GEColor(argbFill)); in DrawSignCheck()
60 pGraphics->FillPath(m_pCheckPath.get(), FXFILL_WINDING, &mt); in DrawSignCheck()
61 pGraphics->RestoreGraphState(); in DrawSignCheck()
64 void CFWL_CheckBoxTP::DrawSignCircle(CXFA_Graphics* pGraphics, in DrawSignCircle() argument
70 pGraphics->SaveGraphState(); in DrawSignCircle()
71 pGraphics->SetFillColor(CXFA_GEColor(argbFill)); in DrawSignCircle()
72 pGraphics->FillPath(&path, FXFILL_WINDING, &matrix); in DrawSignCircle()
73 pGraphics->RestoreGraphState(); in DrawSignCircle()
[all …]
Dcfwl_widgettp.cpp45 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
[all …]
Dcfwl_scrollbartp.cpp39 CXFA_Graphics* pGraphics = pParams.m_pGraphics.Get(); in DrawBackground() local
43 DrawMaxMinBtn(pGraphics, pParams.m_rtPart, in DrawBackground()
49 DrawMaxMinBtn(pGraphics, pParams.m_rtPart, in DrawBackground()
55 DrawThumbBtn(pGraphics, pParams.m_rtPart, bVert, eState, true, in DrawBackground()
60 DrawTrack(pGraphics, pParams.m_rtPart, bVert, eState, true, in DrawBackground()
65 DrawTrack(pGraphics, pParams.m_rtPart, bVert, eState, false, in DrawBackground()
74 void CFWL_ScrollBarTP::DrawThumbBtn(CXFA_Graphics* pGraphics, in DrawThumbBtn() argument
92 FillSolidRect(pGraphics, m_pThemeData->clrBtnBK[eState - 1][1], rect, matrix); in DrawThumbBtn()
94 pGraphics->SaveGraphState(); in DrawThumbBtn()
98 pGraphics->SetStrokeColor( in DrawThumbBtn()
[all …]
Dcfwl_checkboxtp.h27 CXFA_Graphics* pGraphics,
31 void DrawSignCheck(CXFA_Graphics* pGraphics,
35 void DrawSignCircle(CXFA_Graphics* pGraphics,
39 void DrawSignCross(CXFA_Graphics* pGraphics,
43 void DrawSignDiamond(CXFA_Graphics* pGraphics,
47 void DrawSignSquare(CXFA_Graphics* pGraphics,
51 void DrawSignStar(CXFA_Graphics* pGraphics,
Dcfwl_pushbuttontp.cpp55 CXFA_Graphics* pGraphics = pParams.m_pGraphics.Get(); in DrawBackground() local
56 pGraphics->SaveGraphState(); in DrawBackground()
65 FillSolidRect(pGraphics, m_pThemeData->clrEnd[iColor], rect, in DrawBackground()
68 pGraphics->SetStrokeColor(CXFA_GEColor(m_pThemeData->clrBorder[iColor])); in DrawBackground()
69 pGraphics->StrokePath(&strokePath, &pParams.m_matrix); in DrawBackground()
75 pGraphics->SetFillColor(CXFA_GEColor(m_pThemeData->clrFill[iColor])); in DrawBackground()
76 pGraphics->FillPath(&fillPath, FXFILL_WINDING, &pParams.m_matrix); in DrawBackground()
79 DrawFocus(pGraphics, rtInner, pParams.m_matrix); in DrawBackground()
81 pGraphics->RestoreGraphState(); in DrawBackground()
Dcfwl_widgettp.h47 void DrawBorder(CXFA_Graphics* pGraphics,
50 void FillBackground(CXFA_Graphics* pGraphics,
53 void FillSolidRect(CXFA_Graphics* pGraphics,
57 void DrawFocus(CXFA_Graphics* pGraphics,
60 void DrawArrow(CXFA_Graphics* pGraphics,
65 void DrawBtn(CXFA_Graphics* pGraphics,
69 void DrawArrowBtn(CXFA_Graphics* pGraphics,
Dcfwl_listboxtp.cpp57 void CFWL_ListBoxTP::DrawListBoxItem(CXFA_Graphics* pGraphics, in DrawListBoxItem() argument
63 pGraphics->SaveGraphState(); in DrawListBoxItem()
64 pGraphics->SetFillColor(CXFA_GEColor(FWLTHEME_COLOR_BKSelected)); in DrawListBoxItem()
72 pGraphics->FillPath(&path, FXFILL_WINDING, &matrix); in DrawListBoxItem()
73 pGraphics->RestoreGraphState(); in DrawListBoxItem()
76 DrawFocus(pGraphics, *pData, matrix); in DrawListBoxItem()
Dcfwl_edittp.cpp40 CXFA_Graphics* pGraphics = pParams.m_pGraphics.Get(); in DrawBackground() local
41 pGraphics->SaveGraphState(); in DrawBackground()
42 pGraphics->SetFillColor(CXFA_GEColor(FWLTHEME_COLOR_BKSelected)); in DrawBackground()
43 pGraphics->FillPath(pParams.m_pPath.Get(), FXFILL_WINDING, in DrawBackground()
45 pGraphics->RestoreGraphState(); in DrawBackground()
Dcfwl_scrollbartp.h32 void DrawThumbBtn(CXFA_Graphics* pGraphics,
38 void DrawTrack(CXFA_Graphics* pGraphics,
44 void DrawMaxMinBtn(CXFA_Graphics* pGraphics,
49 void DrawPaw(CXFA_Graphics* pGraphics,
Dcfwl_carettp.cpp35 void CFWL_CaretTP::DrawCaretBK(CXFA_Graphics* pGraphics, in DrawCaretBK() argument
41 pGraphics->SetFillColor(CXFA_GEColor(ArgbEncode(255, 0, 0, 0))); in DrawCaretBK()
42 pGraphics->FillPath(&path, FXFILL_WINDING, &matrix); in DrawCaretBK()
/external/pdfium/xfa/fwl/
Dcfwl_monthcalendar.h34 void DrawWidget(CXFA_Graphics* pGraphics, const CFX_Matrix& matrix) override;
36 void OnDrawWidget(CXFA_Graphics* pGraphics,
91 void DrawBackground(CXFA_Graphics* pGraphics,
94 void DrawHeadBK(CXFA_Graphics* pGraphics,
97 void DrawLButton(CXFA_Graphics* pGraphics,
100 void DrawRButton(CXFA_Graphics* pGraphics,
103 void DrawCaption(CXFA_Graphics* pGraphics,
106 void DrawSeparator(CXFA_Graphics* pGraphics,
109 void DrawDatesInBK(CXFA_Graphics* pGraphics,
112 void DrawWeek(CXFA_Graphics* pGraphics,
[all …]
Dcfwl_monthcalendar.cpp125 void CFWL_MonthCalendar::DrawWidget(CXFA_Graphics* pGraphics, in DrawWidget() argument
127 if (!pGraphics) in DrawWidget()
135 DrawBorder(pGraphics, CFWL_Part::Border, pTheme, matrix); in DrawWidget()
137 DrawBackground(pGraphics, pTheme, &matrix); in DrawWidget()
138 DrawHeadBK(pGraphics, pTheme, &matrix); in DrawWidget()
139 DrawLButton(pGraphics, pTheme, &matrix); in DrawWidget()
140 DrawRButton(pGraphics, pTheme, &matrix); in DrawWidget()
141 DrawSeparator(pGraphics, pTheme, &matrix); in DrawWidget()
142 DrawDatesInBK(pGraphics, pTheme, &matrix); in DrawWidget()
143 DrawDatesInCircle(pGraphics, pTheme, &matrix); in DrawWidget()
[all …]
Dcfwl_caret.cpp41 void CFWL_Caret::DrawWidget(CXFA_Graphics* pGraphics, in DrawWidget() argument
43 if (!pGraphics) in DrawWidget()
50 DrawCaretBK(pGraphics, m_pProperties->m_pThemeProvider.Get(), &matrix); in DrawWidget()
66 void CFWL_Caret::DrawCaretBK(CXFA_Graphics* pGraphics, in DrawCaretBK() argument
74 param.m_pGraphics = pGraphics; in DrawCaretBK()
85 void CFWL_Caret::OnDrawWidget(CXFA_Graphics* pGraphics, in OnDrawWidget() argument
87 DrawWidget(pGraphics, matrix); in OnDrawWidget()
Dcfwl_picturebox.cpp32 void CFWL_PictureBox::DrawWidget(CXFA_Graphics* pGraphics, in DrawWidget() argument
34 if (!pGraphics) in DrawWidget()
41 DrawBorder(pGraphics, CFWL_Part::Border, pTheme, matrix); in DrawWidget()
44 void CFWL_PictureBox::OnDrawWidget(CXFA_Graphics* pGraphics, in OnDrawWidget() argument
46 DrawWidget(pGraphics, matrix); in OnDrawWidget()
Dcfwl_pushbutton.cpp51 void CFWL_PushButton::DrawWidget(CXFA_Graphics* pGraphics, in DrawWidget() argument
53 if (!pGraphics) in DrawWidget()
61 DrawBorder(pGraphics, CFWL_Part::Border, pTheme, matrix); in DrawWidget()
62 DrawBkground(pGraphics, pTheme, &matrix); in DrawWidget()
65 void CFWL_PushButton::DrawBkground(CXFA_Graphics* pGraphics, in DrawBkground() argument
72 param.m_pGraphics = pGraphics; in DrawBkground()
141 void CFWL_PushButton::OnDrawWidget(CXFA_Graphics* pGraphics, in OnDrawWidget() argument
143 DrawWidget(pGraphics, matrix); in OnDrawWidget()
Dcfwl_scrollbar.cpp52 void CFWL_ScrollBar::DrawWidget(CXFA_Graphics* pGraphics, in DrawWidget() argument
54 if (!pGraphics) in DrawWidget()
61 DrawBorder(pGraphics, CFWL_Part::Border, pTheme, matrix); in DrawWidget()
62 DrawTrack(pGraphics, pTheme, true, &matrix); in DrawWidget()
63 DrawTrack(pGraphics, pTheme, false, &matrix); in DrawWidget()
64 DrawArrowBtn(pGraphics, pTheme, true, &matrix); in DrawWidget()
65 DrawArrowBtn(pGraphics, pTheme, false, &matrix); in DrawWidget()
66 DrawThumb(pGraphics, pTheme, &matrix); in DrawWidget()
82 void CFWL_ScrollBar::DrawTrack(CXFA_Graphics* pGraphics, in DrawTrack() argument
92 param.m_pGraphics = pGraphics; in DrawTrack()
[all …]
Dcfwl_listbox.h45 void DrawWidget(CXFA_Graphics* pGraphics, const CFX_Matrix& matrix) override;
49 void OnDrawWidget(CXFA_Graphics* pGraphics,
88 void DrawBkground(CXFA_Graphics* pGraphics,
91 void DrawItems(CXFA_Graphics* pGraphics,
94 void DrawItem(CXFA_Graphics* pGraphics,
100 void DrawStatic(CXFA_Graphics* pGraphics, IFWL_ThemeProvider* pTheme);
Dcfwl_scrollbar.h35 void DrawWidget(CXFA_Graphics* pGraphics, const CFX_Matrix& matrix) override;
37 void OnDrawWidget(CXFA_Graphics* pGraphics,
65 void DrawTrack(CXFA_Graphics* pGraphics,
69 void DrawArrowBtn(CXFA_Graphics* pGraphics,
73 void DrawThumb(CXFA_Graphics* pGraphics,
Dcfwl_caret.h28 void DrawWidget(CXFA_Graphics* pGraphics, const CFX_Matrix& matrix) override;
30 void OnDrawWidget(CXFA_Graphics* pGraphics,
41 void DrawCaretBK(CXFA_Graphics* pGraphics,
Dcfwl_listbox.cpp85 void CFWL_ListBox::DrawWidget(CXFA_Graphics* pGraphics, in DrawWidget() argument
87 if (!pGraphics) in DrawWidget()
94 pGraphics->SaveGraphState(); in DrawWidget()
96 DrawBorder(pGraphics, CFWL_Part::Border, pTheme, matrix); in DrawWidget()
104 pGraphics->SetClipRect(matrix.TransformRect(rtClip)); in DrawWidget()
106 DrawBkground(pGraphics, pTheme, &matrix); in DrawWidget()
108 DrawItems(pGraphics, pTheme, &matrix); in DrawWidget()
109 pGraphics->RestoreGraphState(); in DrawWidget()
345 void CFWL_ListBox::DrawBkground(CXFA_Graphics* pGraphics, in DrawBkground() argument
348 if (!pGraphics) in DrawBkground()
[all …]
Dcfwl_datetimepicker.cpp102 void CFWL_DateTimePicker::DrawWidget(CXFA_Graphics* pGraphics, in DrawWidget() argument
104 if (!pGraphics) in DrawWidget()
112 DrawBorder(pGraphics, CFWL_Part::Border, pTheme, matrix); in DrawWidget()
114 DrawDropDownButton(pGraphics, pTheme, &matrix); in DrawWidget()
121 m_pEdit->DrawWidget(pGraphics, mt); in DrawWidget()
129 m_pMonthCal->DrawWidget(pGraphics, mt); in DrawWidget()
198 void CFWL_DateTimePicker::DrawDropDownButton(CXFA_Graphics* pGraphics, in DrawDropDownButton() argument
205 param.m_pGraphics = pGraphics; in DrawDropDownButton()
374 void CFWL_DateTimePicker::OnDrawWidget(CXFA_Graphics* pGraphics, in OnDrawWidget() argument
376 DrawWidget(pGraphics, matrix); in OnDrawWidget()
Dcfwl_pushbutton.h29 void DrawWidget(CXFA_Graphics* pGraphics, const CFX_Matrix& matrix) override;
31 void OnDrawWidget(CXFA_Graphics* pGraphics,
35 void DrawBkground(CXFA_Graphics* pGraphics,
Dcfwl_checkbox.cpp58 void CFWL_CheckBox::DrawWidget(CXFA_Graphics* pGraphics, in DrawWidget() argument
60 if (!pGraphics) in DrawWidget()
68 DrawBorder(pGraphics, CFWL_Part::Border, pTheme, matrix); in DrawWidget()
76 param.m_pGraphics = pGraphics; in DrawWidget()
92 textParam.m_pGraphics = pGraphics; in DrawWidget()
245 void CFWL_CheckBox::OnDrawWidget(CXFA_Graphics* pGraphics, in OnDrawWidget() argument
247 DrawWidget(pGraphics, matrix); in OnDrawWidget()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_stroke.cpp19 void XFA_StrokeTypeSetLineDash(CXFA_Graphics* pGraphics, in XFA_StrokeTypeSetLineDash() argument
29 pGraphics->SetLineDash(0, dashArray, FX_ArraySize(dashArray)); in XFA_StrokeTypeSetLineDash()
39 pGraphics->SetLineDash(0, dashArray, FX_ArraySize(dashArray)); in XFA_StrokeTypeSetLineDash()
47 pGraphics->SetLineDash(0, dashArray, FX_ArraySize(dashArray)); in XFA_StrokeTypeSetLineDash()
55 pGraphics->SetLineDash(0, dashArray, FX_ArraySize(dashArray)); in XFA_StrokeTypeSetLineDash()
59 pGraphics->SetSolidLineDash(); in XFA_StrokeTypeSetLineDash()
/external/pdfium/core/fxge/win32/
Dfx_win32_gdipext.cpp316 void OutputImage(Gdiplus::GpGraphics* pGraphics, in OutputImage() argument
330 OutputImage(pGraphics, pCloned, &new_rect, dest_left, dest_top, dest_width, in OutputImage()
380 CallFunc(GdipDrawImagePointsI)(pGraphics, bitmap, destinationPoints, 3); in OutputImage()
784 Gdiplus::GpGraphics* pGraphics; in StretchDIBits() local
786 CallFunc(GdipCreateFromHDC)(hDC, &pGraphics); in StretchDIBits()
787 CallFunc(GdipSetPageUnit)(pGraphics, Gdiplus::UnitPixel); in StretchDIBits()
790 pGraphics, Gdiplus::InterpolationModeNearestNeighbor); in StretchDIBits()
793 CallFunc(GdipSetInterpolationMode)(pGraphics, in StretchDIBits()
796 CallFunc(GdipSetInterpolationMode)(pGraphics, in StretchDIBits()
800 OutputImage(pGraphics, pBitmap, &src_rect, dest_left, dest_top, dest_width, in StretchDIBits()
[all …]

123