Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdf_meshstream.h>
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_MeshVertex > | ReadVertexRow (const CFX_Matrix &pObject2Bitmap, int count) |
uint32_t | ComponentBits () const |
uint32_t | Components () const |
Definition at line 39 of file cpdf_meshstream.h.
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().
|
default |
void CPDF_MeshStream::ByteAlign | ( | ) |
Definition at line 160 of file cpdf_meshstream.cpp.
bool CPDF_MeshStream::CanReadColor | ( | ) | const |
Definition at line 176 of file cpdf_meshstream.cpp.
Referenced by ReadVertex().
bool CPDF_MeshStream::CanReadCoords | ( | ) | const |
Definition at line 172 of file cpdf_meshstream.cpp.
Referenced by ReadVertex().
bool CPDF_MeshStream::CanReadFlag | ( | ) | const |
Definition at line 168 of file cpdf_meshstream.cpp.
Referenced by ReadVertex().
|
inline |
Definition at line 66 of file cpdf_meshstream.h.
|
inline |
Definition at line 67 of file cpdf_meshstream.h.
bool CPDF_MeshStream::IsEOF | ( | ) | const |
Definition at line 164 of file cpdf_meshstream.cpp.
Referenced by CFX_SkiaDeviceDriver::DrawShading().
bool CPDF_MeshStream::Load | ( | ) |
Definition at line 113 of file cpdf_meshstream.cpp.
Referenced by CFX_SkiaDeviceDriver::DrawShading().
std::tuple< float, float, float > CPDF_MeshStream::ReadColor | ( | ) |
Definition at line 203 of file cpdf_meshstream.cpp.
Referenced by CFX_SkiaDeviceDriver::DrawShading().
CFX_PointF CPDF_MeshStream::ReadCoords | ( | ) |
Definition at line 185 of file cpdf_meshstream.cpp.
uint32_t CPDF_MeshStream::ReadFlag | ( | ) |
Definition at line 180 of file cpdf_meshstream.cpp.
Referenced by CFX_SkiaDeviceDriver::DrawShading(), and 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().
std::vector< CPDF_MeshVertex > CPDF_MeshStream::ReadVertexRow | ( | const CFX_Matrix & | pObject2Bitmap, |
int | count ) |
Definition at line 249 of file cpdf_meshstream.cpp.
void CPDF_MeshStream::SkipBits | ( | uint32_t | nbits | ) |
Definition at line 156 of file cpdf_meshstream.cpp.