adobe / adobe/svg-native-viewer
GDIPlusSVGPath::MoveTo need a mPath.StartFigure
- Dominant language
- C++
- Stars
- 164
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I try a svg file at https://www.w3schools.com/graphics/tryit.asp?filename=trysvg_path, and found different render result with gdiplus ports
I tried add `StartFigure ` at `MoveTo` and works ok
```cpp
void GDIPlusSVGPath::MoveTo(float x, float y)
{
mPath.StartFigure(); // add StartFigure at here
mCurrentX = x;
mCurrentY = y;
}
```
svg file:
```xml
```
Contributor guide
Research direction
Start at GDIPlusSVGPath::MoveTo and reproduce the rendering difference with the linked SVG path example. Compare the result with and without mPath.StartFigure(), then verify that the affected paths render consistently without changing unrelated SVG path behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100