ReactOS  0.4.15-dev-1201-gb2cf5a4
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  }
smooth NULL
Definition: ftsmooth.c:416
GpFontCollection * nativeFontCollection

◆ ~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  {
668  return SetStatus(NotImplemented);
669  }
Status SetStatus(Status status) const

◆ GetFamilyCount()

INT FontCollection::GetFamilyCount ( ) const
inline

Definition at line 672 of file gdiplusheaders.h.

673  {
674  INT numFound = 0;
676  return numFound;
677  }
int32_t INT
Definition: typedefs.h:58
GpStatus WINGDIPAPI GdipGetFontCollectionFamilyCount(GpFontCollection *fontCollection, INT *numFound)
Definition: font.c:1559
GpFontCollection * nativeFontCollection

◆ GetLastStatus()

Status FontCollection::GetLastStatus ( ) const
inline

Definition at line 680 of file gdiplusheaders.h.

681  {
682  return lastStatus;
683  }

◆ operator=()

◆ SetStatus()

Status FontCollection::SetStatus ( Status  status) const
inlineprotected

Definition at line 690 of file gdiplusheaders.h.

691  {
692  if (status != Ok)
693  lastStatus = status;
694  return status;
695  }
static SERVICE_STATUS status
Definition: service.c:31
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: