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

#include <cpdf_textrenderer.h>

+ Collaboration diagram for CPDF_TextRenderer:

Public Member Functions

 CPDF_TextRenderer ()=delete
 
 CPDF_TextRenderer (const CPDF_TextRenderer &)=delete
 
CPDF_TextRendereroperator= (const CPDF_TextRenderer &)=delete
 

Static Public Member Functions

static void DrawTextString (CFX_RenderDevice *pDevice, float origin_x, float origin_y, CPDF_Font *pFont, float font_size, const CFX_Matrix &matrix, const ByteString &str, FX_ARGB fill_argb, const CPDF_RenderOptions &options)
 
static bool DrawTextPath (CFX_RenderDevice *pDevice, pdfium::span< const uint32_t > char_codes, pdfium::span< const float > char_pos, CPDF_Font *pFont, float font_size, const CFX_Matrix &mtText2User, const CFX_Matrix *pUser2Device, const CFX_GraphStateData *pGraphState, FX_ARGB fill_argb, FX_ARGB stroke_argb, CFX_Path *pClippingPath, const CFX_FillRenderOptions &fill_options)
 
static bool DrawNormalText (CFX_RenderDevice *pDevice, pdfium::span< const uint32_t > char_codes, pdfium::span< const float > char_pos, CPDF_Font *pFont, float font_size, const CFX_Matrix &mtText2Device, FX_ARGB fill_argb, const CPDF_RenderOptions &options)
 

Detailed Description

Definition at line 24 of file cpdf_textrenderer.h.

Constructor & Destructor Documentation

◆ CPDF_TextRenderer() [1/2]

CPDF_TextRenderer::CPDF_TextRenderer ( )
delete

◆ CPDF_TextRenderer() [2/2]

CPDF_TextRenderer::CPDF_TextRenderer ( const CPDF_TextRenderer & )
delete

Member Function Documentation

◆ DrawNormalText()

bool CPDF_TextRenderer::DrawNormalText ( CFX_RenderDevice * pDevice,
pdfium::span< const uint32_t > char_codes,
pdfium::span< const float > char_pos,
CPDF_Font * pFont,
float font_size,
const CFX_Matrix & mtText2Device,
FX_ARGB fill_argb,
const CPDF_RenderOptions & options )
static

Definition at line 133 of file cpdf_textrenderer.cpp.

References CFX_RenderDevice::DrawNormalText().

Referenced by DrawTextString().

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

◆ DrawTextPath()

bool CPDF_TextRenderer::DrawTextPath ( CFX_RenderDevice * pDevice,
pdfium::span< const uint32_t > char_codes,
pdfium::span< const float > char_pos,
CPDF_Font * pFont,
float font_size,
const CFX_Matrix & mtText2User,
const CFX_Matrix * pUser2Device,
const CFX_GraphStateData * pGraphState,
FX_ARGB fill_argb,
FX_ARGB stroke_argb,
CFX_Path * pClippingPath,
const CFX_FillRenderOptions & fill_options )
static

Definition at line 50 of file cpdf_textrenderer.cpp.

References CFX_RenderDevice::DrawTextPath().

+ Here is the call graph for this function:

◆ DrawTextString()

void CPDF_TextRenderer::DrawTextString ( CFX_RenderDevice * pDevice,
float origin_x,
float origin_y,
CPDF_Font * pFont,
float font_size,
const CFX_Matrix & matrix,
const ByteString & str,
FX_ARGB fill_argb,
const CPDF_RenderOptions & options )
static

Definition at line 97 of file cpdf_textrenderer.cpp.

References DrawNormalText(), CFX_Matrix::e, CFX_Matrix::f, CPDF_Font::GetCharWidthF(), and CPDF_Font::IsType3Font().

+ Here is the call graph for this function:

◆ operator=()

CPDF_TextRenderer & CPDF_TextRenderer::operator= ( const CPDF_TextRenderer & )
delete

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