ReactOS 0.4.15-dev-7670-g69b08be
PrivateFontCollection Class Reference

#include <gdiplusheaders.h>

Inheritance diagram for PrivateFontCollection:
Collaboration diagram for PrivateFontCollection:

Public Member Functions

 PrivateFontCollection ()
 
virtual ~PrivateFontCollection ()
 
Status AddFontFile (const WCHAR *filename)
 
Status AddMemoryFont (const VOID *memory, INT length)
 
- Public Member Functions inherited from FontCollection
 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)
 

Additional Inherited Members

- Protected Member Functions inherited from FontCollection
Status SetStatus (Status status) const
 
- Protected Attributes inherited from FontCollection
GpFontCollectionnativeFontCollection
 
Status lastStatus
 

Detailed Description

Definition at line 846 of file gdiplusheaders.h.

Constructor & Destructor Documentation

◆ PrivateFontCollection()

PrivateFontCollection::PrivateFontCollection ( )
inline

Definition at line 849 of file gdiplusheaders.h.

850 {
852 lastStatus = DllExports::GdipNewPrivateFontCollection(&nativeFontCollection);
853 }
GpFontCollection * nativeFontCollection
#define NULL
Definition: types.h:112

◆ ~PrivateFontCollection()

virtual PrivateFontCollection::~PrivateFontCollection ( )
inlinevirtual

Definition at line 855 of file gdiplusheaders.h.

856 {
857 DllExports::GdipDeletePrivateFontCollection(&nativeFontCollection);
858 }

Member Function Documentation

◆ AddFontFile()

Status PrivateFontCollection::AddFontFile ( const WCHAR filename)
inline

Definition at line 861 of file gdiplusheaders.h.

862 {
863 return SetStatus(DllExports::GdipPrivateAddFontFile(nativeFontCollection, filename));
864 }
Status SetStatus(Status status) const
const char * filename
Definition: ioapi.h:137

◆ AddMemoryFont()

Status PrivateFontCollection::AddMemoryFont ( const VOID memory,
INT  length 
)
inline

Definition at line 867 of file gdiplusheaders.h.

868 {
869 return SetStatus(DllExports::GdipPrivateAddMemoryFont(nativeFontCollection, memory, length));
870 }
GLuint GLsizei GLsizei * length
Definition: glext.h:6040
static char memory[1024 *256]
Definition: process.c:116

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