jingwood / jingwood/d2dlib

D2DControl usage

Open
#78 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
261
Forks
48
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am just starting to explore this library and looking for an example of proper D2DControl usage. My main question is what the best practice is for triggering OnRender? The only way I have been able to make it work is through a timer driven call that invokes Invalidate() every N milliseconds on my D2DControl derived control. This, however, results in 0 FPS with ShowFPS property enabled which makes me think I am not doing it right.

Thanks for any pointers or tips.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing D2DControl's OnRender, Invalidate(), and ShowFPS behavior, then reproduce the timer-driven example described in the issue. Done means documenting a supported way to trigger rendering and clarifying why ShowFPS reports 0 FPS; no source file or test is named.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
computer-graphics
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.