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 117 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 182 of file cfgas_gegraphics.cpp.
Referenced by CFWL_ComboBox::DrawWidget().
void CFGAS_GEGraphics::EnableActOnDash | ( | ) |
Definition at line 159 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 176 of file cfgas_gegraphics.cpp.
Referenced by CXFA_Fill::Draw(), CXFA_Linear::Draw(), CXFA_Pattern::Draw(), CXFA_Radial::Draw(), CXFA_Stipple::Draw(), CFWL_WidgetTP::DrawArrow(), CFWL_ComboBoxTP::DrawBackground(), CFWL_EditTP::DrawBackground(), CFWL_PushButtonTP::DrawBackground(), CFWL_WidgetTP::DrawBorder(), CXFA_FFField::DrawHighlight(), 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 190 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 CFWL_WidgetMgr::OnDrawWidget().
const CFX_Matrix * CFGAS_GEGraphics::GetMatrix | ( | ) | const |
Definition at line 186 of file cfgas_gegraphics.cpp.
Referenced by CFWL_WidgetTP::DrawText(), and CXFA_FWLTheme::DrawText().
CFX_RenderDevice * CFGAS_GEGraphics::GetRenderDevice | ( | ) |
Definition at line 201 of file cfgas_gegraphics.cpp.
Referenced by CXFA_FWLTheme::DrawText(), CXFA_FFField::RenderCaption(), CXFA_FFText::RenderWidget(), and XFA_DrawImage().
Definition at line 195 of file cfgas_gegraphics.cpp.
Referenced by CPDFXFA_Page::DrawFocusAnnot(), and CFWL_ListBox::DrawWidget().
void CFGAS_GEGraphics::SetFillColor | ( | const CFGAS_GEColor & | color | ) |
Definition at line 167 of file cfgas_gegraphics.cpp.
Referenced by CXFA_Fill::Draw(), CXFA_Linear::Draw(), CXFA_Pattern::Draw(), CXFA_Radial::Draw(), CXFA_Stipple::Draw(), CFWL_WidgetTP::DrawArrow(), CFWL_ComboBoxTP::DrawBackground(), CFWL_EditTP::DrawBackground(), CFWL_WidgetTP::DrawBorder(), CXFA_FFField::DrawHighlight(), 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 137 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 141 of file cfgas_gegraphics.cpp.
Referenced by CFWL_WidgetTP::DrawFocus(), and XFA_StrokeTypeSetLineDash().
void CFGAS_GEGraphics::SetLineWidth | ( | float | lineWidth | ) |
Definition at line 155 of file cfgas_gegraphics.cpp.
Referenced by CFWL_EditTP::DrawBackground(), CXFA_FFPushButton::OnDrawWidget(), CXFA_FFLine::RenderWidget(), and CXFA_Stroke::Stroke().
void CFGAS_GEGraphics::SetSolidLineDash | ( | ) |
Definition at line 151 of file cfgas_gegraphics.cpp.
Referenced by XFA_StrokeTypeSetLineDash().
void CFGAS_GEGraphics::SetStrokeColor | ( | const CFGAS_GEColor & | color | ) |
Definition at line 163 of file cfgas_gegraphics.cpp.
Referenced by CFWL_EditTP::DrawBackground(), 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 171 of file cfgas_gegraphics.cpp.
Referenced by CFWL_EditTP::DrawBackground(), CFWL_PushButtonTP::DrawBackground(), CFWL_WidgetTP::DrawBtn(), CFWL_WidgetTP::DrawFocus(), CXFA_FFPushButton::OnDrawWidget(), CXFA_FFLine::RenderWidget(), and CXFA_Stroke::Stroke().