Vector Graphics Overview

ภาพรวม

HotPDF รองรับ workflows ที่เน้น vector สองทางหลัก: การวาดบน page โดยตรงผ่าน API THPDFPage และการนำเข้า metafile ผ่าน helper methods สำหรับ 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

See Also