IPlacementContextStrategy
public interface IPlacementContextStrategy : IPlacementStrategyExtended placement contract for strategies that need rendered line ranges and sizing metadata in addition to the flat glyph positions.
Methods
Section titled “Methods”
ComputePlacements(in PlacementContext, GlyphPlacement[])
Section titled “ComputePlacements(in PlacementContext, GlyphPlacement[])”void ComputePlacements(in PlacementContext context, GlyphPlacement[] placements)Compute placements for all visible glyphs.
Parameters
| Name | Type | Description |
|---|---|---|
context |
TextStudio.PlacementContext | Input layout, rendered line ranges, and sizing metadata. |
placements |
TextStudio.GlyphPlacement[] | Output: final 3D placements. |