Image_GIS
[ class tree: Image_GIS ] [ index: Image_GIS ] [ all elements ]

Class: Image_GIS_Renderer_SVG

Source Location: /Image_GIS-1.1.2/Image/GIS/Renderer/SVG.php

Class Overview

Image_GIS_Renderer
   |
   --Image_GIS_Renderer_SVG

SVG Renderer.


Author(s):

Copyright:

  • Copyright &copy; 2002-2005 Jan Kneschke <jan@kneschke.de> and Sebastian Bergmann <sb@sebastian-bergmann.de>

Variables

Methods


Inherited Variables

Inherited Methods

Class: Image_GIS_Renderer

Image_GIS_Renderer::Image_GIS_Renderer()
Constructor.
Image_GIS_Renderer::drawClippedLine()
Draws a clipped line from ($x1, $y1) to ($x2, $y2) using $color.
Image_GIS_Renderer::drawLine()
Draws a line from ($x1, $y1) to ($x2, $y2) using the color rgb($r, $g, $b).
Image_GIS_Renderer::factory()
Factory.
Image_GIS_Renderer::getRange()
Returns the range of the data to be rendered.
Image_GIS_Renderer::polar2image()
Converts a polar coordinate to an image coordinate.
Image_GIS_Renderer::render()
Renders the image.
Image_GIS_Renderer::saveImage()
Saves the rendered image to a given file.
Image_GIS_Renderer::setRange()
Sets the range of the data to be rendered.
Image_GIS_Renderer::showImage()
Shows the rendered image.

Class Details

[line 31]
SVG Renderer.


[ Top ]


Class Variables

$svg =

[line 37]

SVG Document.

Type:   XML_SVG


[ Top ]

$svgGroups = array()

[line 44]

SVG Groups.

Type:   XML_SVG_Group[]


[ Top ]



Method Detail

Image_GIS_Renderer_SVG (Constructor)   [line 54]

Image_GIS_Renderer_SVG Image_GIS_Renderer_SVG( mixed $width, $height, boolean $debug, integer $sizyY)

Constructor.
  • Access: public

Parameters:

mixed   $width   — 
integer   $sizyY   — 
boolean   $debug   — 
   $height   — 

[ Top ]

drawLine   [line 78]

void drawLine( float $x1, float $y1, float $x2, float $y2, float $r, float $g, float $b)

Draws a line from ($x1, $y1) to ($x2, $y2) using the color rgb($r, $g, $b).
  • Access: public

Overrides Image_GIS_Renderer::drawLine() (Draws a line from ($x1, $y1) to ($x2, $y2) using the color rgb($r, $g, $b).)

Parameters:

float   $x1   — 
float   $y1   — 
float   $x2   — 
float   $y2   — 
float   $r   — 
float   $g   — 
float   $b   — 

[ Top ]

saveImage   [line 116]

boolean saveImage( string $filename)

Saves the rendered image to a given file.
  • Access: public

Overrides Image_GIS_Renderer::saveImage() (Saves the rendered image to a given file.)

Parameters:

string   $filename   — 

[ Top ]

showImage   [line 132]

void showImage( )

Shows the rendered image.
  • Access: public

Overrides Image_GIS_Renderer::showImage() (Shows the rendered image.)
[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:39:27 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.