Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 20:05:32 +0000



Post From: SC Structure Support for p_GDIFunction

[2013-04-23 15:58:20]
ejtrader - Posts: 688
Thanks SC Team. Perfectly understandable.

- It seems the pixel co-ordinates based on the following functions work fine with GDI but when they are used with GDI+ - there are alignment issues. They seem to be offset by some amount and seems to be related to the Window border or something.

sc.BarIndexToXPixelCoordinate()
sc.RegionValueToYPixelCoordinate()

Wondering if there is any way to get them aligned in GDI+ as GDI+ seems to be a better option for it's rich graphics as well as GPU usage compared to CPU usage in GDI.

Thanks


imageSC_GDI_No_Alignment_Issues.png / V - Attached On 2013-04-23 15:55:52 UTC - Size: 12.07 KB - 749 views
imageSC_GDIPlus_Alignment_Issues.png / V - Attached On 2013-04-23 15:56:54 UTC - Size: 12.66 KB - 762 views
Attachment Deleted.