Jump to content

Rendering to Dst Surface in OnSetRenderInfo


MJW

Recommended Posts

I believed it was okay to do all the rendering in OnSetRenderInfo; however, when I wrote a plugin that does that, it worked fine with rectangular selections, but when I tried a circular selection, it wrote outside the selected area. Red ochre asked about the same problem in a earlier thread, and was advised to use a per-pixel selectionRegion.IsVisible test. I don't mind testing IsVisible (though I've read in the past that it's slow), but I want to make sure writing to the dst surface in OnSetRenderInfo is allowed, and not just something that happens to work as long as IsVisible is tested.

Edited by MJW
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...