Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
SkPDFLink Struct Reference

#include <SkPDFDocumentPriv.h>

Public Types

enum class  Type { kNone , kUrl , kNamedDestination }
 

Public Member Functions

 SkPDFLink (Type type, SkData *data, const SkRect &rect, int nodeId)
 

Public Attributes

const Type fType
 
const sk_sp< SkDatafData
 
const SkRect fRect
 
const int fNodeId
 

Detailed Description

Definition at line 58 of file SkPDFDocumentPriv.h.

Member Enumeration Documentation

◆ Type

enum class SkPDFLink::Type
strong
Enumerator
kNone 
kUrl 
kNamedDestination 

Definition at line 59 of file SkPDFDocumentPriv.h.

Constructor & Destructor Documentation

◆ SkPDFLink()

SkPDFLink::SkPDFLink ( Type  type,
SkData data,
const SkRect rect,
int  nodeId 
)
inline

Definition at line 65 of file SkPDFDocumentPriv.h.

66 : fType(type)
67 , fData(sk_ref_sp(data))
68 , fRect(rect)
69 , fNodeId(nodeId) {}
sk_sp< T > sk_ref_sp(T *obj)
Definition SkRefCnt.h:381

Member Data Documentation

◆ fData

const sk_sp<SkData> SkPDFLink::fData

Definition at line 72 of file SkPDFDocumentPriv.h.

◆ fNodeId

const int SkPDFLink::fNodeId

Definition at line 74 of file SkPDFDocumentPriv.h.

◆ fRect

const SkRect SkPDFLink::fRect

Definition at line 73 of file SkPDFDocumentPriv.h.

◆ fType

const Type SkPDFLink::fType

Definition at line 70 of file SkPDFDocumentPriv.h.


The documentation for this struct was generated from the following file: