Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #6643 > unrolled thread
| Started by | "Christopher M." <nospam_flibbity@floo.com> |
|---|---|
| First post | 2012-07-23 16:25 -0400 |
| Last post | 2012-07-23 18:12 -0600 |
| Articles | 6 — 5 participants |
Back to article view | Back to comp.lang.php
Draw some simple rectangles? "Christopher M." <nospam_flibbity@floo.com> - 2012-07-23 16:25 -0400
Re: Draw some simple rectangles? Paul Herber <paul@pherber.com> - 2012-07-23 23:13 +0100
Re: Draw some simple rectangles? "Peter H. Coffin" <hellsop@ninehells.com> - 2012-07-23 17:05 -0500
Re: Draw some simple rectangles? The Natural Philosopher <tnp@invalid.invalid> - 2012-07-23 23:40 +0100
Re: Draw some simple rectangles? The Natural Philosopher <tnp@invalid.invalid> - 2012-07-23 23:37 +0100
Re: Draw some simple rectangles? Chuck Anderson <cycletourist@invalid.invalid> - 2012-07-23 18:12 -0600
| From | "Christopher M." <nospam_flibbity@floo.com> |
|---|---|
| Date | 2012-07-23 16:25 -0400 |
| Subject | Draw some simple rectangles? |
| Message-ID | <h9SdnWQCjLUTLpDNnZ2dnUVZ_uednZ2d@giganews.com> |
I'd like to draw some simple rectangles--maybe have some text and a 7x5 (dimensions) rectangle beside it. Is there an easy way to do this, or should I just create some images? W. Pooh (AKA Winnie P.)
[toc] | [next] | [standalone]
| From | Paul Herber <paul@pherber.com> |
|---|---|
| Date | 2012-07-23 23:13 +0100 |
| Message-ID | <p3jr08l1nu8clrt5ke1eotkpefh8oukpkr@news.eternal-september.org> |
| In reply to | #6643 |
On Mon, 23 Jul 2012 16:25:35 -0400, "Christopher M." <nospam_flibbity@floo.com> wrote: >I'd like to draw some simple rectangles--maybe have some text and a 7x5 >(dimensions) rectangle beside it. > >Is there an easy way to do this, or should I just create some images? to do this in PHP have a look at the ImageLine function. -- Regards, Paul Herber, Sandrila Ltd. http://www.sandrila.co.uk/
[toc] | [prev] | [next] | [standalone]
| From | "Peter H. Coffin" <hellsop@ninehells.com> |
|---|---|
| Date | 2012-07-23 17:05 -0500 |
| Message-ID | <slrnk0rim3.h39.hellsop@nibelheim.ninehells.com> |
| In reply to | #6643 |
On Mon, 23 Jul 2012 16:25:35 -0400, Christopher M. wrote:
> I'd like to draw some simple rectangles--maybe have some text and a 7x5
> (dimensions) rectangle beside it.
>
> Is there an easy way to do this, or should I just create some images?
Draw this on what? 7x5 whats? Pixels? Inches? How often do you want to
do this?
--
When C++ is your hammer, everything looks like a thumb.
-- Steven M. Haflich
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2012-07-23 23:40 +0100 |
| Message-ID | <jukjsa$km2$2@news.albasani.net> |
| In reply to | #6645 |
Peter H. Coffin wrote: > On Mon, 23 Jul 2012 16:25:35 -0400, Christopher M. wrote: >> I'd like to draw some simple rectangles--maybe have some text and a 7x5 >> (dimensions) rectangle beside it. >> >> Is there an easy way to do this, or should I just create some images? > > Draw this on what? 7x5 whats? Pixels? Inches? How often do you want to > do this? > ?> <div style ="postion: absolute; width:7px;height:5px; background-color:#FF0000"></div> <? -- To people who know nothing, anything is possible. To people who know too much, it is a sad fact that they know how little is really possible - and how hard it is to achieve it.
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2012-07-23 23:37 +0100 |
| Message-ID | <jukjn9$km2$1@news.albasani.net> |
| In reply to | #6643 |
Christopher M. wrote: > I'd like to draw some simple rectangles--maybe have some text and a 7x5 > (dimensions) rectangle beside it. > > Is there an easy way to do this, or should I just create some images? > > A pencil, paper and a stencil is a good start.. Or you could do it on a browser with HTML. Not sure any of this is relevant to PHP tho. > W. Pooh (AKA Winnie P.) > > -- To people who know nothing, anything is possible. To people who know too much, it is a sad fact that they know how little is really possible - and how hard it is to achieve it.
[toc] | [prev] | [next] | [standalone]
| From | Chuck Anderson <cycletourist@invalid.invalid> |
|---|---|
| Date | 2012-07-23 18:12 -0600 |
| Message-ID | <jukp8v$a5u$1@dont-email.me> |
| In reply to | #6643 |
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 *****************************
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.php
csiph-web