#pragma once #import @class AccessibilityInfo; @class MarkdownASTNode; @class RenderContext; @class StyleConfig; NS_ASSUME_NONNULL_BEGIN @interface ENRMRenderResult : NSObject @property (nonatomic, strong) NSMutableAttributedString *attributedText; @property (nonatomic, strong) RenderContext *context; @property (nonatomic, strong) AccessibilityInfo *accessibilityInfo; @property (nonatomic, assign) CGFloat lastElementMarginBottom; @end #ifdef __cplusplus extern "C" { #endif ENRMRenderResult *ENRMRenderASTNodes(NSArray *nodes, StyleConfig *config, BOOL allowTrailingMargin, BOOL allowFontScaling, CGFloat maxFontSizeMultiplier, NSLineBreakStrategy lineBreakStrategy); // Renders a blockquote's own text content: like ENRMRenderASTNodes but with a blockquote baseline // (tight paragraphs, quote font/color) and the quote's line height applied over the result. Draws // no box - the ENRMBlockquoteContainerView draws the border/background/padding. Mirrors Android's // BlockquoteTextRenderer. ENRMRenderResult *ENRMRenderBlockquoteContentNodes(NSArray *nodes, StyleConfig *config, BOOL allowFontScaling, CGFloat maxFontSizeMultiplier, NSLineBreakStrategy lineBreakStrategy); #ifdef __cplusplus } #endif NS_ASSUME_NONNULL_END