PHP Developer''''s Dictionary- P66 pdf

5 201 0
PHP Developer''''s Dictionary- P66 pdf

Đang tải... (xem toàn văn)

Thông tin tài liệu

PHP Developer’s Dictionary IT-SC book 325 Description The pdf_arc() function, which was added in PHP 3.0.6 and PHP 4.0, draws an arc centered at the x and y coordinates starting at the start angle and ending at the end angle measured in degrees. pdf_rect() Syntax void pdf_rect (int pdf document, double x-coor, double y-coor, double width, double height) Description The pdf_rect() function, which was added in PHP 3.0.6 and PHP 4.0, draws a rectangle with dimensions width and height with its lower-left corner at the x and y coordinates. pdf_closepath() Syntax void pdf_closepath (int pdf document) Description The pdf_closepath() function, which was added in PHP 3.0.6 and PHP 4.0, connects the first and last points in the path currently being drawn. pdf_stroke() Syntax void pdf_stroke(int pdf document) Description PHP Developer’s Dictionary IT-SC book 326 The pdf_stroke() function, which was added in PHP 3.0.6 and PHP 4.0, strokes the current paths with current stroke color and line width. pdf_closepath_stroke() Syntax void pdf_closepath_stroke (int pdf document ) Description The pdf_closepath_stroke() function, which was added in PHP 3.0.6 and PHP 4.0, combines the functionality of pdf_close_path() and pdf_stroke() . It also clears the path. pdf_fill() Syntax void pdf_fill (int pdf document) Description The pdf_fill() function, which was added in PHP 3.0.6 and PHP 4.0, fills the inside of the current path with the current fill color. pdf_fill_stroke() Syntax void pdf_fill_stroke (int pdf document) Description The pdf_fill_stroke() function, which was added in PHP 3.0.6 and PHP 4.0, fills the inside of the current path with the current fill color and then strokes the current path with the current stroke color. pdf_closepath_fill_stroke() Syntax PHP Developer’s Dictionary IT-SC book 327 void pdf_closepath_fill_stroke (int pdf document ) Description The pdf_closepath_fill_stroke() function, which was added in PHP 3.0.6 and PHP 4.0, combines the functions of pdf_closepath(), pdf_fill(), and pdf_stroke() into one operation. This closes the current path, fills the interior with the current fill color, and draws the current path. pdf_endpath() Syntax void pdf_endpath (int pdf document) Description The pdf_endpath() function, which was added in PHP 3.0.6 and PHP 4.0, ends the current path, but it does not close the path. pdf_clip() Syntax void pdf_clip (int pdf document) Description The pdf_clip() function, which was added in PHP 3.0.6 and PHP 4.0, clips all further drawing to the current path. pdf_setgray_fill Syntax void pdf_setgray_fill (int pdf document, double gray value) Description PHP Developer’s Dictionary IT-SC book 328 The pdf_setgray_fill() function, which was added in PHP 3.0.6 and PHP 4.0, sets the gray value with which to fill a path, where value is a number between 0 and 1 , inclusive. pdf_setgray_stroke() Syntax void pdf_setgray_stroke (int pdf document, double gray value) Description The pdf_setgray_stroke() function, which was added in PHP 3.0.6 and PHP 4.0, sets the gray stroke value, where value is a number between 0 and 1 , inclusive. pdf_setgray() Syntax void pdf_setgray (int pdf document, double gray value) Description The pdf_setgray() function, which was added in PHP 3.0.6 and PHP 4.0, sets both the stroke and fill gray colors, where value is a number between 0 and 1 , inclusive. pdf_setrgbcolor_fill() Syntax void pdf_setrgbcolor_fill (int pdf document, double red value, double green value, double blue value) Description The pdf_setrgbcolor_fill() function, which was added in PHP 3.0.6 and PHP 4.0, sets the RGB color to use to fill a path. Each value is a number between 0 and 1 , inclusive. pdf_setrgbcolor_stroke() PHP Developer’s Dictionary IT-SC book 329 Syntax void pdf_setrgbcolor_stroke (int pdf document, double red value, double green value, double blue value) Description The pdf_setrgbcolor_stroke() function, which was added in PHP 3.0.6 and PHP 4.0, sets the RGB color to use to draw a path. Each value is a number between 0 and 1 , inclusive. pdf_setrgbcolor() Syntax void pdf_setrgbcolor (int pdf document, double red value, double green value, double blue value) Description The pdf_setrgbcolor() function, which was added in PHP 3.0.6 and PHP 4.0, sets the RGB color used to draw and fill a path. Each value is a number between 0 and 1 , inclusive. pdf_add_outline() Syntax int pdf_add_outline (int pdf document, string text [, int parent [, int open ]]) Description The pdf_add_outline() function, which was added in PHP 3.0.6 and PHP 4.0, adds an outline entry to the document which is also referred to as a bookmark. The pdf_document parameter identifies the document with which you are working. The parent parameter is a reference to the previous outline assigned to the document. You must always add to the bottom of the list—you can't do any insertions or deletions. If open is nonzero, the entry will be visible when the page is first opened. The text parameter represents a string for the outline. . pdf_ close_path() and pdf_ stroke() . It also clears the path. pdf_ fill() Syntax void pdf_ fill (int pdf document) Description The pdf_ fill() function, which was added in PHP 3.0.6 and PHP 4.0,. Syntax void pdf_ closepath_stroke (int pdf document ) Description The pdf_ closepath_stroke() function, which was added in PHP 3.0.6 and PHP 4.0, combines the functionality of pdf_ close_path() . The pdf_ closepath() function, which was added in PHP 3.0.6 and PHP 4.0, connects the first and last points in the path currently being drawn. pdf_ stroke() Syntax void pdf_ stroke(int pdf

Ngày đăng: 07/07/2014, 05:20

Từ khóa liên quan

Mục lục

  • Cover

  • PHP Developer's Dictionary

  • About the Authors

  • Acknowledgments

    • Tell Us What You Think!

    • Introduction

      • Who Should Buy This Book?

      • Organization of the Chapters

      • Writing Conventions

      • Chapter 1. Basic PHP Background and History

        • Advantages of PHP 4

        • Installation

          • PHP Installation General Overview

          • Configuration Options

          • Types, Variables, and Constants

          • Arrays

          • Strings

          • Type Conversion

          • Variables

          • Constants

          • Operators and Mathematical Functions

            • Expressions and Operators

            • Control Structures

            • Mathematical Functions

            • Functions, Classes, and Objects

              • Functions

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan