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

#include <cfde_textout.h>

Collaboration diagram for CFDE_TextOut:

Public Member Functions

 CFDE_TextOut ()
 ~CFDE_TextOut ()
void SetFont (RetainPtr< CFGAS_GEFont > pFont)
void SetFontSize (float fFontSize)
void SetTextColor (FX_ARGB color)
void SetStyles (const FDE_TextStyle &dwStyles)
void SetAlignment (FDE_TextAlignment iAlignment)
void SetLineSpace (float fLineSpace)
void SetMatrix (const CFX_Matrix &matrix)
void SetLineBreakTolerance (float fTolerance)
void CalcLogicSize (WideStringView str, CFX_SizeF *pSize)
void CalcLogicSize (WideStringView str, CFX_RectF *pRect)
void DrawLogicText (CFX_RenderDevice *device, const WideString &str, const CFX_RectF &rect)
int32_t GetTotalLines () const

Static Public Member Functions

static bool DrawString (CFX_RenderDevice *device, FX_ARGB color, const RetainPtr< CFGAS_GEFont > &pFont, span< TextCharPos > pCharPos, float fFontSize, const CFX_Matrix &matrix)

Detailed Description

Definition at line 29 of file cfde_textout.h.

Constructor & Destructor Documentation

◆ CFDE_TextOut()

Definition at line 130 of file cfde_textout.cpp.

◆ ~CFDE_TextOut()

Member Function Documentation

◆ CalcLogicSize() [1/2]

◆ CalcLogicSize() [2/2]

◆ DrawLogicText()

Definition at line 272 of file cfde_textout.cpp.

◆ DrawString()

bool pdfium::CFDE_TextOut::DrawString ( CFX_RenderDevice * device,
FX_ARGB color,
const RetainPtr< CFGAS_GEFont > & pFont,
span< TextCharPos > pCharPos,
float fFontSize,
const CFX_Matrix & matrix )
static

Definition at line 48 of file cfde_textout.cpp.

◆ GetTotalLines()

int32_t pdfium::CFDE_TextOut::GetTotalLines ( ) const
inline

Definition at line 55 of file cfde_textout.h.

◆ SetAlignment()

◆ SetFont()

◆ SetFontSize()

Definition at line 141 of file cfde_textout.cpp.

◆ SetLineBreakTolerance()

Definition at line 180 of file cfde_textout.cpp.

◆ SetLineSpace()

Definition at line 175 of file cfde_textout.cpp.

◆ SetMatrix()

Definition at line 47 of file cfde_textout.h.

◆ SetStyles()

Definition at line 147 of file cfde_textout.cpp.

◆ SetTextColor()

Definition at line 43 of file cfde_textout.h.


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