Graphisoft®

API Development KitVersion: 18

VectorImage Constructors


Creates and initializes the VectorImage.


VectorImage (
    void
);

Description

The default constructor. Makes an empty VectorImage.


VectorImage (
    GSHandle                    image2DHdl,
    VectorImageOwnershipControl control = VectorImage_CopyInput
);

Parameters

image2DHdl
The raw binary form of a VectorImage as the source of the internal data.
control
The ownership control.
VectorImage_CopyInput Makes a deep copy of the source and the VectorImage will have an own internal representation.
VectorImage_TakeOwnership Stores the reference of the source and VectorImage will take the ownership of it, do not delete it outside.
VectorImage_TakeReference Although stores the reference of the source but won't take its ownership, when the VectorImage gets deleted, its internals will alive.

Description

The VectorImage has no Read/Write methods but can get and give internal data as a GSHandle instead. You can use this facility to load and store a Vectorimage.

Available from version: 8

Requirements

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