1) In docs ( https://ninjatrader.com/support/help...arpDXResources ), it is said:
However, in none of code i have ever seen such approach (to use .IsDisposed property) to check if object is disposed or not.
In the above example, i assume the documentation just skipped the theoretical code parts which might have been between the two lines (where creating the object and making check of ".IsDisposed"). is my understanding correct?
or there might happen theoretically a case, that within same "OnRender" cycle, if we just don't dispose the object ourselves, it might be disposed by the program? So, why we need to check for "IsDisposed" if we see we dont have a flaw in the coding of disposable object?
probably you understand the question, so once again, does it ever happen that object might be disposed "itself" that makes us forced to check for "isDisposed"?
2) a bit after that in documentation, there is mentioned the phrase:
"Instead, you should construct a SharpDX Brush directly if a WPF brush is not ever needed"
my question is, is there the word "not" a mistake? because it makes a suggestion to us, and i think it should have said "..brush is ever needed" and "not" is mistake there. Is my udnerstanding correct?
3) in the bottom of that page, it is said that "RenderTarget.AntialiasMode = SharpDX.Direct2D1.AntialiasMode.PerPrimitive" uses higher quality rendering (but has performance impact). Are there any few visual examples, of how much does that setting makes rendering better?
so, some examples of pictures we could look at (drawings, lines, etc...) with and without it and can see "how much better does that property makes drawings" ?

Comment