05.05.2013 Views

Programming PHP

Programming PHP

Programming PHP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The output of Example 10-2 is shown in Figure 10-2.<br />

Figure 10-2. Coordinate demo output<br />

It can be inconvenient to use a bottom-left origin. Example 10-3 puts the origin in<br />

the top-left corner and displays a string near that corner.<br />

Example 10-3. Changing the origin<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!