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_type3char.h>
Public Member Functions | |
CPDF_Type3Char () | |
~CPDF_Type3Char () | |
bool | LoadBitmapFromSoleImageOfForm () |
void | InitializeFromStreamData (bool bColored, pdfium::span< const float > pData) |
void | Transform (CPDF_Font::FormIface *pForm, const CFX_Matrix &matrix) |
void | WillBeDestroyed () |
RetainPtr< CFX_DIBitmap > | GetBitmap () |
bool | colored () const |
int | width () const |
const CFX_Matrix & | matrix () const |
const FX_RECT & | bbox () const |
const CPDF_Font::FormIface * | form () const |
void | SetForm (std::unique_ptr< CPDF_Font::FormIface > pForm) |
Static Public Member Functions | |
static float | TextUnitToGlyphUnit (float fTextUnit) |
static void | TextUnitRectToGlyphUnitRect (CFX_FloatRect *pRect) |
Definition at line 21 of file cpdf_type3char.h.
|
default |
|
default |
|
inline |
Definition at line 39 of file cpdf_type3char.h.
Referenced by CPDF_Type3Font::GetCharBBox().
|
inline |
Definition at line 36 of file cpdf_type3char.h.
|
inline |
Definition at line 41 of file cpdf_type3char.h.
RetainPtr< CFX_DIBitmap > CPDF_Type3Char::GetBitmap | ( | ) |
Definition at line 85 of file cpdf_type3char.cpp.
void CPDF_Type3Char::InitializeFromStreamData | ( | bool | bColored, |
pdfium::span< const float > | pData ) |
Definition at line 51 of file cpdf_type3char.cpp.
References FX_RECT::bottom, FX_RECT::left, FX_RECT::right, TextUnitToGlyphUnit(), and FX_RECT::top.
bool CPDF_Type3Char::LoadBitmapFromSoleImageOfForm | ( | ) |
Definition at line 35 of file cpdf_type3char.cpp.
|
inline |
Definition at line 38 of file cpdf_type3char.h.
void CPDF_Type3Char::SetForm | ( | std::unique_ptr< CPDF_Font::FormIface > | pForm | ) |
Definition at line 81 of file cpdf_type3char.cpp.
|
static |
Definition at line 31 of file cpdf_type3char.cpp.
References CFX_FloatRect::Scale().
Referenced by CPDF_Type3Font::Load(), and Transform().
|
static |
Definition at line 26 of file cpdf_type3char.cpp.
Referenced by InitializeFromStreamData(), and CPDF_Type3Font::Load().
void CPDF_Type3Char::Transform | ( | CPDF_Font::FormIface * | pForm, |
const CFX_Matrix & | matrix ) |
Definition at line 66 of file cpdf_type3char.cpp.
References CFX_FloatRect::CFX_FloatRect(), FX_RECT::bottom, CPDF_Font::FormIface::CalcBoundingBox(), CFX_Matrix::GetXUnit(), FX_RECT::left, CFX_FloatRect::operator=(), FX_RECT::operator=(), FX_RECT::right, TextUnitRectToGlyphUnitRect(), FX_RECT::top, CFX_FloatRect::ToRoundedFxRect(), and CFX_Matrix::TransformRect().
|
inline |
Definition at line 37 of file cpdf_type3char.h.
Referenced by CPDF_Type3Font::GetCharWidthF().
void CPDF_Type3Char::WillBeDestroyed | ( | ) |
Definition at line 61 of file cpdf_type3char.cpp.