An Introduction to the Vector Classes
There are four Vector classes in the class library to be used with vector data:
Basic methods for working with vectors, including:
Load
Save
Translate
Rotate
Scale
Paint
Selecting objects
Palettes
Set/Get Viewport
Set/Get Pan
Set/Get Camera
Image conversion (WMF, EMF)
Vector common dialogs for vector manipulation, including:
Vector rotation
Vector translation
Vector scaling
Methods for getting/setting common dialog entries
Methods for working with vector files, including
Loading from a file
Saving to a file
Loading from a buffer, where you control the input stream
Methods for working with vector groups, including
Adding an object
Deleting groups
Emptying a group
Enumerating objects in groups
Getting/Setting group information
Setting the vector
Vector layer functions for working with vector layers, including:
Creating
Enumerating objects
Deleting layers
Emptying layers
Getting/setting layer information
Adding objects
Getting an object count
Methods for working with files in memory, including:
Loading from a memory file
Saving to a file in memory
To see how these fit in the Class library hierarchy, refer to the Class Hierarchy Chart.
Vector object functions for working with vector objects, including:
Creating
Getting/setting object information
Exploding objects
Getting bounding rectangles and parallelograms
Rotating
Scaling
Translating
Deleting
Manipulating the properties of derived class objects including:
|
|
Vector window functions for working with vectors, including:
Loading
Zooming
Scrolling
Panning
Scaling
Painting
Selecting Objects