Archive for March, 2007

PHP Bookmarks

Thursday, March 8th, 2007

After a visit to the Quick Reference Tips on php.net, I was disappointed there are 4 Widgets designed for Apple Mac, but there are only 2 for PC. There should be more options for PC users who wants quickly look for PHP function reference.

I came up with this tool I written in PHP. It is a bookmark maker for all known PHP functions. It let you choose what language for the documentation, and it let you choose what server you wants the documentation to be served from. The produced bookmark is in Netscape’s bookmark format, it can be imported to Internet Explorer, Firefox, del.icio.us, spurl.net and many other online bookmark sites.

PHP Bookmarks in Firefox

PHP Bookmarks in IE

Click here to choose your prefered PHP function references, and generate your own bookmarks. If you can’t be bothered to do that, just click to download one I made earlier. (Its a HTML file, so you need to do a “Save file as” in your browser in order to save it.)

Btw: The since the bookmarks are in general bookmark format, it is cross platform, it can be used on Mac, Linux or any other operating systems.

Delphi code part 4 - Bitmap

Wednesday, March 7th, 2007

After I learned how colour can be manupilated, I started to work on bitmaps. Back then I even borrowed a book to learn how bitmaps can be modified, like blur, sharp, find edge, etc. The technique was called filtering.

Here is the code

Show Code | Download Grafman.pas

I also written another unit which is required by the above unit (grafman.pas), it contains all useful function for tile bitmaps, apply a mask to a bitmap, draw a 3D text, etc

Show Code | Download DrawMan.pas