|
|
Subject:
Bezier curves in Haskell using X11 ?
Category: Computers > Programming Asked by: exitmusic_-ga List Price: $75.00 |
Posted:
11 Apr 2005 09:09 PDT
Expires: 16 Apr 2005 11:11 PDT Question ID: 507862 |
Hi there, This question relates to the Haskell programming language. I work in Mac OS X and am learning Haskell through Paul Hudak's excellent "School of Expression" textbook (ISBN 0-521-64408-9). I am using the Hugs interpreter (version March 2005). When I try to use his function polyBezier to draw a Bezier curve, I am told that X11 (the windowing system for UNIX-based machines) does not support them and instead it draws me a "poly line". Yet it works on Windows computers as they use a different graphics system. I found out that X11 does not provide any primitives to draw cubic splines but a new function could be written for this. It should be a simple enough matter to write a bezier-curve implementation in terms of the existing polyline functions? I don't know why the SOE authors don't provide such a function for UNIX users. But if you can help, please do. Thank you |
|
There is no answer at this time. |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |