Canvas drawing and web gadget
Posted: Fri Aug 20, 2021 4:31 pm
I am using a canvas gadget to display an image using the following code.-
This works well, the image is placed 40mm in and 40mm down and is the right size.
I wat to recreate this on a web page using HTML and have tried the following:-
This also woks in that the image is displayed but all measurements are smaller approx 90%.
I have tried this with the web gadget and also as a file loaded into Firefox.
Both show the same.
Am I missing something on the HTML side?
Code: Select all
StartVectorDrawing(CanvasVectorOutput(CanvasPageDesign,#PB_Unit_Millimeter))
MovePathCursor(40,40)
DrawVectorImage(ImageID(0),255,100,40)
StopVectorDrawing()
I wat to recreate this on a web page using HTML and have tried the following:-
Code: Select all
<img style="border: medium none ; position: absolute; top: 40mm; left: 40mm; width: 100mm; height: 40mm;" rytr="" src="558.jpg">
I have tried this with the web gadget and also as a file loaded into Firefox.
Both show the same.
Am I missing something on the HTML side?