BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How i can print any CIRCLE in HIGH QUALITY ?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Writing
View previous topic :: View next topic  
Author Message
Delphi Guru
Guest





PostPosted: Tue Nov 04, 2003 2:02 pm    Post subject: How i can print any CIRCLE in HIGH QUALITY ? Reply with quote



How i can print any CIRCLE in HIGH QUALITY ?

not only 1 circle , but i want 20 circle , one inside the other
( this is a circular barcode )

i have this code..

for JJ := ..... do

Image2.Canvas.Ellipse(iLeft-iDeltaFor,iTop-iDeltaFor,iLeft+iDeltaFor,iTop+iD
eltaFor);

and work!! ;-)

but... problems :
- the image is too big ( 12 cm )
- the printed quality is Very BAD!!!

hint ?





Back to top
Finn Tolderlund
Guest





PostPosted: Tue Nov 04, 2003 2:49 pm    Post subject: Re: How i can print any CIRCLE in HIGH QUALITY ? Reply with quote



Define "high quality".
--
Finn Tolderlund

"Delphi Guru" <DelphiGuru (AT) yahoo (DOT) com> wrote

Quote:
How i can print any CIRCLE in HIGH QUALITY ?



Back to top
Kurt Barthelmess
Guest





PostPosted: Tue Nov 04, 2003 4:21 pm    Post subject: Re: How i can print any CIRCLE in HIGH QUALITY ? Reply with quote



"Delphi Guru" <DelphiGuru (AT) yahoo (DOT) com> wrote:

Quote:
but... problems :
- the image is too big ( 12 cm )

You chose the size. Why don't you choose a smaller size?

Quote:
- the printed quality is Very BAD!!!

Are by chance trying to copy a screen generated image to a printer? If
so, that is a vary bad idea. The screen typically has at most 120
pixels to the inch, while the printer has at least 300, often 1200,
pixels per inch. If you copy the image without redrawing, all you can
do is expand each screen dot to a square block on the printer.

Instead draw the ellipse on the printer device, adjusting your
coordinates to fit the device's characteristics.

Good luck.

Kurt


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Writing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.