PDA

View Full Version : full control of graphics


leoh
27-11-2005, 03:33
I think its a good idea to have full control of GD graphics.
Im my desktop configurations, X-Y labels are so small that I can not even read it. I tried to search a function to increase the Font Size in GD (charts.php and classes.inc.php) but without success.

All the interesting GD variables must be "user-controllable."

edeus
28-11-2005, 07:08
Wouldnt there need to be a sizable amount of code to be written for dynamic placement then? (if it werent already written)

leoh
28-11-2005, 12:43
Just a few lines of codes would be necessary, I am sure of that.

For example, instead of setting for FontSize a fixed value, the programer must add just 1 line for a combo box:

<input blah-blah-blah value=FontSize>

And change the line that launches the GD-Graphic to accept the FontSize Parameter.

It's very easy in PHP. Allowing a minumum controll of the graphics would make things much prettier and easier to use.

edeus
29-11-2005, 02:47
heh OK then :)

I just thought the GD image elements would start to overlap each other. Sorry I dont know much about GD and thought each object would need to be placed by coordinates.