ImageTools

User Documentation: Functions: calcposition

array calcposition( string calc [, int width [, int height [, int markwidth [, int markheight]]]] )

Description

Calculates position.

Parameters

calc Refer to Marking
width Width number value in pixels.
[ If false, $vif->size["width"] is used. ]
height Height number value in pixels.
[ If false, $vif->size["height"] is used. ]
markwidth Width number value in pixels of mark.
[ If false, mark width is excluded. ]
markheight Height number value in pixels of mark.
[ If false, mark height is excluded. ]

Usage

$vif->calcposition($calc, $width, $height, $markwidth, $markheight);