Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SkPDFTagTree::Mark Class Reference

#include <SkPDFTag.h>

Public Member Functions

 Mark (SkPDFTagNode *node, size_t index)
 
 Mark ()
 
 Mark (const Mark &)=delete
 
Markoperator= (const Mark &)=delete
 
 Mark (Mark &&)=default
 
Markoperator= (Mark &&)=delete
 
 operator bool () const
 
int id ()
 
SkPointpoint ()
 

Detailed Description

Definition at line 32 of file SkPDFTag.h.

Constructor & Destructor Documentation

◆ Mark() [1/4]

SkPDFTagTree::Mark::Mark ( SkPDFTagNode node,
size_t  index 
)
inline

Definition at line 36 of file SkPDFTag.h.

36: fNode(node), fMarkIndex(index) {}

◆ Mark() [2/4]

SkPDFTagTree::Mark::Mark ( )
inline

Definition at line 37 of file SkPDFTag.h.

37: Mark(nullptr, 0) {}

◆ Mark() [3/4]

SkPDFTagTree::Mark::Mark ( const Mark )
delete

◆ Mark() [4/4]

SkPDFTagTree::Mark::Mark ( Mark &&  )
default

Member Function Documentation

◆ id()

int SkPDFTagTree::Mark::id ( )

Definition at line 210 of file SkPDFTag.cpp.

210 {
211 return fNode ? fNode->fMarkedContent[fMarkIndex].fMarkId : -1;
212}
TArray< MarkedContentInfo > fMarkedContent
Definition: SkPDFTag.cpp:78

◆ operator bool()

SkPDFTagTree::Mark::operator bool ( ) const
inlineexplicit

Definition at line 43 of file SkPDFTag.h.

43{ return fNode; }

◆ operator=() [1/2]

Mark & SkPDFTagTree::Mark::operator= ( const Mark )
delete

◆ operator=() [2/2]

Mark & SkPDFTagTree::Mark::operator= ( Mark &&  )
delete

◆ point()

SkPoint & SkPDFTagTree::Mark::point ( )

Definition at line 214 of file SkPDFTag.cpp.

214 {
215 return fNode->fMarkedContent[fMarkIndex].fLocation.fPoint;
216}

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