Documentation Build v9.18

RotImage extends Image
in package

Table of Contents

Properties

$a  : mixed
$current_color  : mixed
$current_color_name  : mixed
$dx  : mixed
$dy  : mixed
$img  : mixed
$img_format  : mixed
$line_style  : mixed
$original_height  : mixed
$original_width  : mixed
$plotheight  : mixed
$plotwidth  : mixed
$rgb  : mixed
$transx  : mixed
$transy  : mixed
$ttf  : mixed
$bbox_cache  : mixed
$canvascolor  : mixed
$colorstack  : mixed
$colorstackidx  : mixed
$expired  : mixed
$ff_font0  : mixed
$ff_font0_bold  : mixed
$ff_font1  : mixed
$ff_font1_bold  : mixed
$ff_font2  : mixed
$ff_font2_bold  : mixed
$font_family  : mixed
$font_file  : mixed
$font_size  : mixed
$font_style  : mixed
$iInterlace  : mixed
$langconv  : mixed
$lastx  : mixed
$lasty  : mixed
$obs_list  : mixed
$quality  : mixed
$text_halign  : mixed
$text_valign  : mixed
$use_anti_aliasing  : mixed

Methods

__construct()  : mixed
__get()  : mixed
__set()  : mixed
_StrokeBuiltinFont()  : mixed
_StrokeTTF()  : mixed
AddTxtCR()  : mixed
Arc()  : mixed
ArrRotate()  : mixed
Bevel()  : mixed
CakeSlice()  : mixed
Circle()  : mixed
CloneCanvasH()  : mixed
Copy()  : mixed
CopyCanvasH()  : mixed
CopyMerge()  : mixed
CreateColorForImageSmoothArc()  : mixed
CreateFromString()  : mixed
CreateImgCanvas()  : mixed
CreateRawCanvas()  : mixed
DashedLine()  : mixed
DashedLineForGrid()  : mixed
Destroy()  : mixed
DoSupersampling()  : mixed
DrawImageSmoothArc()  : mixed
DrawLine()  : mixed
Draw Line
Ellipse()  : mixed
Fill()  : mixed
FilledArc()  : mixed
FilledBevel()  : mixed
FilledCakeSlice()  : mixed
FilledCircle()  : mixed
FilledPolygon()  : mixed
FilledRectangle()  : mixed
FilledRectangle2()  : mixed
FilledRoundedRectangle()  : mixed
FillToBorder()  : mixed
GetAntiAliasing()  : mixed
GetBBoxHeight()  : mixed
GetBBoxTTF()  : mixed
GetBBoxWidth()  : mixed
GetFontHeight()  : mixed
GetFontWidth()  : mixed
GetHeight()  : mixed
GetTextHeight()  : mixed
GetTextWidth()  : mixed
GetTTFBBox()  : mixed
GetWidth()  : mixed
Headers()  : mixed
imageSmoothCircle()  : mixed
imagettfbbox_fixed()  : mixed
Line()  : mixed
LineTo()  : mixed
lip()  : mixed
NormAngle()  : mixed
Point()  : mixed
Polygon()  : mixed
PopColor()  : mixed
PushColor()  : mixed
Rectangle()  : mixed
Rotate()  : mixed
RoundedRectangle()  : mixed
SetAlphaBlending()  : mixed
SetAngle()  : mixed
SetAntiAliasing()  : mixed
SetAutoMargin()  : mixed
SetCanvasColor()  : mixed
SetCanvasH()  : mixed
SetCenter()  : mixed
SetColor()  : mixed
SetExpired()  : mixed
SetFont()  : mixed
SetImgFormat()  : mixed
SetInterlace()  : mixed
SetLineStyle()  : mixed
SetLineWeight()  : mixed
SetMargin()  : mixed
SetQuality()  : mixed
SetStartPoint()  : mixed
SetTextAlign()  : mixed
SetTranslation()  : mixed
SetTransparent()  : mixed
ShadowRectangle()  : mixed
Stream()  : mixed
StrokeBoxedText()  : mixed
StrokeBoxedText2()  : mixed
StrokeText()  : mixed
StyleLine()  : mixed
StyleLineTo()  : mixed
UpdateRotMatrice()  : mixed

Properties

$use_anti_aliasing

protected mixed $use_anti_aliasing = \false

Methods

__construct()

public __construct(mixed $aWidth, mixed $aHeight[, mixed $a = 0 ][, mixed $aFormat = DEFAULT_GFORMAT ][, mixed $aSetAutoMargin = true ]) : mixed
Parameters
$aWidth : mixed
$aHeight : mixed
$a : mixed = 0
$aFormat : mixed = DEFAULT_GFORMAT
$aSetAutoMargin : mixed = true

__get()

public __get(mixed $name) : mixed
Parameters
$name : mixed

__set()

public __set(mixed $name, mixed $value) : mixed
Parameters
$name : mixed
$value : mixed

_StrokeBuiltinFont()

public _StrokeBuiltinFont(mixed $x, mixed $y, mixed $txt, mixed $dir, mixed $paragraph_align, mixed &$aBoundingBox[, mixed $aDebug = false ]) : mixed
Parameters
$x : mixed
$y : mixed
$txt : mixed
$dir : mixed
$paragraph_align : mixed
$aBoundingBox : mixed
$aDebug : mixed = false

_StrokeTTF()

public _StrokeTTF(mixed $x, mixed $y, mixed $txt, mixed $dir, mixed $paragraph_align, mixed &$aBoundingBox[, mixed $debug = false ]) : mixed
Parameters
$x : mixed
$y : mixed
$txt : mixed
$dir : mixed
$paragraph_align : mixed
$aBoundingBox : mixed
$debug : mixed = false

AddTxtCR()

public AddTxtCR(mixed $aTxt) : mixed
Parameters
$aTxt : mixed

Arc()

public Arc(mixed $xc, mixed $yc, mixed $w, mixed $h, mixed $s, mixed $e) : mixed
Parameters
$xc : mixed
$yc : mixed
$w : mixed
$h : mixed
$s : mixed
$e : mixed

ArrRotate()

public ArrRotate(mixed $pnts) : mixed
Parameters
$pnts : mixed

Bevel()

public Bevel(mixed $x1, mixed $y1, mixed $x2, mixed $y2[, mixed $depth = 2 ][, mixed $color1 = 'white@0.4' ][, mixed $color2 = 'black@0.5' ]) : mixed
Parameters
$x1 : mixed
$y1 : mixed
$x2 : mixed
$y2 : mixed
$depth : mixed = 2
$color1 : mixed = 'white@0.4'
$color2 : mixed = 'black@0.5'

CakeSlice()

public CakeSlice(mixed $xc, mixed $yc, mixed $w, mixed $h, mixed $s, mixed $e[, mixed $fillcolor = "" ][, mixed $arccolor = "" ]) : mixed
Parameters
$xc : mixed
$yc : mixed
$w : mixed
$h : mixed
$s : mixed
$e : mixed
$fillcolor : mixed = ""
$arccolor : mixed = ""

Circle()

public Circle(mixed $xc, mixed $yc, mixed $r) : mixed
Parameters
$xc : mixed
$yc : mixed
$r : mixed

Copy()

public Copy(mixed $fromImg, mixed $toX, mixed $toY, mixed $fromX, mixed $fromY, mixed $toWidth, mixed $toHeight[, mixed $fromWidth = -1 ][, mixed $fromHeight = -1 ]) : mixed
Parameters
$fromImg : mixed
$toX : mixed
$toY : mixed
$fromX : mixed
$fromY : mixed
$toWidth : mixed
$toHeight : mixed
$fromWidth : mixed = -1
$fromHeight : mixed = -1

CopyCanvasH()

public CopyCanvasH(mixed $aToHdl, mixed $aFromHdl, mixed $aToX, mixed $aToY, mixed $aFromX, mixed $aFromY, mixed $aWidth, mixed $aHeight[, mixed $aw = -1 ][, mixed $ah = -1 ]) : mixed
Parameters
$aToHdl : mixed
$aFromHdl : mixed
$aToX : mixed
$aToY : mixed
$aFromX : mixed
$aFromY : mixed
$aWidth : mixed
$aHeight : mixed
$aw : mixed = -1
$ah : mixed = -1

CopyMerge()

public CopyMerge(mixed $fromImg, mixed $toX, mixed $toY, mixed $fromX, mixed $fromY, mixed $toWidth, mixed $toHeight[, mixed $fromWidth = -1 ][, mixed $fromHeight = -1 ][, mixed $aMix = 100 ]) : mixed
Parameters
$fromImg : mixed
$toX : mixed
$toY : mixed
$fromX : mixed
$fromY : mixed
$toWidth : mixed
$toHeight : mixed
$fromWidth : mixed = -1
$fromHeight : mixed = -1
$aMix : mixed = 100

CreateColorForImageSmoothArc()

public CreateColorForImageSmoothArc(mixed $color) : mixed
Parameters
$color : mixed

CreateFromString()

public static CreateFromString(mixed $aStr) : mixed
Parameters
$aStr : mixed

CreateImgCanvas()

public CreateImgCanvas([mixed $aWidth = 0 ][, mixed $aHeight = 0 ]) : mixed
Parameters
$aWidth : mixed = 0
$aHeight : mixed = 0

CreateRawCanvas()

public CreateRawCanvas([mixed $aWidth = 0 ][, mixed $aHeight = 0 ]) : mixed
Parameters
$aWidth : mixed = 0
$aHeight : mixed = 0

DashedLine()

public DashedLine(mixed $x1, mixed $y1, mixed $x2, mixed $y2[, mixed $dash_length = 1 ][, mixed $dash_space = 4 ]) : mixed
Parameters
$x1 : mixed
$y1 : mixed
$x2 : mixed
$y2 : mixed
$dash_length : mixed = 1
$dash_space : mixed = 4

DashedLineForGrid()

public DashedLineForGrid(mixed $x1, mixed $y1, mixed $x2, mixed $y2[, mixed $dash_length = 1 ][, mixed $dash_space = 4 ]) : mixed
Parameters
$x1 : mixed
$y1 : mixed
$x2 : mixed
$y2 : mixed
$dash_length : mixed = 1
$dash_space : mixed = 4

DrawImageSmoothArc()

public DrawImageSmoothArc(mixed $im, mixed $xc, mixed $yc, mixed $w, mixed $h, mixed $s, mixed $e, mixed $color[, mixed $style = null ]) : mixed
Parameters
$im : mixed
$xc : mixed
$yc : mixed
$w : mixed
$h : mixed
$s : mixed
$e : mixed
$color : mixed
$style : mixed = null

DrawLine()

Draw Line

public DrawLine(mixed $im, mixed $x1, mixed $y1, mixed $x2, mixed $y2, mixed $weight, mixed $color) : mixed
Parameters
$im : mixed
$x1 : mixed
$y1 : mixed
$x2 : mixed
$y2 : mixed
$weight : mixed
$color : mixed

Ellipse()

public Ellipse(mixed $xc, mixed $yc, mixed $w, mixed $h) : mixed
Parameters
$xc : mixed
$yc : mixed
$w : mixed
$h : mixed

Fill()

public Fill(mixed $x, mixed $y) : mixed
Parameters
$x : mixed
$y : mixed

FilledArc()

public FilledArc(mixed $xc, mixed $yc, mixed $w, mixed $h, mixed $s, mixed $e[, mixed $style = '' ]) : mixed
Parameters
$xc : mixed
$yc : mixed
$w : mixed
$h : mixed
$s : mixed
$e : mixed
$style : mixed = ''

