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

Class: PHPPowerPoint_Shared_Font

Source Location: /PHPPowerpoint/Shared/Font.php

Class Overview


PHPPowerPoint_Shared_Font


Author(s):

Copyright:

  • Copyright (c) 2009 - 2010 PHPPowerPoint (http://www.codeplex.com/PHPPowerPoint)

Methods



Class Details

[line 36]
PHPPowerPoint_Shared_Font

PHPPowerPoint_Shared_Font




Tags:

copyright:  Copyright (c) 2009 - 2010 PHPPowerPoint (http://www.codeplex.com/PHPPowerPoint)


[ Top ]


Class Methods


static method centimeterSizeToPixels [line 64]

static int centimeterSizeToPixels( [int $sizeInCm = 1])

Calculate an (approximate) pixel size, based on centimeter size

Calculate an (approximate) pixel size, based on centimeter size




Tags:

return:  Size (in pixels)
access:  public


Parameters:

int   $sizeInCm   Font size (in centimeters)

[ Top ]

static method fontSizeToPixels [line 44]

static int fontSizeToPixels( [int $fontSizeInPoints = 12])

Calculate an (approximate) pixel size, based on a font points size

Calculate an (approximate) pixel size, based on a font points size




Tags:

return:  Font size (in pixels)
access:  public


Parameters:

int   $fontSizeInPoints   Font size (in points)

[ Top ]

static method inchSizeToPixels [line 54]

static int inchSizeToPixels( [int $sizeInInch = 1])

Calculate an (approximate) pixel size, based on inch size

Calculate an (approximate) pixel size, based on inch size




Tags:

return:  Size (in pixels)
access:  public


Parameters:

int   $sizeInInch   Font size (in inch)

[ Top ]


Documentation generated on Sat, 25 Apr 2009 11:37:16 +0200 by phpDocumentor 1.4.1