You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before implementing, we need to figure out how does the transform interfere with DrawTextProcessor.Location and ultimately RenderOptions.Origin. Ideally, I would replace DrawTextProcessor.Location with DrawTextProcessor.Transform entirely, but there might be things I'm missing.
Follow-up on the discussion #124.
We should enable using an arbitrary
Matrix3x2
transform as a parameter withinDrawTextProcessor
.The easiest implementation seems to be to pass it to
PathBuilder
here:ImageSharp.Drawing/src/ImageSharp.Drawing/Processing/Processors/Text/DrawTextProcessor{TPixel}.cs
Line 223 in e09fe9b
Open questions
Before implementing, we need to figure out how does the transform interfere with
DrawTextProcessor.Location
and ultimatelyRenderOptions.Origin
. Ideally, I would replaceDrawTextProcessor.Location
withDrawTextProcessor.Transform
entirely, but there might be things I'm missing.@tocsoft any thoughts?
The text was updated successfully, but these errors were encountered: