Nauka html'u i php'

PostScript document creation

CXXIX. PostScript document creation

Wstęp

This module allows to create PostScript documents. It has many similarities with the pdf extension. Actually the API is almost identical and one can in many cases just replace the prefix of each function from pdf_ to ps_. This also works for functions which has no meaning in the PostScript document (like adding hyperlinks) but will have an effect if the document is converted to PDF.

Documents created by this extension are sometimes even superior to documents created with the pdf extension, because pslib's text rendering functions can handle kerning, hyphenation and ligatures which results in much better output of boxed text.

Wymagania

You need at least PHP 4.3.0 and pslib >= 0.1.12. The ps library (pslib) is available at http://pslib.sourceforge.net/.

Instalacja

A short installation note: just type
$ pecl install ps
in your console.

Konfiguracja uruchomieniowa

To rozszerzenie nie definiuje posiada żadnych dyrektyw konfiguracyjnych w pliku php.ini.

Stałe predefiniowane

Poniższe stałe są zdefiniowane w tym rozszerzeniu i stają się dostępne, gdy rozszerzenie jest dokompilowane do PHP, lub załadowane dynamicznie przy starcie.

The following two tables lists all constants defined by the ps extension.

Tabela 1. Contants for line caps

NameMeaning
ps_LINECAP_BUTT 
ps_LINECAP_ROUND 
ps_LINECAP_SQUARED 

Tabela 2. Contants for line joins

NameMeaning
ps_LINEJOIN_MITER 
ps_LINEJOIN_ROUND 
ps_LINEJOIN_BEVEL 

Contact Information

If you have comments, bugfixes, enhancements for either this extension or pslib then please drop me a mail steinm@php.net. Any help is very welcome.

Spis treści
ps_add_bookmark -- Add bookmark to current page
ps_add_launchlink -- Adds link which launches file
ps_add_locallink -- Adds link to a page in the same document
ps_add_note -- Adds note to current page
ps_add_pdflink -- Adds link to a page in a second pdf document
ps_add_weblink -- Adds link to a web location
ps_arc -- Draws an arc counterclockwise
ps_arcn -- Draws an arc clockwise
ps_begin_page -- Start a new page
ps_begin_pattern -- Start a new pattern
ps_begin_template -- Start a new template
ps_circle -- Draws a circle
ps_clip -- Clips drawing to current path
ps_close_image -- Closes image and frees memory
ps_close -- Closes a PostScript document
ps_closepath_stroke -- Closes and strokes path
ps_closepath -- Closes path
ps_continue_text -- Continue text in next line
ps_curveto -- Draws a curve
ps_delete -- Deletes all resources of a PostScript document
ps_end_page -- End a page
ps_end_pattern -- End a pattern
ps_end_template -- End a template
ps_fill_stroke -- Fills and strokes the current path
ps_fill -- Fills the current path
ps_findfont -- Loads a font
ps_get_buffer -- Fetches the full buffer containig the generated PS data
ps_get_parameter -- Gets certain parameters
ps_get_value -- Gets certain values
ps_hyphenate -- Hyphenates a word
ps_lineto -- Draws a line
ps_makespotcolor -- Create spot color
ps_moveto -- Sets current point
ps_new -- Creates a new PostScript document object
ps_open_file -- Opens a file for output
ps_open_image_file -- Opens image from file
ps_open_image -- Reads an image for later placement
ps_place_image -- Places image on the page
ps_rect -- Draws a rectangle
ps_restore -- Restore previously save context
ps_rotate -- Sets rotation factor
ps_save -- Save current context
ps_scale -- Sets scaling factor
ps_set_border_color -- Sets color of border for annotations
ps_set_border_dash -- Sets length of dashes for border of annotations
ps_set_border_style -- Sets border style of annotations
ps_set_info -- Sets information fields of document
ps_set_parameter -- Sets certain parameters
ps_set_text_pos -- Sets position for text output
ps_set_value -- Sets certain values
ps_setcolor -- Sets current color
ps_setdash -- Sets appearance of a dashed line
ps_setflat -- Sets flatness
ps_setfont -- Sets font to use for following output
ps_setgray -- Sets gray value
ps_setlinecap -- Sets appearance of line ends
ps_setlinejoin -- Sets how contected lines are joined
ps_setlinewidth -- Sets width of a line
ps_setmiterlimit -- Sets the miter limit
ps_setpolydash -- Sets appearance of a dashed line
ps_shading_pattern -- Creates a pattern based on a shading
ps_shading -- Creates a shading for later use
ps_shfill -- Fills an area with a shading
ps_show_boxed -- Output text in a box
ps_show_xy -- Output text at given position
ps_show -- Output text
ps_string_geometry -- Gets geometry of a string
ps_stringwidth -- Gets width of a string
ps_stroke -- Draws the current path
ps_symbol_name -- Gets name of a glyph
ps_symbol_width -- Gets width of a glyph
ps_symbol -- Output a glyph
ps_translate -- Sets translation

media opony bielizna internet kredyty

