Vector Graphics Overview

Επισκόπηση

Το HotPDF υποστηρίζει vector-oriented workflows με δύο κύριους τρόπους: direct page drawing μέσω του THPDFPage API και metafile import μέσω 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