 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Tomaz Koritnik Guest
|
Posted: Tue Jun 22, 2004 10:19 am Post subject: Line rasterization |
|
|
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
|
Posted: Tue Jun 22, 2004 1:51 pm Post subject: Re: Line rasterization |
|
|
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
|
Posted: Tue Jun 22, 2004 7:55 pm Post subject: Re: Line rasterization |
|
|
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 |
|
 |
|
|
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
|
|