As became apparent in #1558, not all IRenderContext implementations support the maxSize parameter of DrawText(...).
I think we could address this by:
- Remove the
maxSize parameter from IRenderContext.DrawText()
- Add a
RenderingExtensions.DrawText() extension method with the maxSize parameter
- Implement this functionality using a combination of text measurement and regular clipping
That way I think it should be possible to get this to work on all platforms that natively support clipping.
I might have a look at this later.
As became apparent in #1558, not all
IRenderContextimplementations support themaxSizeparameter ofDrawText(...).I think we could address this by:
maxSizeparameter fromIRenderContext.DrawText()RenderingExtensions.DrawText()extension method with themaxSizeparameterThat way I think it should be possible to get this to work on all platforms that natively support clipping.
I might have a look at this later.