|
Vector Graphics Overview
Overview
HotPDF supports vector-oriented workflows in two main ways: direct page drawing through
the THPDFPage API and metafile import through EMF/WMF helper methods.
Main Approaches
- Direct Drawing: Use THPDFPage methods for lines, curves, fills, text placement, and other PDF canvas operations
- Reusable Stroke Geometry: Use THotPDF.RegisterLineGraphicsState with THPDFPage.SetGraphicsState to reuse line width, cap, join, and miter-limit settings across paths
- Metafile Import: Use THPDFPage.ShowMetafile to place EMF or WMF content on the page
- Layout Control: Combine page drawing with scaling, positioning, and current-page state changes
Typical Entry Points
See Also
|