jingwood / d2dlib

A .NET library for hardware-accelerated, high performance, immediate mode rendering via Direct2D.
MIT License
245 stars 43 forks source link

Missing clip rect in OnRender #90

Open zzattack opened 2 years ago

zzattack commented 2 years ago

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