I am trying to display 4 images inside a control, for this is necessary draw 3 of them starting from negative coordinates, but it does not work.
I am able to recreate the behavior with this code:
- Code: Select all Expand view
- proc main
LOCAL oWnd, oBr, oBmp
DEFINE WINDOW oWnd TITLE "Test BitMap"
@ 10,10 BITMAP oBmp SIZE 300,400 PIXEL OF oWnd ;
FILE "https://wikitravel.org/upload/en/thumb/3/32/Paris-eiffel-tower.jpg/300px-Paris-eiffel-tower.jpg"
oBmp:nX = -150
oBmp:nY = -200
oBmp:lStretch := .F.
ACTIVATE WINDOW oWnd
The expected result is the bottom right corner of the image drawn in the top left corner of control, but it does not happens...
Any suggest?