Files
php-doc-ru/reference/ps/functions/ps-open-image-file.xml
Sergey Panteleev 7c5429ce4e Исправление форматирования
[skip-lint]
[skip-spellcheck]
2021-10-21 10:02:49 +03:00

116 lines
3.5 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: sergey Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.ps-open-image-file" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ps_open_image_file</refname>
<refpurpose>Открывает изображение из файла</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>ps_open_image_file</methodname>
<methodparam><type>resource</type><parameter>psdoc</parameter></methodparam>
<methodparam><type>string</type><parameter>type</parameter></methodparam>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>stringparam</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>intparam</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Загружает изображение для дальнейшего использования.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>psdoc</parameter></term>
<listitem>
<para>
Идентификатор ресурса файла postscript,
возвращённый <function>ps_new</function>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>type</parameter></term>
<listitem>
<para>
Тип изображения. Возможные значения: <literal>png</literal>,
<literal>jpeg</literal> или <literal>eps</literal>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>filename</parameter></term>
<listitem>
<para>
Имя файла, содержащего данные изображения.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>stringparam</parameter></term>
<listitem>
<para>
Параметр не используется.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>intparam</parameter></term>
<listitem>
<para>
Параметр не используется.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Возвращает идентификатор изображения или ноль в случае возникновения ошибки.
Идентификатор - положительное число больше 0.
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>ps_open_image</function></member>
<member><function>ps_place_image</function></member>
<member><function>ps_close_image</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->