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 

Line rasterization

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics
View previous topic :: View next topic  
Author Message
Tomaz Koritnik
Guest





PostPosted: Tue Jun 22, 2004 10:19 am    Post subject: Line rasterization Reply with quote



Hi

How are polylines of width more than 1 rasterized? I need to rasterize
lines like the ones GDI draws where edges and joins are rounded. Are they
rasterized as polygons maybee?

regards
Tomaz


Back to top
Nils Haeck
Guest





PostPosted: Tue Jun 22, 2004 1:51 pm    Post subject: Re: Line rasterization Reply with quote



Yes, usually if they're rounded, the preprocessing step will turn this into
a polyline with a few segments to approximate the arc, then all of that is
sent to the low-level rendering engine that just takes straight line
segments.

Nils

"Tomaz Koritnik" <nospam (AT) nospam (DOT) com> wrote

Quote:
Hi

How are polylines of width more than 1 rasterized? I need to rasterize
lines like the ones GDI draws where edges and joins are rounded. Are they
rasterized as polygons maybee?

regards
Tomaz





Back to top
Tomaz Koritnik
Guest





PostPosted: Tue Jun 22, 2004 7:55 pm    Post subject: Re: Line rasterization Reply with quote



Hi

Thanks Nils. I'm also working on a graphics library like you do and I
like very much what you accomplished. But the only thing I'm still missing
is antialiasing. I looked at your dtpDocuments demo, and lines & curves are
beautifully drawn. Do you have any link to info about antialiasing
techniques? I prefer articles not example code.

regards
Tomaz


"Nils Haeck" <n.haeckno (AT) spamchello (DOT) nl> wrote

Quote:
Yes, usually if they're rounded, the preprocessing step will turn this
into
a polyline with a few segments to approximate the arc, then all of that is
sent to the low-level rendering engine that just takes straight line
segments.

Nils

"Tomaz Koritnik" <nospam (AT) nospam (DOT) com> wrote in message
news:40d807ba (AT) newsgroups (DOT) borland.com...
Hi

How are polylines of width more than 1 rasterized? I need to
rasterize
lines like the ones GDI draws where edges and joins are rounded. Are
they
rasterized as polygons maybee?

regards
Tomaz







Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics 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.