T O P I C R E V I E W |
andyhill |
Posted - Sep 04 2022 : 21:05:39 PC1 is 2560 x 1600 150% Scaling
PC2 is 1920 x 1080 125% Scaling
How do I get logical conversions of ImageEnView X/Y mouse clicks to represent the same position on the base layer image no matter which PC is used ?
Andy |
3 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Sep 05 2022 : 16:27:37 Hi Andy
Unfortunately in ImageEn, some points return, require or default to screen/client values, and some are bitmap values. You are best to check the documentation for each method which type of value it is.
Nigel Xequte Software www.imageen.com
|
andyhill |
Posted - Sep 05 2022 : 15:19:04 Thanks Nigel, I have found that to build a SELECT polygon in code one MUST NOT USE Src2Bmp and yet on the other hand one MUST USE Src2Bmp when building a polyline/polygon object in code (same location points). Same goes for Text/Shape TRect off memory.
This is why I originally abandoned Src2Bmp due to what played out as inconsistencies, if you could explain why it is this way it would be helpful to me.
Andy |
xequte |
Posted - Sep 04 2022 : 21:41:50 Hi Andy
To convert screen positions to bitmap positions use:
https://www.imageen.com/help/TImageEnView.XScr2Bmp.html https://www.imageen.com/help/TImageEnView.YScr2Bmp.html
Nigel Xequte Software www.imageen.com
|