Udostępnij za pośrednictwem


Insert vs Draw

In programming, are you inserting an image or drawing it?

 

To the programmer, you're really just inserting an image into your program. Just like if you inserted an image in a Word file.

But to the program, it has to take the file and draw out the image in your program.

And that's why programming typically uses a Draw statement rather than an Insert statement.

 

Here are some examples:

.NET Framework Image Class:

https://msdn.microsoft.com/en-us/library/system.drawing.image(v=vs.110).aspx

Small Basic GraphicsWindow Class:

https://social.technet.microsoft.com/wiki/contents/articles/16368.small-basic-curriculum-lesson-2-1-graphics-window.aspx

https://social.technet.microsoft.com/wiki/contents/articles/23618.small-basic-reference-documentation-graphicswindow-class.aspx

 

Go to https://blogs.msdn.com/SmallBasic to download Small Basic for free and learn all about it!   

 

Post a comment if you have any further thoughts on this topic!

   - Ninja Ed

Comments