Akshat Gupta

Finally invoved in Open Source :)

phpCairo Tutorial – I

Cant stop myself from writing this post … I need to tell someone how the code will look on the php user space ;)

Yes this tutorial is about implementing the Hello World Program :)

PHP Code :

$sur = new CairoImageSurface(0,400,400);
$con = new CairoContext($sur);
$con->show_text(”Hello World”);
$con->set_source_rgb(1.0, 0.0, 0.0);

End PHP Code

May 27, 2008 - Posted by | gsoc

1 Comment »

  1. Wow, that’s some good work you have there. Congrats and keep it up!

    Comment by Anant | May 27, 2008 | Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: