|
QSDK 1.1 Documentation |
#include <Q/import.h>
Static Public Member Functions | |
| Utils::Result | read (const char *filename, Net::ReadStream **rs) |
| Utils::Result | read (const char *filename, const char *mimeType, Net::ReadStream **rs) |
| Utils::Result | read (const char *filename, const char *fontName, unsigned int levels, const Q::Database &db, Q::Font *font) |
|
||||||||||||||||||||||||
|
Import the font description file
|
|
||||||||||||||||
|
Import the file This function will return a Net::ReadStream which is suitable for passing to Q::Clip::create().
|
|
||||||||||||
|
Import the file On import, the Net::MediaObject for the Net::ReadStream will have the mime-type populated in the Content-Type attribute. The mime-type is determined by the file extension, it is therefore important that you use the appropriate extension for the file. Currently supported text formats are:
|
|
|
|
Qube Software Limited © 2000-2004
|
|