Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw.Text() font objects smaller relative to areaBrush versus using NT7 DrawText()

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Draw.Text() font objects smaller relative to areaBrush versus using NT7 DrawText()

    Hi,

    I would like some guidance with regards to using Draw.Text() within NinjaTrader 8 as opposed to DrawText() within NinjaTrader 7.

    By not making any changes to font and just changing the names to use the upgraded functionality I have found the font size of an object to be significantly smaller relative to the areaBrush and outlineBrush, this is when using both the areaBrush and outlineBrush with an areaOpacity of 100.

    I'm hoping NinjaTrader or another user have encountered this themselves and any suggestions would be appreciated. I have experimented with changing the fonts however this is not proving to be helpful. The only other solution I have is to create another object for each a rather significant number I might add and of course unnecessarily increasing the amount of Draw.Text() functions.

    Regards,
    suprsnipes.

    #2
    Hello suprsnipes,

    Thanks for your post.

    Yes, there is a difference in the underlying display technology used. NinjaTrader7 uses gdi+ (CPU based) and NinjaTrader8 uses SharpDX and directX (GPU based).

    I'm not sure I understand the specific question. Can you provide a simplified example that illustrates?


    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    670 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    379 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    111 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    575 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    582 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X