ReactOS 0.4.16-dev-340-g0540c21
FontCollection Class Reference

#include <gdiplusheaders.h>

Inheritance diagram for FontCollection:
Collaboration diagram for FontCollection:

Public Member Functions

 FontCollection ()
 
virtual ~FontCollection ()
 
Status GetFamilies (INT numSought, FontFamily *gpfamilies, INT *numFound) const
 
INT GetFamilyCount () const
 
Status GetLastStatus () const
 
- Public Member Functions inherited from GdiplusBase
void operator delete (void *in_pVoid)
 
void operator delete[] (void *in_pVoid)
 
voidoperator new (size_t in_size)
 
voidoperator new[] (size_t in_size)
 

Protected Member Functions

Status SetStatus (Status status) const
 

Protected Attributes

GpFontCollectionnativeFontCollection
 
Status lastStatus
 

Private Member Functions

 FontCollection (const FontCollection &)
 
FontCollectionoperator= (const FontCollection &)
 

Friends

class FontFamily
 
GpFontCollection *& getNat (const FontCollection *fc)
 

Detailed Description

Definition at line 652 of file gdiplusheaders.h.

Constructor & Destructor Documentation

◆ FontCollection() [1/2]

FontCollection::FontCollection ( )
inline

Definition at line 657 of file gdiplusheaders.h.

658 {
659 }
GpFontCollection * nativeFontCollection
#define NULL
Definition: types.h:112
@ Ok
Definition: gdiplustypes.h:26

◆ ~FontCollection()

virtual FontCollection::~FontCollection ( )
inlinevirtual

Definition at line 661 of file gdiplusheaders.h.

662 {
663 }

◆ FontCollection() [2/2]

FontCollection::FontCollection ( const FontCollection )
private

Member Function Documentation

◆ GetFamilies()

Status FontCollection::GetFamilies ( INT  numSought,
FontFamily gpfamilies,
INT numFound 
) const
inline

Definition at line 666 of file gdiplusheaders.h.

667 {
669 }
Status SetStatus(Status status) const
@ NotImplemented
Definition: gdiplustypes.h:32

◆ GetFamilyCount()

INT FontCollection::GetFamilyCount ( ) const
inline

Definition at line 672 of file gdiplusheaders.h.

673 {
674 INT numFound = 0;
675 lastStatus = DllExports::GdipGetFontCollectionFamilyCount(nativeFontCollection, &numFound);
676 return numFound;
677 }
int32_t INT
Definition: typedefs.h:58

◆ GetLastStatus()

Status FontCollection::GetLastStatus ( ) const
inline

Definition at line 680 of file gdiplusheaders.h.

681 {
682 return lastStatus;
683 }

◆ operator=()

FontCollection & FontCollection::operator= ( const FontCollection )
private

◆ SetStatus()

Status FontCollection::SetStatus ( Status  status) const
inlineprotected

Definition at line 690 of file gdiplusheaders.h.

691 {
692 if (status != Ok)
694 return status;
695 }
Definition: ps.c:97

Referenced by PrivateFontCollection::AddFontFile(), PrivateFontCollection::AddMemoryFont(), and GetFamilies().

Friends And Related Function Documentation

◆ FontFamily

friend class FontFamily
friend

Definition at line 654 of file gdiplusheaders.h.

◆ getNat

GpFontCollection *& getNat ( const FontCollection fc)
friend

Definition at line 705 of file gdiplusheaders.h.

706 {
707 return const_cast<FontCollection *>(fc)->nativeFontCollection;
708 }
PFOR_CONTEXT fc
Definition: for.c:57

Member Data Documentation

◆ lastStatus

Status FontCollection::lastStatus
mutableprotected

◆ nativeFontCollection


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