@class TSUBezierPath, NSString; @interface TSWPRenderer : NSObject <TSWPRendering> @property (nonatomic) BOOL flipShadows; @property (retain, nonatomic) TSUBezierPath *interiorClippingPath; @property (readonly, nonatomic) struct CGContext { } *context; @property (nonatomic) double viewScale; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (void)initialize; + (struct __CTFont { } *)invisiblesFont; + (id)correctionAndDictationMarkColor; + (struct __CTFont { } *)flippedInvisiblesFont; + (id)grammarMarkColor; + (id)spellingMarkColor; - (void)dealloc; - (id)initWithContext:(struct CGContext { } *)a0; - (void).cxx_destruct; - (BOOL)p_canvasSelectionIncludesDrawableOfAttachmentAtCharIndex:(unsigned long long)a0 state:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a1; - (struct CGSize { double x0; double x1; })convertSizeToDeviceSpace:(struct CGSize { double x0; double x1; })a0; - (void)didRenderFragments; - (void)drawFragment:(const void *)a0 updateRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1 drawingState:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a2 runState:(struct { struct _NSRange { unsigned long long x0; unsigned long long x1; } x0; id x1; double x2; id x3[3]; unsigned int x4; struct TSWPDrawingState *x5; id x6; id x7; id x8; struct __CTFont *x9; struct CGColor *x10; id x11; BOOL x12; int x13; double x14; struct CGColor *x15; double x16; } *)a3 lineDrawFlags:(unsigned long long)a4; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })getClipBoundingBox; - (void)p_drawAdornmentGlyphs:(id)a0 lineFragment:(const void *)a1 state:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a2; - (void)p_drawAdornmentLine:(id)a0 drawingState:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a1 lineFragment:(const void *)a2 lineFragmentStart:(struct CGPoint { double x0; double x1; })a3 vertical:(BOOL)a4; - (void)p_drawAdornmentLineBackgroundRect:(id)a0 lineDrawFlags:(unsigned long long)a1 drawingState:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a2 bounds:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a3; - (void)p_drawAdornments:(id)a0 lineFragment:(const void *)a1 state:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a2; - (void)p_drawAttachmentAdornments:(id)a0 lineFragment:(const void *)a1 state:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a2; - (void)p_drawAttachmentGlyphAtPosition:(struct { unsigned long long x0; double x1; })a0 fragment:(const void *)a1; - (void)p_drawAutocorrectionMarkingsFragment:(const void *)a0 drawingState:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a1; - (void)p_drawDictationMarkingsFragment:(const void *)a0 drawingState:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a1; - (void)p_drawHiddenDeletionsAdornments:(id)a0 lineFragment:(const void *)a1 state:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a2; - (void)p_drawInvisiblesAdornments:(id)a0 lineFragment:(const void *)a1 state:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a2; - (void)p_drawInvisiblesBreakLine:(id)a0 lineFragment:(const void *)a1 state:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a2; - (void)p_drawListLabelForFragment:(const void *)a0 drawingState:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a1 lineDrawFlags:(unsigned long long)a2; - (void)p_drawWordMarkingsForFragment:(const void *)a0 color:(id)a1 ranges:(id)a2 suppressRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a3 drawingState:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a4; - (void)p_strokeLineFromPoint:(struct CGPoint { double x0; double x1; })a0 toPoint:(struct CGPoint { double x0; double x1; })a1 width:(double)a2; - (void)p_strokeWavyLineFromPoint:(struct CGPoint { double x0; double x1; })a0 toPoint:(struct CGPoint { double x0; double x1; })a1 width:(double)a2; - (void)willRenderFragmentsWithDrawingState:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a0; - (void)drawAdornmentRects:(id)a0 forColumn:(id)a1 foreground:(BOOL)a2 drawingState:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a3; - (void)drawAdornmentsForFragment:(const void *)a0 updateRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1 drawingState:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a2 runState:(struct { struct _NSRange { unsigned long long x0; unsigned long long x1; } x0; id x1; double x2; id x3[3]; unsigned int x4; struct TSWPDrawingState *x5; id x6; id x7; id x8; struct __CTFont *x9; struct CGColor *x10; id x11; BOOL x12; int x13; double x14; struct CGColor *x15; double x16; } *)a3 lineDrawFlags:(unsigned long long)a4; - (void)drawCharacterFillAdornmentRects:(id)a0 forColumn:(id)a1 excludeRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a2 drawingState:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a3; - (void)drawCharacterStrokeAdornmentRects:(id)a0 forColumn:(id)a1 excludeRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a2 drawingState:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a3; - (void)p_clipToInteriorClippingPath; - (void)p_drawRun:(const struct __CTRun { } *)a0 range:(struct { long long x0; long long x1; })a1 attributes:(id)a2 canvasIsInteractive:(BOOL)a3; - (void)p_drawTextInRunsForLine:(struct TSWPLineRef { struct __CTLine *x0; struct CGPoint { double x0; double x1; } x1; struct _NSRange { unsigned long long x0; unsigned long long x1; } x2; unsigned long long x3; struct CGAffineTransform { double x0; double x1; double x2; double x3; double x4; double x5; } x4; unsigned long long x5; })a0 fragment:(const void *)a1 state:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a2 listLabel:(BOOL)a3 tateChuYoko:(BOOL)a4 ruby:(BOOL)a5 baseRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a6 isFirstLineRef:(BOOL)a7; - (void)p_setCTMAndTextPositionForFragment:(const void *)a0 state:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a1; - (BOOL)shouldClipFragment:(const void *)a0 drawingState:(const struct TSWPDrawingState { id x0; id x1; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x2; id x3; id x4; unsigned long long x5; struct CGColor *x6; double x7; BOOL x8; BOOL x9; BOOL x10; BOOL x11; BOOL x12; BOOL x13; BOOL x14; BOOL x15; unsigned long long x16; struct _NSRange { unsigned long long x0; unsigned long long x1; } x17; id x18; id x19; struct _NSRange { unsigned long long x0; unsigned long long x1; } x20; struct _NSRange { unsigned long long x0; unsigned long long x1; } x21; unsigned long long x22; struct _NSRange { unsigned long long x0; unsigned long long x1; } x23; id x24; BOOL x25; id x26; } *)a1 lineDrawFlags:(unsigned long long)a2 updateRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a3 outClipRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } *)a4; @end