Article View: comp.lang.postscript
Article #255Big polygons
From: Andrew Newell Mickish
Date: Mon, 10 Aug 1992 18:04
Date: Mon, 10 Aug 1992 18:04
12 lines
896 bytes
896 bytes
I need a strategy for printing polygons with an arbitrary number of vertices. Currently, I just put all the coordinates on the stack and pop them off as I draw them. However, the number of vertices that can be drawn is limited by the number of elements that can appear on the stack at one time. So I guess the question comes down to how do I deal with a very large number of parameters to a function? Thanks, --Andrew Mickish
Technical Details
Message-ID:
<4eVm0Lq00awAMCPkkW@andrew.cmu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!uwm.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!am2q+Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!uwm.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!am2q+ From: am2q+@andrew.cmu.edu (Andrew Newell Mickish) Newsgroups: comp.lang.postscript Subject: Big polygons Message-ID: <4eVm0Lq00awAMCPkkW@andrew.cmu.edu> Date: 10 Aug 92 18:04:07 GMT Article-I.D.: andrew.4eVm0Lq00awAMCPkkW Organization: School of Computer Science, Carnegie Mellon, Pittsburgh, PA Lines: 12