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

Element index for package Image_Puzzle

[ a ] [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ i ] [ l ] [ p ] [ s ] [ t ] [ _ ]

_

__construct
in file Puzzle.php, method Image_Puzzle::__construct()
    Puzzle object constructor. Options parameter is optional.
__construct
in file Sinus.php, method Image_Puzzle_Edge_Sinus::__construct()
__construct
in file Piece.php, method Image_Puzzle_Piece::__construct()
    Constructor
__construct
in file HalfCircle.php, method Image_Puzzle_Edge_HalfCircle::__construct()
__construct
in file Edge.php, method Image_Puzzle_Edge::__construct()
    Edge constructor.
__construct
in file Arc.php, method Image_Puzzle_Edge_Arc::__construct()
__construct
in file Default.php, method Image_Puzzle_Edge_Default::__construct()
__destruct
in file Piece.php, method Image_Puzzle_Piece::__destruct()
top

a

addTransparent
in file Piece.php, method Image_Puzzle_Piece::addTransparent()
    Make transparent pixels which should be not visible
Arc.php
procedural page Arc.php
top

c

createFromFile
in file Puzzle.php, method Image_Puzzle::createFromFile()
    Create puzzle directly from file.
top

d

Default.php
procedural page Default.php
top

e

Edge.php
procedural page Edge.php
top

f

factory
in file Edge.php, method Image_Puzzle_Edge::factory()
    Edge factory for creating new edge objects in the basis of their names.
top

g

getHeight
in file Piece.php, method Image_Puzzle_Piece::getHeight()
    Returns height in pixels of the piece
getLeft
in file Piece.php, method Image_Puzzle_Piece::getLeft()
    Returns X coordinate of this piece according to whole image
getLeftTopMargin
in file Arc.php, method Image_Puzzle_Edge_Arc::getLeftTopMargin()
getLeftTopMargin
in file Sinus.php, method Image_Puzzle_Edge_Sinus::getLeftTopMargin()
getLeftTopMargin
in file HalfCircle.php, method Image_Puzzle_Edge_HalfCircle::getLeftTopMargin()
getLeftTopMargin
in file Line.php, method Image_Puzzle_Edge_Line::getLeftTopMargin()
getLeftTopMargin
in file Edge.php, method Image_Puzzle_Edge::getLeftTopMargin()
    Returns left margin for vertical edge or top margin for horizontal edge.
getLeftTopMargin
in file Default.php, method Image_Puzzle_Edge_Default::getLeftTopMargin()
getPiece
in file Puzzle.php, method Image_Puzzle::getPiece()
    Returns puzzle piece at row $row and col $col.
getRightBottomMargin
in file Sinus.php, method Image_Puzzle_Edge_Sinus::getRightBottomMargin()
getRightBottomMargin
in file HalfCircle.php, method Image_Puzzle_Edge_HalfCircle::getRightBottomMargin()
getRightBottomMargin
in file Edge.php, method Image_Puzzle_Edge::getRightBottomMargin()
    Returns right margin for vertical edge or bottom margin for horizontal edge.
getRightBottomMargin
in file Line.php, method Image_Puzzle_Edge_Line::getRightBottomMargin()
getRightBottomMargin
in file Default.php, method Image_Puzzle_Edge_Default::getRightBottomMargin()
getRightBottomMargin
in file Arc.php, method Image_Puzzle_Edge_Arc::getRightBottomMargin()
getTop
in file Piece.php, method Image_Puzzle_Piece::getTop()
    Returns Y coordinate of this piece according to whole image
getWidth
in file Piece.php, method Image_Puzzle_Piece::getWidth()
    Returns width in pixels of the piece
top

h

HalfCircle.php
procedural page HalfCircle.php
top

i

Image_Puzzle
in file Puzzle.php, class Image_Puzzle
    Image_Puzzle generate puzzle pieces from any image. There is an edges factory to make puzzle in different shapes. An example of using this is as bellow:
Image_Puzzle_Edge
in file Edge.php, class Image_Puzzle_Edge
    Abstract class for puzzle edge
Image_Puzzle_Edge_Arc
in file Arc.php, class Image_Puzzle_Edge_Arc
    Arc edge
Image_Puzzle_Edge_Default
in file Default.php, class Image_Puzzle_Edge_Default
    Default edge shape. It is like original puzzle shape which is combined of square and ellipse
Image_Puzzle_Edge_HalfCircle
in file HalfCircle.php, class Image_Puzzle_Edge_HalfCircle
    Half circle edge.
Image_Puzzle_Edge_Line
in file Line.php, class Image_Puzzle_Edge_Line
    Linear edge.
Image_Puzzle_Edge_Sinus
in file Sinus.php, class Image_Puzzle_Edge_Sinus
    Sinus edge.
Image_Puzzle_Piece
in file Piece.php, class Image_Puzzle_Piece
    Image_Puzzle_Piece class
isTransparent
in file Sinus.php, method Image_Puzzle_Edge_Sinus::isTransparent()
isTransparent
in file HalfCircle.php, method Image_Puzzle_Edge_HalfCircle::isTransparent()
isTransparent
in file Arc.php, method Image_Puzzle_Edge_Arc::isTransparent()
isTransparent
in file Default.php, method Image_Puzzle_Edge_Default::isTransparent()
isTransparent
in file Edge.php, method Image_Puzzle_Edge::isTransparent()
    Returns true if point x,y on the edge should be transparent.
top

l

$longitude
in file Edge.php, variable Image_Puzzle_Edge::$longitude
    Longitude length of edge in pixels
Line.php
procedural page Line.php
top

p

Piece.php
procedural page Piece.php
Puzzle.php
procedural page Puzzle.php
top

s

Sinus.php
procedural page Sinus.php
save
in file Piece.php, method Image_Puzzle_Piece::save()
    Saves image to the disk on given $filename
saveAll
in file Puzzle.php, method Image_Puzzle::saveAll()
    Save all pieces to separate files with given name pattern.
setBottomEdge
in file Piece.php, method Image_Puzzle_Piece::setBottomEdge()
    Set bottom edge for this piece
setImage
in file Piece.php, method Image_Puzzle_Piece::setImage()
    Set piece image. It should be used only by Image_Puzzle class to set image with needed margins
setLeftEdge
in file Piece.php, method Image_Puzzle_Piece::setLeftEdge()
    Set left edge for this piece
setRightEdge
in file Piece.php, method Image_Puzzle_Piece::setRightEdge()
    Set right edge for this piece
setTopEdge
in file Piece.php, method Image_Puzzle_Piece::setTopEdge()
    Set top edge for this piece
top

t

$transversal
in file Edge.php, variable Image_Puzzle_Edge::$transversal
    Transversal length of edge in pixels
top

Documentation generated on Sun, 24 Oct 2010 06:30:02 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.