Method to render a formula to an existing bitmap
Open
help-wanted
kind:feature
- Dominant language
- C#
- Stars
- 719
- Forks
- 113
- Avg merge
- 6d 12h
- Merged PRs (30d)
- 1
Description
### Motivation
To avoid reallocations for every created bitmap. Useful, when rendering a formula for the same control/file.
### Details
Proposed syntax for `TexRenderer`:
```cs
public void RenderToBitmap(RenderTargetBitmap dst, double x, double y)
```
The idea is to render it to the given bitmap of type `RenderTargetBitmap`.
Because the rendered image has an unpredictable size, I suggest resizing it internally to the size of the destination bitmap.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.