FilledBevel()

public FilledBevel(mixed $x1, mixed $y1, mixed $x2, mixed $y2[, mixed $depth = 2 ][, mixed $color1 = 'white@0.4' ][, mixed $color2 = 'darkgray@0.4' ]) : mixed
Parameters
$x1 : mixed
$y1 : mixed
$x2 : mixed
$y2 : mixed
$depth : mixed = 2
$color1 : mixed = 'white@0.4'
$color2 : mixed = 'darkgray@0.4'

FilledCakeSlice()

public FilledCakeSlice(mixed $cx, mixed $cy, mixed $w, mixed $h, mixed $s, mixed $e) : mixed
Parameters
$cx : mixed
$cy : mixed
$w : mixed
$h : mixed
$s : mixed
$e : mixed

FilledCircle()

public FilledCircle(mixed $xc, mixed $yc, mixed $r) : mixed
Parameters
$xc : mixed
$yc : mixed
$r : mixed

FilledPolygon()

public FilledPolygon(mixed $pnts) : mixed
Parameters
$pnts : mixed

FilledRectangle()

public FilledRectangle(mixed $x1, mixed $y1, mixed $x2, mixed $y2) : mixed
Parameters
$x1 : mixed
$y1 : mixed
$x2 : mixed
$y2 : mixed

FilledRectangle2()

public FilledRectangle2(mixed $xl, mixed $yu, mixed $xr, mixed $yl, mixed $color1, mixed $color2[, mixed $style = 1 ]) : mixed
Parameters
$xl : mixed
$yu : mixed
$xr : mixed
$yl : mixed
$color1 : mixed
$color2 : mixed
$style : mixed = 1

FilledRoundedRectangle()

public FilledRoundedRectangle(mixed $xt, mixed $yt, mixed $xr, mixed $yl[, mixed $r = 5 ]) : mixed
Parameters
$xt : mixed
$yt : mixed
$xr : mixed
$yl : mixed
$r : mixed = 5

FillToBorder()

public FillToBorder(mixed $x, mixed $y, mixed $aBordColor) : mixed
Parameters
$x : mixed
$y : mixed
$aBordColor : mixed

GetBBoxHeight()

public GetBBoxHeight(mixed $aTxt[, mixed $aAngle = 0 ]) : mixed
Parameters
$aTxt : mixed
$aAngle : mixed = 0

GetBBoxTTF()

public GetBBoxTTF(mixed $aTxt[, mixed $aAngle = 0 ]) : mixed
Parameters
$aTxt : mixed
$aAngle : mixed = 0

GetBBoxWidth()

public GetBBoxWidth(mixed $aTxt[, mixed $aAngle = 0 ]) : mixed
Parameters
$aTxt : mixed
$aAngle : mixed = 0

GetFontHeight()

public GetFontHeight([mixed $angle = 0 ]) : mixed
Parameters
$angle : mixed = 0

GetFontWidth()

public GetFontWidth([mixed $angle = 0 ]) : mixed
Parameters
$angle : mixed = 0

GetHeight()

public static GetHeight(mixed $aImg) : mixed
Parameters
$aImg : mixed

GetTextHeight()

public GetTextHeight([mixed $txt = "" ][, mixed $angle = 0 ]) : mixed
Parameters
$txt : mixed = ""
$angle : mixed = 0

GetTextWidth()

public GetTextWidth(mixed $txt[, mixed $angle = 0 ]) : mixed
Parameters
$txt : mixed
$angle : mixed = 0

GetTTFBBox()

public GetTTFBBox(mixed $aTxt[, mixed $aAngle = 0 ]) : mixed
Parameters
$aTxt : mixed
$aAngle : mixed = 0

GetWidth()

public static GetWidth(mixed $aImg) : mixed
Parameters
$aImg : mixed

imageSmoothCircle()

