Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: hijacking a module constructor

by perrin (Chancellor)
on Nov 03, 2003 at 16:52 UTC ( [id://304151]=note: print w/replies, xml ) Need Help??


in reply to hijacking a module constructor

GD is open source. Why not simply take the code and change it to do what you want? This dynamic remapping idea sounds very fragile to me.

Replies are listed 'Best First'.
Re: Re: hijacking a module constructor
by hackmare (Pilgrim) on Nov 03, 2003 at 17:14 UTC

    it might end up being too fragile.

    The problem is that GD is really raster-centric, and I am attempting to generate vector output.

    I think it would unnecessarily pollute the GD API to bring in vector support.

    I'm trying to provide vector-graphics support to people who want to output simple GD-centric programs without burying everyone in excessive dependencies.

    Because GD (not GD.pm) works on a pixel-by-pixel basis, I'm trying to work on both vector entities and pixel-related entities at the same time. And GD is turning out to have some nice,convenient capabilities that look handy to keep - otherwise I'd simply rename GD to something else.

    I'll see soon enough if this turns out to be a fool's errand, but so far, except for this detail, it's looking fairly good.


    hackmare.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://304151]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-18 17:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found