diff options
Diffstat (limited to 'mediafirewall.php')
| -rw-r--r-- | mediafirewall.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mediafirewall.php b/mediafirewall.php index c384efc1d0..c9230bf295 100644 --- a/mediafirewall.php +++ b/mediafirewall.php @@ -1,6 +1,4 @@ <?php -namespace Fisharebest\Webtrees; - /** * webtrees: online genealogy * Copyright (C) 2015 webtrees development team @@ -15,6 +13,7 @@ namespace Fisharebest\Webtrees; * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +namespace Fisharebest\Webtrees; /** * Defined in session.php @@ -91,6 +90,8 @@ function applyWatermark($im, Tree $tree) { } /** + * Embed text into an image. + * * @param resource $im * @param string $text * @param int $maxsize @@ -203,6 +204,8 @@ function embedText($im, $text, $maxsize, $color, $font, $vpos, $hpos) { } /** + * Generate an approximate length of text, in pixels. + * * @param int $t * @param int $mxl * @param string $text |