public imageSmoothCircle(mixed &$img, mixed $cx, mixed $cy, mixed $cr, mixed $color) : mixed
Parameters
$img : mixed
$cx : mixed
$cy : mixed
$cr : mixed
$color : mixed

imagettfbbox_fixed()

public imagettfbbox_fixed(mixed $size, mixed $angle, mixed $fontfile, mixed $text) : mixed
Parameters
$size : mixed
$angle : mixed
$fontfile : mixed
$text : mixed

Line()

public Line(mixed $x1, mixed $y1, mixed $x2, mixed $y2) : mixed
Parameters
$x1 : mixed
$y1 : mixed
$x2 : mixed
$y2 : mixed

LineTo()

public LineTo(mixed $x, mixed $y) : mixed
Parameters
$x : mixed
$y : mixed

lip()

public lip(mixed $f, mixed $t, mixed $p) : mixed
Parameters
$f : mixed
$t : mixed
$p : mixed

NormAngle()

public NormAngle(mixed $a) : mixed
Parameters
$a : mixed

Point()

public Point(mixed $x, mixed $y) : mixed
Parameters
$x : mixed
$y : mixed

Polygon()

public Polygon(mixed $pnts[, mixed $closed = false ][, mixed $fast = false ]) : mixed
Parameters
$pnts : mixed
$closed : mixed = false
$fast : mixed = false

PushColor()

public PushColor(mixed $color) : mixed
Parameters
$color : mixed

Rectangle()

public Rectangle(mixed $x1, mixed $y1, mixed $x2, mixed $y2) : mixed
Parameters
$x1 : mixed
$y1 : mixed
$x2 : mixed
$y2 : mixed

Rotate()

public Rotate(mixed $x, mixed $y) : mixed
Parameters
$x : mixed
$y : mixed

RoundedRectangle()

public RoundedRectangle(mixed $xt, mixed $yt, mixed $xr, mixed $yl[, mixed $r = 5 ]) : mixed
Parameters
$xt : mixed
$yt : mixed
$xr : mixed
$yl : mixed
$r : mixed = 5

SetAlphaBlending()

public SetAlphaBlending([mixed $aFlg = true ]) : mixed
Parameters
$aFlg : mixed = true

SetAngle()

public SetAngle(mixed $a) : mixed
Parameters
$a : mixed

SetAntiAliasing()

public SetAntiAliasing([mixed $aFlg = true ]) : mixed
Parameters
$aFlg : mixed = true

SetCanvasColor()

public SetCanvasColor(mixed $aColor) : mixed
Parameters
$aColor : mixed

SetCanvasH()

public SetCanvasH(mixed $aHdl) : mixed
Parameters
$aHdl : mixed

SetCenter()

public SetCenter(mixed $dx, mixed $dy) : mixed
Parameters
$dx : mixed
$dy : mixed

SetColor()

public SetColor(mixed $color[, mixed $aAlpha = 0 ]) : mixed
Parameters
$color : mixed
$aAlpha : mixed = 0

SetExpired()

public SetExpired([mixed $aFlg = true ]) : mixed
Parameters
$aFlg : mixed = true

SetFont()

public SetFont(mixed $family[, mixed $style = FS_NORMAL ][, mixed $size = 10 ]) : mixed
Parameters
$family : mixed
$style : mixed = FS_NORMAL
$size : mixed = 10

SetImgFormat()

public SetImgFormat(mixed $aFormat[, mixed $aQuality = 75 ]) : mixed
Parameters
$aFormat : mixed
$aQuality : mixed = 75

SetInterlace()

public SetInterlace([mixed $aFlg = true ]) : mixed
Parameters
$aFlg : mixed = true

SetLineStyle()

public SetLineStyle(mixed $s) : mixed
Parameters
$s : mixed

SetLineWeight()

public SetLineWeight(mixed $weight) : mixed
Parameters
$weight : mixed

SetMargin()

public SetMargin(mixed $lm, mixed $rm, mixed $tm, mixed $bm) : mixed
Parameters
$lm : mixed
$rm : mixed
$tm : mixed
$bm : mixed

