ForNeVeR / ForNeVeR/xaml-math

Method to render a formula to an existing bitmap

Open
#289 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.