jingwood / jingwood/d2dlib

Missing clip rect in OnRender

Open
#90 0 comments 0 reactions 0 assignees View on GitHub
enhancement todo
Dominant language
C#
Stars
261
Forks
48
PR merge metrics
No merged PRs in 30d

Description

Currently there is no facility to invalidate partial regions of the target HWND.
Please consider passing along the ClipRectangle from the PaintEventArgs here:
https://github.com/jingwood/d2dlib/blob/d6db6bddd03e804e7b54d77c44a20f56e93862d5/src/D2DWinForm/D2DControl.cs#L100

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in src/D2DWinForm/D2DControl.cs around line 100 and inspect how OnRender receives PaintEventArgs. Trace how the ClipRectangle could reach partial invalidation of the target HWND, then verify that the rendering path uses the requested region. Done means partial target regions can be invalidated through OnRender.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
computer-graphics, desktop
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.