|
-
March 29th, 1999, 03:57 AM
#1
The bitmap??
Hello:
I have a important question.
I use VC++6.0 MFC.I make a simple graphic use line,arc,and so on.
I make the graphic read into memory.When I use StretchBlt() function
Stretch the graphic.THere are big truble happen.The line's width are
wide when graphic stretching.I didn't like there.But I must use StretchBlt()
funtion.How will I do?
Would you help me? Give me any advice?
Thank you very much!
Yoh-hei
-
March 29th, 1999, 06:14 AM
#2
Re: The bitmap??
I think that what you need to investigate are vector drawings rather than bitmaps. It seems that you want to draw a picture and have it scale to any size area. You could try holding all of the co-ordinates in some array and then re-draw the image any time the area is resized, or you might try using a "metafile". I am not familiar with metafile use, but it seems that that is what you need.
-
March 29th, 1999, 08:11 PM
#3
Re: The bitmap??
Hello:
Thanks you help.
I can't use vector drawing beacuse if there are many many
vertor ,redraw is very slow. But bitmap is very quick if graphic
change on screen.I known newpen.CreatePen( ,1, ) function.then
draw line the width is 1.But I don't know if Bitmap can do like?
Thank you again!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|