![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cfgas_gegraphics.h>
Classes | |
class | StateRestorer |
Public Member Functions | |
CFGAS_GEGraphics (CFX_RenderDevice *renderDevice) | |
~CFGAS_GEGraphics () | |
CFX_RectF | GetClipRect () const |
const CFX_Matrix * | GetMatrix () const |
CFX_RenderDevice * | GetRenderDevice () |
void | SetLineCap (CFX_GraphStateData::LineCap lineCap) |
void | SetLineDash (float dashPhase, pdfium::span< const float > dashArray) |
void | SetSolidLineDash () |
void | SetLineWidth (float lineWidth) |
void | EnableActOnDash () |
void | SetStrokeColor (const CFGAS_GEColor &color) |
void | SetFillColor (const CFGAS_GEColor &color) |
void | SetClipRect (const CFX_RectF &rect) |
void | StrokePath (const CFGAS_GEPath &path, const CFX_Matrix &matrix) |
void | FillPath (const CFGAS_GEPath &path, CFX_FillRenderOptions::FillType fill_type, const CFX_Matrix &matrix) |
void | ConcatMatrix (const CFX_Matrix &matrix) |
Definition at line 26 of file cfgas_gegraphics.h.
|
explicit |
Definition at line 119 of file cfgas_gegraphics.cpp.
References CFGAS_GEGraphics().
Referenced by CFGAS_GEGraphics(), CPDFXFA_Page::DrawFocusAnnot(), and CPDFXFA_Widget::OnDraw().
|
default |
void CFGAS_GEGraphics::ConcatMatrix | ( | const CFX_Matrix & | matrix | ) |
Definition at line 184 of file cfgas_gegraphics.cpp.
Referenced by pdfium::CFWL_ComboBox::DrawWidget().
void CFGAS_GEGraphics::EnableActOnDash | ( | ) |
Definition at line 161 of file cfgas_gegraphics.cpp.
Referenced by CXFA_FFLine::RenderWidget(), and CXFA_Stroke::Stroke().
void CFGAS_GEGraphics::FillPath | ( | const CFGAS_GEPath & | path, |
CFX_FillRenderOptions::FillType | fill_type, | ||
const CFX_Matrix & | matrix ) |
Definition at line 178 of file cfgas_gegraphics.cpp.
Referenced by CXFA_Fill::Draw(), CXFA_Linear::Draw(), CXFA_Pattern::Draw(), CXFA_Radial::Draw(), CXFA_Stipple::Draw(), pdfium::CFWL_WidgetTP::DrawArrow(), pdfium::CFWL_ComboBoxTP::DrawBackground(), pdfium::CFWL_EditTP::DrawBackground(), pdfium::CFWL_PushButtonTP::DrawBackground(), pdfium::CFWL_WidgetTP::DrawBorder(), CXFA_FFField::DrawHighlight(), pdfium::CFWL_WidgetTP::FillSolidRect(), CXFA_FFPushButton::OnDrawWidget(), CXFA_Rectangle::StrokeLowered(), CXFA_Rectangle::StrokeRaised(), and CXFA_Rectangle::StrokeRect().
CFX_RectF CFGAS_GEGraphics::GetClipRect | ( | ) | const |
Definition at line 192 of file cfgas_gegraphics.cpp.
References CFX_RectF::CFX_RectF(), FX_RECT::Height(), FX_RECT::left, FX_RECT::top, and FX_RECT::Width().
Referenced by pdfium::CFWL_WidgetMgr::OnDrawWidget().
const CFX_Matrix * CFGAS_GEGraphics::GetMatrix | ( | ) | const |
Definition at line 188 of file cfgas_gegraphics.cpp.
Referenced by pdfium::CFWL_WidgetTP::DrawText(), and pdfium::CXFA_FWLTheme::DrawText().
CFX_RenderDevice * CFGAS_GEGraphics::GetRenderDevice | ( | ) |
Definition at line 203 of file cfgas_gegraphics.cpp.
Referenced by pdfium::CXFA_FWLTheme::DrawText(), CXFA_FFField::RenderCaption(), CXFA_FFText::RenderWidget(), and XFA_DrawImage().
Definition at line 197 of file cfgas_gegraphics.cpp.
Referenced by CPDFXFA_Page::DrawFocusAnnot(), and pdfium::CFWL_ListBox::DrawWidget().
void CFGAS_GEGraphics::SetFillColor | ( | const CFGAS_GEColor & | color | ) |
Definition at line 169 of file cfgas_gegraphics.cpp.
Referenced by CXFA_Fill::Draw(), CXFA_Linear::Draw(), CXFA_Pattern::Draw(), CXFA_Radial::Draw(), CXFA_Stipple::Draw(), pdfium::CFWL_WidgetTP::DrawArrow(), pdfium::CFWL_ComboBoxTP::DrawBackground(), pdfium::CFWL_EditTP::DrawBackground(), pdfium::CFWL_WidgetTP::DrawBorder(), CXFA_FFField::DrawHighlight(), pdfium::CFWL_WidgetTP::FillSolidRect(), CXFA_FFPushButton::OnDrawWidget(), CXFA_Rectangle::StrokeLowered(), CXFA_Rectangle::StrokeRaised(), and CXFA_Rectangle::StrokeRect().
void CFGAS_GEGraphics::SetLineCap | ( | CFX_GraphStateData::LineCap | lineCap | ) |
Definition at line 139 of file cfgas_gegraphics.cpp.
Referenced by CXFA_FFLine::RenderWidget(), and CXFA_Stroke::Stroke().
void CFGAS_GEGraphics::SetLineDash | ( | float | dashPhase, |
pdfium::span< const float > | dashArray ) |
Definition at line 143 of file cfgas_gegraphics.cpp.
void CFGAS_GEGraphics::SetLineWidth | ( | float | lineWidth | ) |
Definition at line 157 of file cfgas_gegraphics.cpp.
Referenced by pdfium::CFWL_EditTP::DrawBackground(), CXFA_FFPushButton::OnDrawWidget(), CXFA_FFLine::RenderWidget(), and CXFA_Stroke::Stroke().
void CFGAS_GEGraphics::SetSolidLineDash | ( | ) |
Definition at line 153 of file cfgas_gegraphics.cpp.
Referenced by XFA_StrokeTypeSetLineDash().
void CFGAS_GEGraphics::SetStrokeColor | ( | const CFGAS_GEColor & | color | ) |
Definition at line 165 of file cfgas_gegraphics.cpp.
Referenced by pdfium::CFWL_EditTP::DrawBackground(), pdfium::CFWL_WidgetTP::DrawFocus(), CXFA_FFPushButton::OnDrawWidget(), CXFA_FFLine::RenderWidget(), and CXFA_Stroke::Stroke().
void CFGAS_GEGraphics::StrokePath | ( | const CFGAS_GEPath & | path, |
const CFX_Matrix & | matrix ) |
Definition at line 173 of file cfgas_gegraphics.cpp.
Referenced by pdfium::CFWL_EditTP::DrawBackground(), pdfium::CFWL_PushButtonTP::DrawBackground(), pdfium::CFWL_WidgetTP::DrawBtn(), pdfium::CFWL_WidgetTP::DrawFocus(), CXFA_FFPushButton::OnDrawWidget(), CXFA_FFLine::RenderWidget(), and CXFA_Stroke::Stroke().