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_defaultrenderdevice_unittest.cpp File Reference

(0ccf980226462398d5097987466bcffd8236e1e9)

Include dependency graph for cfx_defaultrenderdevice_unittest.cpp:

Go to the source code of this file.

Functions

 TEST (CFX_DefaultRenderDeviceTest, GetClipBox_Default)
 TEST (CFX_DefaultRenderDeviceTest, GetClipBox_PathFill)
 TEST (CFX_DefaultRenderDeviceTest, GetClipBox_PathStroke)
 TEST (CFX_DefaultRenderDeviceTest, GetClipBox_Rect)
 TEST (CFX_DefaultRenderDeviceTest, GetClipBox_Empty)

Function Documentation

◆ TEST() [1/5]

TEST ( CFX_DefaultRenderDeviceTest ,
GetClipBox_Default  )

Definition at line 16 of file cfx_defaultrenderdevice_unittest.cpp.

References FX_RECT::FX_RECT(), CFX_DefaultRenderDevice::Create(), CFX_RenderDevice::GetClipBox(), and kBgra.

Here is the call graph for this function:

◆ TEST() [2/5]

TEST ( CFX_DefaultRenderDeviceTest ,
GetClipBox_Empty  )

Definition at line 68 of file cfx_defaultrenderdevice_unittest.cpp.

References CFX_DefaultRenderDevice::Create(), CFX_RenderDevice::GetClipBox(), kBgra, and CFX_RenderDevice::SetClip_Rect().

Here is the call graph for this function:

◆ TEST() [3/5]

TEST ( CFX_DefaultRenderDeviceTest ,
GetClipBox_PathFill  )

Definition at line 23 of file cfx_defaultrenderdevice_unittest.cpp.

References CFX_FillRenderOptions::CFX_FillRenderOptions(), CFX_Matrix::CFX_Matrix(), FX_RECT::FX_RECT(), CFX_Path::AppendRect(), CFX_DefaultRenderDevice::Create(), CFX_RenderDevice::GetClipBox(), kBgra, CFX_FillRenderOptions::kEvenOdd, and CFX_RenderDevice::SetClip_PathFill().

Here is the call graph for this function:

◆ TEST() [4/5]

TEST ( CFX_DefaultRenderDeviceTest ,
GetClipBox_PathStroke  )

Definition at line 41 of file cfx_defaultrenderdevice_unittest.cpp.

References CFX_Matrix::CFX_Matrix(), FX_RECT::FX_RECT(), CFX_Path::AppendRect(), CFX_DefaultRenderDevice::Create(), CFX_RenderDevice::GetClipBox(), kBgra, and CFX_RenderDevice::SetClip_PathStroke().

Here is the call graph for this function:

◆ TEST() [5/5]

TEST ( CFX_DefaultRenderDeviceTest ,
GetClipBox_Rect  )

Definition at line 59 of file cfx_defaultrenderdevice_unittest.cpp.

References FX_RECT::FX_RECT(), CFX_DefaultRenderDevice::Create(), CFX_RenderDevice::GetClipBox(), kBgra, and CFX_RenderDevice::SetClip_Rect().

Here is the call graph for this function: