FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Draw some simple rectangles?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Draw some simple rectangles? [message #178721 is a reply to message #178716] Tue, 24 July 2012 00:12 Go to previous message
Chuck Anderson is currently offline  Chuck Anderson
Messages: 63
Registered: September 2010
Karma:
Member
Christopher M. wrote:
> I'd like to draw some simple rectangles--maybe have some text and a 7x5
> (dimensions) rectangle beside it.
>

Use GD lib. It should be pretty easy with this:
http://www.php.net/manual/en/function.imagerectangle.php

Or even easier, Google his phrase "GD lib draw rectangle tutorial".

> Is there an easy way to do this, or should I just create some images?
>

Probably simpler, but learning how to use GD lib is also a worthwhile
activity - and you can then make different sized rectangles on the fly.

>
> W. Pooh (AKA Winnie P.)
>
>
>


--
*****************************
Chuck Anderson • Boulder, CO
http://cycletourist.com
Turn Off, Tune Out, Drop In
*****************************
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using PHP and JAVA applets together
Next Topic: Web page design
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 05:05:35 GMT 2024

Total time taken to generate the page: 0.04580 seconds