mirror of
https://github.com/NickeManarin/ScreenToGif.git
synced 2026-04-25 23:25:52 +03:00
Labels
No labels
copy cats
duplicated
future feature
pull-request
⬜ Accepted
⬜ Completed
⬜ Help Wanted 💪
⬜ In Progress
⬜ Missing Details
⬜ Pending
⬜ Waiting For Answer ⏳
🆕 feature preview
🔷 Bug 🐛
🔷 Out Of Scope
🔷 Out Of Scope
🔷 Question
🔷Enhancement
🔷Enhancement
🔷Invalid / External
🔷Knowledge Base
🔷Won't Fix
🕑 High
🕑 High
🕑 High
🕕 Medium
🕙 Low
🕛 Critical
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ScreenToGif#1143
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/NickeManarin/ScreenToGif/pull/540
Author: @theJosher
Created: 10/19/2019
Status: 🔄 Open
Base:
master← Head:issues/ink-strokes-not-captured-until-stylus-up📝 Commits (9)
2f14456Merge pull request #1 from NickeManarin/masterbb05fc4adding overlay and logic to pull partial stroke from inking thread8375b57Removed unused members160411aFixed reset problem3fd19c1Code cleanup and discard re-init of overlayf85b908Fixed overlay distortion issues by tweaking DrawingGroup instead of margins6ce3ee8code review - changed order of private and static 😄c76a89auppercasecf73ba3slightly lighter PathGeometry📊 Changes
3 files changed (+157 additions, -2 deletions)
View changed files
📝
ScreenToGif/Controls/InkCanvasExtended.cs(+122 -1)📝
ScreenToGif/ImageUtil/ImageMethods.cs(+27 -0)📝
ScreenToGif/Windows/Board.xaml.cs(+8 -1)📄 Description
This fixes #453 by using reflection to get a frozen copy of DrawingGroups from the inking thread's real-time visual. Under normal use cases, it seems strokes are transitioned from the inking thread to the UI thread's InkCanvas when completed (e.g. stylus up). However, in our sort of unique case of animating the drawing process, we do want to see the real-time visual incrementally, so this fix pulls over the partial stroke as DrawingGroups into an image overlay that is Z-ordered above the InkCanvas. This extra partial-stroke-copy logic is only performed when a capture is desired (via thetimer), and the inking overlay is emptied when no partial stroke is alive.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.