Graphisoft®

API Development KitVersion: 18

VectorImage class



Description A collection of high-level drawing primitives. Details...
Module Advanced graphics
Base classes -
Derived classes -
Header VectorImage.hpp


Public methods

    Constructors
    Copy constructor
    operator=

Scale and bounding box

    GetScale
    SetScale
    GetBounds
    CalcAndGetBounds

Draw and drawing order

    Draw
    IsUsingDrawQueue
    IsUsingSortQueue
    SetDrawQueueUsing
    SetSortQueueUsing

Container functionality

    IsEmpty
    GetItemCount
    GetItemCountOfType
    Clear
    DeleteItemsOfType
    Append
    SetCapacity
    GetCapacity
    GetUsedBytes
    GetItemFramePoints
    GetItemPointsOfType
    OffsetImage

Element addition

    AddHotspotRec
    AddHotspot
    AddSideHotspot
    AddLineRec
    AddLine
    AddPolyLineRec
    AddLine
    AddCircle
    AddArcRec
    AddArc
    AddSplineRec
    AddSpline
    AddHatchRec
    AddHatch
    AddHatchWhole
    AddTextRec
    AddText
    AddPixMapRec
    AddPixMap
    AddFontRec
    AddFragment
    AddEndMark

Administrative

    GetStatus

Direct internal content access

    GetElements
    GetElementsRef
    TakeElements
    SetElements
    ConnectToElements
    PassElements

Detailed description

You can assemble, manipulate or draw a full vectorial picture with the VectorImage. It is a collection of vectorial primitives similar to the Windows EMF or WMF or Macintosh Picture file. For the iteration of its elements you can use the VectorImageIterator and ConstVectorImageIterator classes.

See Also

    Graphical Primitives     Draw Context