Lista dyskusyjna:

Wymagania a gry
* 64-bitowy (x64) procesor o szybko¶ci 1 GHz,
* 1 GB pamiêci systemowe
* Dysk twardy o pojemno¶ci 40 GB i przynajmniej 15 GB wolnego miejsca
* Obs³uga grafiki DirectX 9 z:

- sterownikiem WDDM
- 128 MB pamiêci na karcie graficznej (minimum)
- sprzêtow± obs³ug± funkcji Pixel Shader 2.0
- obs³ug± 32-bitowej palety kolorów

zalecane wymagania Windows Vista posiadam:

AMD Athlon x2 x64 3600+ ( mo¿na by podkrêciæ )

GF7950GT 512mb

Geil 1GB DDr 2 PC800 ultra dual 512x512, dokupuje za tydzieñ 2GB tego samego ramu tez dual i ultra tylko 1024x1024 (3GB)

my¶lê, ¿e to stykanie na viste ale mam trzy pytania czy bêdzie du¿a ró¿nica miêdzy systemem 64 bit a 32? i gdzie ja zauwa¿ê w gra tez czy nie?

Czy je¶li ona wymaga np 128mb na karcie graficznej to czy przy w³±czeniu gry np zostanie mi tylko 384 bo vista zje 128
albo w przypadku procesora gdzie mam ledwo 2Ghz to vista zje 1 i dal gry zostanie 1?

Czy w grach bêdzie strasznie du¿a ró¿nica co do XP 32? ( chodzi mi o spadek wydajno¶ci )

jeszcze jedno znalaz³em na http://www.xp.net.pl/art/vista_opt.html optymalizacje visty czy to du¿o daje czy raczej nie op³aca siê w to bawiæ?
karty w laptopach
witajcie ponownie tongue.gif
ostatnio grzebie po sieci i znalaz³em co¶ co mnie zainteresowa³o.

Firma Dell ktorej przedstawiaæ nie trzeba u¿ywa w swoich XPS ( laptopach stworzonych dla graczy) karty typu

nVidia FX770M Graphics Card (with 512MB dedicated memory)
2 x 256MB nVidia GeForce 8700M GT SLI (Total 512MB)
Nvidia Quadro 2500M 512MB

wszystkie maja po 512 MB grafike ale która z tych jest lepsza i jaka jest ich wydajno¶æ w porównaniu do GF 8600 GS/GT czy GF 9500 GS GF 9600 GT ??


Jak uruchomiæ kilka .iso?
Mam problem, bo ¶ci±gn±³em pewien program w kilku czê¶ciach jako pliki .iso zapakowane w WinRarze. Domy¶lam siê, ¿e maj± one stworzyæ jeden plik instalacyjny. Pierwszy raz mam do czynienia z takimi plikami, czyta³em, ¿e u¿ywa siê programów do nagrywania p³yt ale nie wiem o co dok³adnie chodzi. U¿ywam programu Nero je¶li to pomo¿e. z góry dziêki za ka¿d± odpowied¼.
system nie widzi napedow (po dodaniu nowego dysku)
Czesc!

Pisze do Was z prosba o pomoc. Kupilem wczoraj nowy dysk do swojego kompa, jest to dysk Seagate SATA, chcialem by byl on dyskiem dodatkowym. Do tej pory mialem i mam dalej dysk Seagate ale ATA. System zostawilem bez zmian na starym dysku czyli na ATA. Przestawilem w BIOSIE obsluge ATA + SATA i niby wszystko dziala, system widzi oba dyski (mam Windowsa Xp SP2) ale za to przestal widziec napedy (DVD i CD-ROM). Dodam ze zadnych kabli od napedow nie odlaczalem. Mam wrazenie ze musze cos jeszcze zrobic w BIOSIE ale niestety nie wiem co i tutaj moja prosba o pomoc.
Sterowniki Geforce 9600 GT
Posiadam kartê graficzna firmy PNY Geforce 9600 GT OC(http://pny.eu/products.php?section=product...p;productid=241). Podczas instalacji sterowników, pasek instalatora dochodzi do polowy, staje, po czym ekran robi siê czarny a w lewym górnym rogu miga kursor (znaczy taka kreseczka _ ).

Mój sprzêt:

PLYTA: ASUS P5Q
RAM: Geil 2Gb DDR2 1066
PROCESOR: INTEL CORE 2 QUAD 9550
ZASILACZ: CHIEFTEC 560W

Próbowa³em ju¿ 3 ró¿nych sterowników, nawet robi³em update biosa i dalej jest to samo sad.gif

Czy ktos mial stycznosc z AJAXem w ASP? Czy nie jest tak ze to technologia opracowana pod katem wspolpracy z PHP? Jestem ciekaw czy ktos korzystal z AJAXa w ASP bo trzeba przyznac ze technologia jest bardzo ciekawa i zdobywa coraz wieksza popularnosc (zreszta tak jak samo ASP). Znacie moze jakies ciekawe materialy (glownie chodzi mi o wersje "drukowane").