Vector or Raster?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am writing a graphics program. It draws images, shapes and text. I want
to be able to zoom and scroll the images it creates.

I also want to be able to email a jpg file to others.

But I am thinking for the windows app, at least when zooming text, using a
local metafile will look much better.

But later I will want to convert it to a bitmap and save it as a jpg.

Here are my questions:
1) Am I correct about using the metafile for the zooming? Any things I
should look out for?

2) I am thinking to save it, I need to create a bitmap object,get a graphics
object from it, and then paint into the graphics object. Is there an easier
way?

Thanks for the Help!
 
Scan throuh the GDI+ FAQ and Windows Forms Tips and Tricks. There are many
articles that pertain to your needs.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 
Hi,

1. I think you're correct about the metafile for the zooming.

2. I suggest you save it as Vector in the file. Whenever needed to send it
as bitmap, you can draw it directly to graphics objects. This is commonly
used for graphics programs.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top