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
CPDF_MeshStream Class Reference

#include <cpdf_meshstream.h>

+ Collaboration diagram for CPDF_MeshStream:

Public Member Functions

 CPDF_MeshStream (ShadingType type, const std::vector< std::unique_ptr< CPDF_Function > > &funcs, RetainPtr< const CPDF_Stream > pShadingStream, RetainPtr< CPDF_ColorSpace > pCS)
 
 ~CPDF_MeshStream ()
 
bool Load ()
 
void SkipBits (uint32_t nbits)
 
void ByteAlign ()
 
bool IsEOF () const
 
bool CanReadFlag () const
 
bool CanReadCoords () const
 
bool CanReadColor () const
 
uint32_t ReadFlag ()
 
CFX_PointF ReadCoords ()
 
std::tuple< float, float, float > ReadColor ()
 
bool ReadVertex (const CFX_Matrix &pObject2Bitmap, CPDF_MeshVertex *vertex, uint32_t *flag)
 
std::vector< CPDF_MeshVertexReadVertexRow (const CFX_Matrix &pObject2Bitmap, int count)
 
uint32_t ComponentBits () const
 
uint32_t Components () const
 

Detailed Description

Definition at line 39 of file cpdf_meshstream.h.

Constructor & Destructor Documentation

◆ CPDF_MeshStream()

CPDF_MeshStream::CPDF_MeshStream ( ShadingType type,
const std::vector< std::unique_ptr< CPDF_Function > > & funcs,
RetainPtr< const CPDF_Stream > pShadingStream,
RetainPtr< CPDF_ColorSpace > pCS )

Definition at line 100 of file cpdf_meshstream.cpp.

References CPDF_MeshStream().

Referenced by CPDF_MeshStream().

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

◆ ~CPDF_MeshStream()

CPDF_MeshStream::~CPDF_MeshStream ( )
default

Member Function Documentation

◆ ByteAlign()

void CPDF_MeshStream::ByteAlign ( )

Definition at line 160 of file cpdf_meshstream.cpp.

◆ CanReadColor()

bool CPDF_MeshStream::CanReadColor ( ) const

Definition at line 176 of file cpdf_meshstream.cpp.

Referenced by ReadVertex().

+ Here is the caller graph for this function:

◆ CanReadCoords()

bool CPDF_MeshStream::CanReadCoords ( ) const

Definition at line 172 of file cpdf_meshstream.cpp.

Referenced by ReadVertex().

+ Here is the caller graph for this function:

◆ CanReadFlag()

bool CPDF_MeshStream::CanReadFlag ( ) const

Definition at line 168 of file cpdf_meshstream.cpp.

Referenced by ReadVertex().

+ Here is the caller graph for this function:

◆ ComponentBits()

uint32_t CPDF_MeshStream::ComponentBits ( ) const
inline

Definition at line 66 of file cpdf_meshstream.h.

◆ Components()

uint32_t CPDF_MeshStream::Components ( ) const
inline

Definition at line 67 of file cpdf_meshstream.h.

◆ IsEOF()

bool CPDF_MeshStream::IsEOF ( ) const

Definition at line 164 of file cpdf_meshstream.cpp.

Referenced by CFX_SkiaDeviceDriver::DrawShading().

+ Here is the caller graph for this function:

◆ Load()

bool CPDF_MeshStream::Load ( )

Definition at line 113 of file cpdf_meshstream.cpp.

Referenced by CFX_SkiaDeviceDriver::DrawShading().

+ Here is the caller graph for this function:

◆ ReadColor()

std::tuple< float, float, float > CPDF_MeshStream::ReadColor ( )

Definition at line 203 of file cpdf_meshstream.cpp.

Referenced by CFX_SkiaDeviceDriver::DrawShading().

+ Here is the caller graph for this function:

◆ ReadCoords()

CFX_PointF CPDF_MeshStream::ReadCoords ( )

Definition at line 185 of file cpdf_meshstream.cpp.

◆ ReadFlag()

uint32_t CPDF_MeshStream::ReadFlag ( )

Definition at line 180 of file cpdf_meshstream.cpp.

Referenced by CFX_SkiaDeviceDriver::DrawShading(), and ReadVertex().

+ Here is the caller graph for this function:

◆ ReadVertex()

bool CPDF_MeshStream::ReadVertex ( const CFX_Matrix & pObject2Bitmap,
CPDF_MeshVertex * vertex,
uint32_t * flag )

Definition at line 231 of file cpdf_meshstream.cpp.

References CanReadColor(), CanReadCoords(), CanReadFlag(), and ReadFlag().

+ Here is the call graph for this function:

◆ ReadVertexRow()

std::vector< CPDF_MeshVertex > CPDF_MeshStream::ReadVertexRow ( const CFX_Matrix & pObject2Bitmap,
int count )

Definition at line 249 of file cpdf_meshstream.cpp.

◆ SkipBits()

void CPDF_MeshStream::SkipBits ( uint32_t nbits)

Definition at line 156 of file cpdf_meshstream.cpp.


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