[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
PHPExcel Copyright (c) 2006 - 2015 PHPExcel
Copyright: | Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel) |
License: | http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL |
Version: | ##VERSION##, ##DATE## |
File Size: | 270 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
PHPExcel_Shared_Drawing:: (9 methods):
pixelsToEMU()
EMUToPixels()
pixelsToCellDimension()
cellDimensionToPixels()
pixelsToPoints()
pointsToPixels()
degreesToAngle()
angleToDegrees()
imagecreatefrombmp()
Class: PHPExcel_Shared_Drawing - X-Ref
PHPExcel_Shared_DrawingpixelsToEMU($pValue = 0) X-Ref |
Convert pixels to EMU param: int $pValue Value in pixels return: int Value in EMU |
EMUToPixels($pValue = 0) X-Ref |
Convert EMU to pixels param: int $pValue Value in EMU return: int Value in pixels |
pixelsToCellDimension($pValue = 0, PHPExcel_Style_Font $pDefaultFont) X-Ref |
Convert pixels to column width. Exact algorithm not known. By inspection of a real Excel file using Calibri 11, one finds 1000px ~ 142.85546875 This gives a conversion factor of 7. Also, we assume that pixels and font size are proportional. param: int $pValue Value in pixels param: PHPExcel_Style_Font $pDefaultFont Default font of the workbook return: int Value in cell dimension |
cellDimensionToPixels($pValue = 0, PHPExcel_Style_Font $pDefaultFont) X-Ref |
Convert column width from (intrinsic) Excel units to pixels param: float $pValue Value in cell dimension param: PHPExcel_Style_Font $pDefaultFont Default font of the workbook return: int Value in pixels |
pixelsToPoints($pValue = 0) X-Ref |
Convert pixels to points param: int $pValue Value in pixels return: int Value in points |
pointsToPixels($pValue = 0) X-Ref |
Convert points to pixels param: int $pValue Value in points return: int Value in pixels |
degreesToAngle($pValue = 0) X-Ref |
Convert degrees to angle param: int $pValue Degrees return: int Angle |
angleToDegrees($pValue = 0) X-Ref |
Convert angle to degrees param: int $pValue Angle return: int Degrees |
imagecreatefrombmp($p_sFile) X-Ref |
Create a new image from file. By alexander at alexauto dot nl param: string $filename Path to Windows DIB (BMP) image return: resource |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |