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_textstate.h File Reference

(9c1f44f67466fea2fb20bb6f31fea388d8c65961)

#include "core/fxcrt/retain_ptr.h"
#include "core/fxcrt/shared_copy_on_write.h"
#include "core/fxcrt/unowned_ptr.h"
#include "third_party/base/containers/span.h"
+ Include dependency graph for cpdf_textstate.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CPDF_TextState
 

Enumerations

enum class  TextRenderingMode {
  MODE_UNKNOWN = -1 , MODE_FILL = 0 , MODE_STROKE = 1 , MODE_FILL_STROKE = 2 ,
  MODE_INVISIBLE = 3 , MODE_FILL_CLIP = 4 , MODE_STROKE_CLIP = 5 , MODE_FILL_STROKE_CLIP = 6 ,
  MODE_CLIP = 7 , MODE_LAST = MODE_CLIP
}
 

Functions

bool SetTextRenderingModeFromInt (int iMode, TextRenderingMode *mode)
 
bool TextRenderingModeIsClipMode (const TextRenderingMode &mode)
 
bool TextRenderingModeIsStrokeMode (const TextRenderingMode &mode)
 

Enumeration Type Documentation

◆ TextRenderingMode

enum class TextRenderingMode
strong
Enumerator
MODE_UNKNOWN 
MODE_FILL 
MODE_STROKE 
MODE_FILL_STROKE 
MODE_INVISIBLE 
MODE_FILL_CLIP 
MODE_STROKE_CLIP 
MODE_FILL_STROKE_CLIP 
MODE_CLIP 
MODE_LAST 

Definition at line 19 of file cpdf_textstate.h.

Function Documentation

◆ SetTextRenderingModeFromInt()

bool SetTextRenderingModeFromInt ( int iMode,
TextRenderingMode * mode )

Definition at line 132 of file cpdf_textstate.cpp.

◆ TextRenderingModeIsClipMode()

bool TextRenderingModeIsClipMode ( const TextRenderingMode & mode)

Definition at line 139 of file cpdf_textstate.cpp.

References MODE_CLIP, MODE_FILL_CLIP, MODE_FILL_STROKE_CLIP, and MODE_STROKE_CLIP.

◆ TextRenderingModeIsStrokeMode()

bool TextRenderingModeIsStrokeMode ( const TextRenderingMode & mode)