HVF provides low-level primitives for rendering composite vector shapes on iOS, macOS, tvOS, watchOS, and visionOS. You load shape parts with HVGLPartLoader and draw them through PartRenderer, working with segment data such as SegmentPoint, PointCoordinate, and SegmentBlendType to control how subpaths are composed. The CompositeSubpart and CompositeSubpartTranslation structures, along with axis extrema described by AxisExtremum and CompositeExtremumIndex, model how parts combine into a composite. To emit geometry, you conform to the ShapeWriter and CompositeWriter protocols or generate parts with PartGenerator, inspecting outcomes through the PartResult enumeration.
Loading and Rendering Parts 2
Load composite shape parts and render them to a drawing destination.
- ClHVGLPartLoaderiOS 18.4+Special loader object for an HVGL table in memory, which must be Double-aligned
- ClPartRendereriOS 18.4+An object that can be used to set parameters for rendering a part, to render the part, and to diagnose the results of rendering
Generating Geometry 4
Conform to writer protocols or generate parts to emit composite vector geometry.
- PrShapeWriteriOS 18.4+A protocol for creating a Shape part for rendering or to build an HVGL table
- PrCompositeWriteriOS 18.4+Protocol for creating a Composite part for rendering or to build an HVGL table
- PrPartGeneratoriOS 18.4+Protocol for returning a writer object to create Shape or Composite data
- EnPartResultiOS 18.4+The result returned from a part loader
Composite Structure 4
Model how subparts combine and translate within a composite shape.
- StCompositeSubpartiOS 18.4+A subpart in a Composite part
- StCompositeSubpartTranslationiOS 18.4+A subpart translation in a Composite part
- StCompositeExtremumIndexiOS 18.4+The index of an extremum rotation or translation in a Composite part
- EnAxisExtremumiOS 18.4+Which extremum within an axis
Segment Data 3
Describe the points, coordinates, and blending that define individual path segments.
- EnSegmentPointiOS 18.4+Which point within a segment
- EnPointCoordinateiOS 18.4+Which coordinate within a point
- EnSegmentBlendTypeiOS 18.4+The blend type for a segment of a path
Type Aliases 1
- TyCustomPartLoaderClosure which loads parts from an arbitrary source