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
CFX_FillRenderOptions Struct Reference

#include <cfx_fillrenderoptions.h>

+ Collaboration diagram for CFX_FillRenderOptions:

Public Types

enum class  FillType : uint8_t { kNoFill = 0 , kEvenOdd = 1 , kWinding = 2 }
 

Public Member Functions

constexpr CFX_FillRenderOptions ()
 
constexpr CFX_FillRenderOptions (FillType fill_type)
 
bool operator== (const CFX_FillRenderOptions &other) const
 
bool operator!= (const CFX_FillRenderOptions &other) const
 

Static Public Member Functions

static constexpr CFX_FillRenderOptions EvenOddOptions ()
 
static constexpr CFX_FillRenderOptions WindingOptions ()
 

Public Attributes

FillType fill_type
 
bool adjust_stroke: 1
 
bool aliased_path: 1
 
bool full_cover: 1
 
bool rect_aa: 1
 
bool stroke: 1
 
bool stroke_text_mode: 1
 
bool text_mode: 1
 
bool zero_area: 1
 

Detailed Description

Definition at line 11 of file cfx_fillrenderoptions.h.

Member Enumeration Documentation

◆ FillType

enum class CFX_FillRenderOptions::FillType : uint8_t
strong
Enumerator
kNoFill 
kEvenOdd 
kWinding 

Definition at line 13 of file cfx_fillrenderoptions.h.

Constructor & Destructor Documentation

◆ CFX_FillRenderOptions() [1/2]

CFX_FillRenderOptions::CFX_FillRenderOptions ( )
inlineconstexpr

Definition at line 33 of file cfx_fillrenderoptions.h.

References CFX_FillRenderOptions(), and kNoFill.

Referenced by CPDF_Annot::DrawBorder(), and CFX_SkiaDeviceDriver::SetClip_PathStroke().

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

◆ CFX_FillRenderOptions() [2/2]

CFX_FillRenderOptions::CFX_FillRenderOptions ( FillType fill_type)
inlineexplicitconstexpr

Definition at line 38 of file cfx_fillrenderoptions.h.

References adjust_stroke, aliased_path, fill_type, full_cover, rect_aa, stroke, stroke_text_mode, text_mode, and zero_area.

Referenced by CFX_FillRenderOptions(), EvenOddOptions(), TEST(), and WindingOptions().

+ Here is the caller graph for this function:

Member Function Documentation

◆ EvenOddOptions()

static constexpr CFX_FillRenderOptions CFX_FillRenderOptions::EvenOddOptions ( )
inlinestaticconstexpr

Definition at line 26 of file cfx_fillrenderoptions.h.

References CFX_FillRenderOptions(), and kEvenOdd.

Referenced by CPDFSDK_Widget::DrawAppearance(), CFX_RenderDevice::DrawBorder(), CFX_RenderDevice::DrawFillArea(), CFX_DrawUtils::DrawFocusRect(), CFX_RenderDevice::DrawStrokeLine(), CFX_RenderDevice::DrawStrokeRect(), CPWL_Caret::DrawThisAppearance(), CPWL_CBButton::DrawThisAppearance(), CPWL_Edit::DrawThisAppearance(), CBC_OneDimWriter::RenderDeviceResult(), and CBC_TwoDimWriter::RenderDeviceResult().

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

◆ operator!=()

bool CFX_FillRenderOptions::operator!= ( const CFX_FillRenderOptions & other) const
inline

Definition at line 59 of file cfx_fillrenderoptions.h.

References operator==().

+ Here is the call graph for this function:

◆ operator==()

bool CFX_FillRenderOptions::operator== ( const CFX_FillRenderOptions & other) const
inline

Definition at line 49 of file cfx_fillrenderoptions.h.

References adjust_stroke, aliased_path, fill_type, full_cover, rect_aa, stroke, stroke_text_mode, text_mode, and zero_area.

Referenced by operator!=().

+ Here is the caller graph for this function:

◆ WindingOptions()

static constexpr CFX_FillRenderOptions CFX_FillRenderOptions::WindingOptions ( )
inlinestaticconstexpr

Definition at line 29 of file cfx_fillrenderoptions.h.

References CFX_FillRenderOptions(), and kWinding.

Referenced by CFX_RenderDevice::DrawBorder(), CPWL_EditImpl::DrawEdit(), CFX_RenderDevice::DrawFillRect(), CPDF_RenderStatus::ProcessClipPath(), CBC_TwoDimWriter::RenderDeviceResult(), CFX_RenderDevice::SetClip_Rect(), and XFA_DrawImage().

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

Member Data Documentation

◆ adjust_stroke

bool CFX_FillRenderOptions::adjust_stroke

Definition at line 67 of file cfx_fillrenderoptions.h.

Referenced by CFX_FillRenderOptions(), and operator==().

◆ aliased_path

◆ fill_type

◆ full_cover

◆ rect_aa

bool CFX_FillRenderOptions::rect_aa

◆ stroke

bool CFX_FillRenderOptions::stroke

◆ stroke_text_mode

bool CFX_FillRenderOptions::stroke_text_mode

◆ text_mode

bool CFX_FillRenderOptions::text_mode

◆ zero_area

bool CFX_FillRenderOptions::zero_area

The documentation for this struct was generated from the following file: