I want to have a screen shot in c/c++。There are 2 api,UF_DISP_create_Framed_image ,ImageExportBuilder.They work in graphic window coordinate, so i need to know how to map the absolute point to the window pixel.
eg:
There is a IdSymbol in draft,box{100,100,100,100}. If i want to export this IdSymbol to an image ,i need to know where it is ,and its size in the screen (simply it`s different between screen resolution 720p and 4k ).
eg:
There is a IdSymbol in draft,box{100,100,100,100}. If i want to export this IdSymbol to an image ,i need to know where it is ,and its size in the screen (simply it`s different between screen resolution 720p and 4k ).