Scraggle, Thanks, I get that now however, seems to have no impact on the last lines even if I exaggerate the line thickness...still loses the right and bottom lines
tmpImg = CreateRenderImage(GetVirtualWidth(), GetVirtualHeight(), 0, 0)
SetRenderToImage(tmpImg, 0)
ClearScreen()
DrawBox(0.0, 0.0, GetVirtualWidth(), GetVirtualHeight(), makecolor(255,255,255),makecolor(255,255,255),makecolor(255,255,255),makecolor(255,255,255),1)
DrawBox(5.0, 5.0, GetVirtualWidth()-5.0, GetVirtualHeight()-5.0, makecolor(0,0,0),makecolor(0,0,0),makecolor(0,0,0),makecolor(0,0,0),1)
//DrawBox(0.0, 0.0, 950, 720, makecolor(255,255,255),makecolor(255,255,255),makecolor(255,255,255),makecolor(255,255,255),0)
//DrawBox(30.0, 20.0, 940, 710, makecolor(255,255,255),makecolor(255,255,255),makecolor(255,255,255),makecolor(255,255,255),0)
SetRenderToScreen()
tmpGrid.iCursorImg = CopyImage(tmpImg, 0,0, 20,20)
DeleteImage(tmpImg)
SetImageTransparentColor(tmpGrid.iCursorImg,0,0,0)
tmpGrid.iCursorSpr = CreateSprite(tmpGrid.iCursorImg)
SetSpriteSize(tmpGrid.iCursorSpr, tmpGrid.iDispPixelSize, tmpGrid.iDispPixelSize)
SetSpritePosition(tmpGrid.iCursorSpr, tmpGrid.ixPos, tmpGrid.iyPos)
Here the lines are 5 'pixels' wide which are shown as very thick lines for the top and left but are missing for the bottom and right? See image attached.
It seems to be cropping somwehow?
I control all the juicy in here!