Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3747

Drawing picture in a web canvas

$
0
0

Hi,

I am moving a desktop app to a web app. I need to draw a picture with a 2d object inside on a web canvas. I tried

if pp<>nil then
  g.DrawPicture (pp, 30, 30)
end

And I get " This application has encountered a non-fatal problem"
If I draw a rectangle, It works fine…

g.DrawingColor = Color.Red
g.PenSize = 5
g.DrawRectangle(10, 10, 100, 100)

Any idea?

Thanks

Chris

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3747

Trending Articles