Vector Graphics Panoramica

Panoramica

HotPDF supporta workflow orientati alla grafica vettoriale in due modi principali: disegno diretto della pagina tramite l'API THPDFPage e importazione di metafile tramite metodi helper EMF/WMF

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

Vedi anche