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

Procedural File: graphics.inc.php

Source Location: /graphics.inc.php



Classes:

Layout
Layout encapsulation to allow any component to hold controls and render them in very different ways
Font
Font encapsulates all properties required to represent a font on the browser.
Pen
Pen is used to draw lines or outline shapes on a canvas.
Brush
Brush represents the color and pattern used to fill solid shapes.
Canvas
Canvas provides an abstract drawing space for objects that must render their own images.


Page Details:

This file is part of the VCL for PHP project

Copyright (c) 2004-2008 qadram software S.L. <support@qadram.com>

Checkout AUTHORS file for more information on the developers

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA









ABS_XY_LAYOUT [line 57]

ABS_XY_LAYOUT = 'ABS_XY_LAYOUT'

[ Top ]



caCapitalize [line 41]

caCapitalize = 'caCapitalize'

[ Top ]



caLowerCase [line 43]

caLowerCase = 'caLowerCase'

[ Top ]



caNone [line 44]

caNone = 'caNone'

[ Top ]



caUpperCase [line 42]

caUpperCase = 'caUpperCase'

[ Top ]



COL_LAYOUT [line 61]

COL_LAYOUT = 'COL_LAYOUT'

[ Top ]



FLOW_LAYOUT [line 55]

FLOW_LAYOUT = 'FLOW_LAYOUT'

[ Top ]



fsItalic [line 38]

fsItalic = 'fsItalic'

[ Top ]



fsNormal [line 37]

fsNormal = 'fsNormal'

[ Top ]



fsOblique [line 39]

fsOblique = 'fsOblique'

[ Top ]



GRIDBAG_LAYOUT [line 59]

GRIDBAG_LAYOUT = 'GRIDBAG_LAYOUT'

[ Top ]



psDash [line 49]

psDash = 'psDash'

[ Top ]



psDashDot [line 50]

psDashDot = 'psDashDot'

[ Top ]



psDashDotDot [line 51]

psDashDotDot = 'psDashDotDot'

[ Top ]



psDot [line 52]

psDot = 'psDot'

[ Top ]



psSolid [line 53]

psSolid = 'psSolid'

[ Top ]



REL_XY_LAYOUT [line 58]

REL_XY_LAYOUT = 'REL_XY_LAYOUT'

[ Top ]



ROW_LAYOUT [line 60]

ROW_LAYOUT = 'ROW_LAYOUT'

[ Top ]



taCenter [line 33]

taCenter = 'taCenter'

[ Top ]



taJustify [line 35]

taJustify = 'taJustify'

[ Top ]



taLeft [line 32]

taLeft = 'taLeft'

[ Top ]



taNone [line 31]

taNone = 'taNone'

[ Top ]



taRight [line 34]

taRight = 'taRight'

[ Top ]



vaNormal [line 46]

vaNormal = 'vaNormal'

[ Top ]



vaSmallCaps [line 47]

vaSmallCaps = 'vaSmallCaps'

[ Top ]



XY_LAYOUT [line 56]

XY_LAYOUT = 'XY_LAYOUT'

[ Top ]




colorFromHex [line 1184]

int colorFromHex( resource $img, string $hexColor)

Create color based on HEX RGB mask

This function creates a color using an hexadecimal RGB mask, the mask can be prefixed with # and it returns the color resource.




Parameters

resource   $img   Image resource
string   $hexColor   Color in HTML format
[ Top ]



createPenStyle [line 1203]

array createPenStyle( resource $img, string $penStyle, string $baseColor, string $bgColor)

Create Pen based on PenStyle

This function creates an array depending on the pen style to represent the pattern for such pen.




Parameters

resource   $img   Image resource to work with
string   $penStyle   Style of the pen to create
string   $baseColor   Base color to use to create the pen
string   $bgColor   Background color to use to create the pen
[ Top ]



Documentation generated on Sat, 13 Jun 2009 10:51:43 -0700 by phpDocumentor 1.4.1