SetQuality()

public SetQuality(mixed $q) : mixed
Parameters
$q : mixed

SetStartPoint()

public SetStartPoint(mixed $x, mixed $y) : mixed
Parameters
$x : mixed
$y : mixed

SetTextAlign()

public SetTextAlign(mixed $halign[, mixed $valign = "bottom" ]) : mixed
Parameters
$halign : mixed
$valign : mixed = "bottom"

SetTranslation()

public SetTranslation(mixed $dx, mixed $dy) : mixed
Parameters
$dx : mixed
$dy : mixed

SetTransparent()

public SetTransparent(mixed $color) : mixed
Parameters
$color : mixed

ShadowRectangle()

public ShadowRectangle(mixed $xl, mixed $yu, mixed $xr, mixed $yl[, mixed $fcolor = false ][, mixed $shadow_width = 4 ][, mixed $shadow_color = 'darkgray' ][, mixed $useAlpha = true ]) : mixed
Parameters
$xl : mixed
$yu : mixed
$xr : mixed
$yl : mixed
$fcolor : mixed = false
$shadow_width : mixed = 4
$shadow_color : mixed = 'darkgray'
$useAlpha : mixed = true

Stream()

public Stream([mixed $aFile = null ]) : mixed
Parameters
$aFile : mixed = null

StrokeBoxedText()

public StrokeBoxedText(mixed $x, mixed $y, mixed $txt[, mixed $dir = 0 ][, mixed $fcolor = "white" ][, mixed $bcolor = "black" ][, mixed $shadowcolor = false ][, mixed $paragraph_align = "left" ][, mixed $xmarg = 6 ][, mixed $ymarg = 4 ][, mixed $cornerradius = 0 ][, mixed $dropwidth = 3 ]) : mixed
Parameters
$x : mixed
$y : mixed
$txt : mixed
$dir : mixed = 0
$fcolor : mixed = "white"
$bcolor : mixed = "black"
$shadowcolor : mixed = false
$paragraph_align : mixed = "left"
$xmarg : mixed = 6
$ymarg : mixed = 4
$cornerradius : mixed = 0
$dropwidth : mixed = 3

StrokeBoxedText2()

public StrokeBoxedText2(mixed $x, mixed $y, mixed $txt[, mixed $dir = 0 ][, mixed $fcolor = "white" ][, mixed $bcolor = "black" ][, mixed $shadowcolor = false ][, mixed $paragraph_align = "left" ][, mixed $xmarg = 6 ][, mixed $ymarg = 4 ][, mixed $cornerradius = 0 ][, mixed $dropwidth = 3 ]) : mixed
Parameters
$x : mixed
$y : mixed
$txt : mixed
$dir : mixed = 0
$fcolor : mixed = "white"
$bcolor : mixed = "black"
$shadowcolor : mixed = false
$paragraph_align : mixed = "left"
$xmarg : mixed = 6
$ymarg : mixed = 4
$cornerradius : mixed = 0
$dropwidth : mixed = 3

StrokeText()

public StrokeText(mixed $x, mixed $y, mixed $txt[, mixed $dir = 0 ][, mixed $paragraph_align = "left" ][, mixed $debug = false ]) : mixed
Parameters
$x : mixed
$y : mixed
$txt : mixed
$dir : mixed = 0
$paragraph_align : mixed = "left"
$debug : mixed = false

StyleLine()

public StyleLine(mixed $x1, mixed $y1, mixed $x2, mixed $y2[, mixed $aStyle = '' ][, mixed $from_grid_class = false ]) : mixed
Parameters
$x1 : mixed
$y1 : mixed
$x2 : mixed
$y2 : mixed
$aStyle : mixed = ''
$from_grid_class : mixed = false

StyleLineTo()

public StyleLineTo(mixed $x, mixed $y) : mixed
Parameters
$x : mixed
$y : mixed
On this page

Search results