RAD2DEG(3) 1 RAD2DEG(3)rad2deg - Converts the radian number to the equivalent number in degreesSYNOPSIS
float rad2deg (float $number)
DESCRIPTION
This function converts $number from radian to degrees.
PARAMETERS
o $number
- A radian value
RETURN VALUES
The equivalent of $number in degrees
EXAMPLES
Example #1
rad2deg(3) example
<?php
echo rad2deg(M_PI_4); // 45
?>
SEE ALSO deg2rad(3).
PHP Documentation Group RAD2DEG(3)
Check Out this Related Man Page
GMAGICKDRAW(3) 1 GMAGICKDRAW(3)The GmagickDraw classINTRODUCTION CLASS SYNOPSIS
GmagickDraw
GmagickDraw
Methods
o public GmagickDraw GmagickDraw::annotate (float $x, float $y, string $text)
o public GmagickDraw GmagickDraw::arc (float $sx, float $sy, float $ex, float $ey, float $sd, float $ed)
o public GmagickDraw GmagickDraw::bezier (array $coordinate_array)
o public GmagickDraw GmagickDraw::ellipse (float $ox, float $oy, float $rx, float $ry, float $start, float $end)
o public void GmagickDraw::getfillcolor (void )
o public float GmagickDraw::getfillopacity (void )
o public string GmagickDraw::getfont (void )
o public float GmagickDraw::getfontsize (void )
o public int GmagickDraw::getfontstyle (void )
o public int GmagickDraw::getfontweight (void )
o public void GmagickDraw::getstrokecolor (void )
o public float GmagickDraw::getstrokeopacity (void )
o public float GmagickDraw::getstrokewidth (void )
o public int GmagickDraw::gettextdecoration (void )
o public string GmagickDraw::gettextencoding (void )
o public GmagickDraw GmagickDraw::line (float $sx, float $sy, float $ex, float $ey)
o public GmagickDraw GmagickDraw::point (float $x, float $y)
o public GmagickDraw GmagickDraw::polygon (array $coordinates)
o public GmagickDraw GmagickDraw::polyline (array $coordinate_array)
o public GmagickDraw GmagickDraw::rectangle (float $x1, float $y1, float $x2, float $y2)
o public GmagickDraw GmagickDraw::rotate (float $degrees)
o public GmagickDraw GmagickDraw::roundrectangle (float $x1, float $y1, float $x2, float $y2, float $rx, float $ry)
o public GmagickDraw GmagickDraw::scale (float $x, float $y)
o public GmagickDraw GmagickDraw::setfillcolor (string $color)
o public GmagickDraw GmagickDraw::setfillopacity (float $fill_opacity)
o public GmagickDraw GmagickDraw::setfont (string $font)
o public GmagickDraw GmagickDraw::setfontsize (float $pointsize)
o public GmagickDraw GmagickDraw::setfontstyle (int $style)
o public GmagickDraw GmagickDraw::setfontweight (int $weight)
o public GmagickDraw GmagickDraw::setstrokecolor (GmagickPixel $color)
o public GmagickDraw GmagickDraw::setstrokeopacity (float $stroke_opacity)
o public GmagickDraw GmagickDraw::setstrokewidth (float $width)
o public GmagickDraw GmagickDraw::settextdecoration (int $decoration)
o public GmagickDraw GmagickDraw::settextencoding (string $encoding)
PHP Documentation Group GMAGICKDRAW(3)