Graphisoft®

API Development KitVersion: 18

VectorImage::Draw


Draws the VectorImage on the given drawcontext.


GSErrCode  Draw (
    const VIDrawContext*    drawProcs,
    bool                    withVectorialHatch
);

Parameters

drawProcs
The drawing callbacks which will be called for the real drawing.
withVectorialHatch
Wether using vectorial hatch on polygons or using bitmap patterns on polygons.

Return value

If the function succeeds, the return value is NoError. If the function fails, the return value is the error code.

Description

The VectorImage can be drawn on a VIDrawContext. The VectorImage will be exploded into simple drawing primitives. The drawing order methods can be determined with other VectorImage functions.

Requirements

Version:API 10.0 or later, ModelerGraphics 8 or later
Library:ModelerGraphicsImp.lib (Win) or ModelerGraphics.framework (Mac)
Header:VectorImage.hpp