Pretext.Uno is the companion package that adds reusable Uno-side helpers on top of the core Pretext engine.
StretchScrollHostA simple page-level container that:
ScrollViewerContentBackground and ContentPaddingThis is useful for sample-like pages or long document surfaces that need viewport-relative calculations.
UiRenderSchedulerA small dispatcher-backed scheduler that coalesces repeated render requests into a single DispatcherQueue callback.
Use it when:
WrapMetricsAggregate metrics for a wrapped text block:
LineCountHeightMaxLineWidthPositionedLineRepresents one laid-out line placed into a coordinate system:
TextXYWidthRectObstacleCircleObstacleIntervalThese are the geometric primitives used by the obstacle-aware helpers.
PreparedTextMetricsUtility methods for common wrap calculations:
MeasureMaxLineWidthCollectWrapMetricsFindTightWrapMetricsIsEndColumnFlowLayoutFlows prepared text through rectangular columns while respecting rectangular and circular obstacles.
ObstacleLayoutHelperLower-level helper methods for carving intervals and selecting usable slots around obstacles.
Use Pretext.Uno when your application already targets Uno and wants to reuse the same helper patterns as the sample app. If you only need the text preparation and layout engine, stay on the core Pretext package.