Jump to content
  • Advertisement
Sign in to follow this  
LarsKJ

[SlimDX] How to scroll a Direct2D scene?

This topic is 2814 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have built a datagrid with SlimDX and Direct2D/DirectWrite that I am trying to make scrolling smoother and faster.

When scrolling I would like to avoid repainting the entire scene and only push a certain area of the existing scene upwards or downwards, and then only paint the new rows. I don't want to move the entire scene as the header should remain fix.

The part that I do not know how to handle is how to make a rectangle and move it.

Anyone has a suggestion that is performant.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!