Jump to content
pcoder

TDirect2DCanvas.SetPen

Recommended Posts

I found that TDirect2DCanvas.SetPen() doesn't assign (copy) the contents, but only the parameter pointer.

A side effect is, callers cannot free or store the original variable. What is the reason behind this?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×