Chapters
The API grouped by functional family — each chapter lists its functions with one-line summaries, VeCAD-help style.
Core & Document
15 functions — Document lifecycle: create / destroy drawings, refresh the display, global queries.
Window & OpenGL View
54 functions — The library-owned CAD window (CadWndCreate), view/zoom control, dock widgets, and window-level state.
Colours & Grid
20 functions — Colour palette and grid control.
Direct Drawing
12 functions — Direct drawing primitives — used inside custom-entity display callbacks and drag previews.
Entities — General
103 functions — Functions common to every entity: enumeration, shared attributes (layer, colour, linetype, lineweight), transforms and editing.
Line / Ray / XLine
20 functions — Line segments, rays and construction lines (xlines).
Arc & Circle
39 functions — Circles and circular arcs, incl. 3-point and tangent constructions.
Polyline
58 functions — Polylines with per-vertex bulges, polygons and rectangles. Vertices are staged with CadAddVertex and consumed by CadAddPolyline.
Point & Point Style
42 functions — Point entities and named point styles (PDMODE-like display).
Text / MText / WText / Arc-Text
72 functions — Single-line text, MTEXT, window-formatted text and arc-aligned text.
Ellipse & Spline
1 functions — Ellipses, elliptical arcs and splines.
Hatch
11 functions — Solid and pattern hatches over boundary loops.
Dimensions & Leaders
24 functions — Dimensions (linear, aligned, radial, diametric, angular) and leaders.
Raster Image
25 functions — Raster image references and image manipulation.
Blocks & Inserts
97 functions — Block definitions, block references (inserts), attributes, 3DFACE and shapes.
Multiline
31 functions — Multilines and multiline styles.
Layers
30 functions — The layer table: create, enumerate, and per-layer state (colour, linetype, on/off, freeze, lock).
Styles & Linetypes
75 functions — Named styles: linetypes (with custom dash patterns), text styles and dimension styles.
Commands & Snapping
39 functions — The interactive command state machine (CadCmdStart), object snap and polar tracking.
Event Callbacks
55 functions — Host callback registration — the library calls the host, never the reverse. See the Events guide.
Printing & Plot Areas
40 functions — Printing, PDF export, raster export and named print regions.
Pages & Layouts
14 functions — Pages (paper-space layouts) and floating viewports.
Road Alignment (RPlan/RProf)
46 functions — The road-design subsystem: clothoid horizontal alignments and parabolic vertical profiles. See the Road guide.
Custom Entities & Commands
8 functions — Host-defined custom entities and commands.
Parameters & Globals
299 functions — Process-global parameters (CAD_GL_*), current-drawing defaults and remaining getters/setters.