Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFGAS_GEGraphics Class Reference

#include <cfgas_gegraphics.h>

Collaboration diagram for CFGAS_GEGraphics:

Classes

class  StateRestorer

Public Member Functions

 CFGAS_GEGraphics (CFX_RenderDevice *renderDevice)
 ~CFGAS_GEGraphics ()
CFX_RectF GetClipRect () const
const CFX_MatrixGetMatrix () const
CFX_RenderDeviceGetRenderDevice ()
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)

Detailed Description

Definition at line 26 of file cfgas_gegraphics.h.

Constructor & Destructor Documentation

◆ CFGAS_GEGraphics()

CFGAS_GEGraphics::CFGAS_GEGraphics ( CFX_RenderDevice * renderDevice)
explicit

Definition at line 119 of file cfgas_gegraphics.cpp.

References CFGAS_GEGraphics().

Referenced by CFGAS_GEGraphics(), CPDFXFA_Page::DrawFocusAnnot(), and CPDFXFA_Widget::OnDraw().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~CFGAS_GEGraphics()

CFGAS_GEGraphics::~CFGAS_GEGraphics ( )
default

Member Function Documentation

◆ ConcatMatrix()

void CFGAS_GEGraphics::ConcatMatrix ( const CFX_Matrix & matrix)

Definition at line 184 of file cfgas_gegraphics.cpp.

Referenced by pdfium::CFWL_ComboBox::DrawWidget().

Here is the caller graph for this function:

◆ EnableActOnDash()

void CFGAS_GEGraphics::EnableActOnDash ( )

Definition at line 161 of file cfgas_gegraphics.cpp.

Referenced by CXFA_FFLine::RenderWidget(), and CXFA_Stroke::Stroke().

Here is the caller graph for this function:

◆ FillPath()

◆ GetClipRect()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetMatrix()

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().

Here is the caller graph for this function:

◆ GetRenderDevice()

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().

Here is the caller graph for this function:

◆ SetClipRect()

void CFGAS_GEGraphics::SetClipRect ( const CFX_RectF & rect)

Definition at line 197 of file cfgas_gegraphics.cpp.

Referenced by CPDFXFA_Page::DrawFocusAnnot(), and pdfium::CFWL_ListBox::DrawWidget().

Here is the caller graph for this function:

◆ SetFillColor()

◆ SetLineCap()

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().

Here is the caller graph for this function:

◆ SetLineDash()

void CFGAS_GEGraphics::SetLineDash ( float dashPhase,
pdfium::span< const float > dashArray )

Definition at line 143 of file cfgas_gegraphics.cpp.

◆ SetLineWidth()

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().

Here is the caller graph for this function:

◆ SetSolidLineDash()

void CFGAS_GEGraphics::SetSolidLineDash ( )

Definition at line 153 of file cfgas_gegraphics.cpp.

Referenced by XFA_StrokeTypeSetLineDash().

Here is the caller graph for this function:

◆ SetStrokeColor()

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().

Here is the caller graph for this function:

◆ StrokePath()

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().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: