VectorImage::AddFontRec
Adds a font to the VectorImage.
GSErrCode AddFontRec ( const Sy_FontType& font );
Parameters
- font
- The font to be added.
Return value
If the function succeeds, the return value is NoError. If the function fails, the return value is the error code.
Description
All of the fields of the structure should be filled, this function won't update any of them.
The font is not a real drawing primitive but an attribute which is stored in the VectorImage as an exception.
Requirements
- Version:API 10.0 or later, ModelerGraphics 8 or later
- Library:ModelerGraphicsImp.lib (Win) or ModelerGraphics.framework (Mac)
- Header:VectorImage.hpp