PHPExcel_Shared_Drawing
category | PHPExcel |
---|---|
package | PHPExcel_Shared |
copyright | Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) |
EMUToPixels(int $pValue) : int
int
Value in EMU
int
Value in pixelsangleToDegrees(int $pValue) : int
int
Angle
int
DegreescellDimensionToPixels(float $pValue, \PHPExcel_Style_Font $pDefaultFont) : int
float
Value in cell dimension
int
Value in pixelsdegreesToAngle(int $pValue) : int
int
Degrees
int
Angleimagecreatefrombmp($p_sFile) : resource
By alexander at alexauto dot nl
link | http://www.php.net/manual/en/function.imagecreatefromwbmp.php#86214 |
---|
resource
pixelsToCellDimension(int $pValue, \PHPExcel_Style_Font $pDefaultFont) : int
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.
int
Value in pixels
int
Value in cell dimensionpixelsToEMU(int $pValue) : int
int
Value in pixels
int
Value in EMUpixelsToPoints(int $pValue) : int
int
Value in pixels
int
Value in pointspointsToPixels(int $pValue) : int
int
Value in points
int
Value in pixels