diff options
author | Shashank | 2017-05-29 12:40:26 +0530 |
---|---|---|
committer | Shashank | 2017-05-29 12:40:26 +0530 |
commit | 0345245e860375a32c9a437c4a9d9cae807134e9 (patch) | |
tree | ad51ecbfa7bcd3cc5f09834f1bb8c08feaa526a4 /modules/graphic_export | |
download | scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.gz scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.bz2 scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.zip |
CMSCOPE changed
Diffstat (limited to 'modules/graphic_export')
316 files changed, 22519 insertions, 0 deletions
diff --git a/modules/graphic_export/.libs/libscigraphic_export-algo.a b/modules/graphic_export/.libs/libscigraphic_export-algo.a Binary files differnew file mode 100755 index 000000000..4250ffa61 --- /dev/null +++ b/modules/graphic_export/.libs/libscigraphic_export-algo.a diff --git a/modules/graphic_export/.libs/libscigraphic_export-algo.la b/modules/graphic_export/.libs/libscigraphic_export-algo.la new file mode 120000 index 000000000..dcf058c87 --- /dev/null +++ b/modules/graphic_export/.libs/libscigraphic_export-algo.la @@ -0,0 +1 @@ +../libscigraphic_export-algo.la
\ No newline at end of file diff --git a/modules/graphic_export/.libs/libscigraphic_export-disable.la b/modules/graphic_export/.libs/libscigraphic_export-disable.la new file mode 120000 index 000000000..aced15ded --- /dev/null +++ b/modules/graphic_export/.libs/libscigraphic_export-disable.la @@ -0,0 +1 @@ +../libscigraphic_export-disable.la
\ No newline at end of file diff --git a/modules/graphic_export/.libs/libscigraphic_export-disable.lai b/modules/graphic_export/.libs/libscigraphic_export-disable.lai new file mode 100755 index 000000000..7cafe9439 --- /dev/null +++ b/modules/graphic_export/.libs/libscigraphic_export-disable.lai @@ -0,0 +1,41 @@ +# libscigraphic_export-disable.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='libscigraphic_export-disable.so.5' + +# Names of this library. +library_names='libscigraphic_export-disable.so.5.5.2 libscigraphic_export-disable.so.5 libscigraphic_export-disable.so' + +# The name of the static archive. +old_library='' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs=' -lpthread -ldl -lcurses -lm' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libscigraphic_export-disable. +current=10 +age=5 +revision=2 + +# Is this an already installed library? +installed=yes + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/usr/local/lib/scilab' diff --git a/modules/graphic_export/.libs/libscigraphic_export-disable.so b/modules/graphic_export/.libs/libscigraphic_export-disable.so new file mode 120000 index 000000000..a8beac334 --- /dev/null +++ b/modules/graphic_export/.libs/libscigraphic_export-disable.so @@ -0,0 +1 @@ +libscigraphic_export-disable.so.5.5.2
\ No newline at end of file diff --git a/modules/graphic_export/.libs/libscigraphic_export-disable.so.5 b/modules/graphic_export/.libs/libscigraphic_export-disable.so.5 new file mode 120000 index 000000000..a8beac334 --- /dev/null +++ b/modules/graphic_export/.libs/libscigraphic_export-disable.so.5 @@ -0,0 +1 @@ +libscigraphic_export-disable.so.5.5.2
\ No newline at end of file diff --git a/modules/graphic_export/.libs/libscigraphic_export-disable.so.5.5.2 b/modules/graphic_export/.libs/libscigraphic_export-disable.so.5.5.2 Binary files differnew file mode 100755 index 000000000..c5d152e5f --- /dev/null +++ b/modules/graphic_export/.libs/libscigraphic_export-disable.so.5.5.2 diff --git a/modules/graphic_export/.libs/libscigraphic_export.la b/modules/graphic_export/.libs/libscigraphic_export.la new file mode 120000 index 000000000..39989d092 --- /dev/null +++ b/modules/graphic_export/.libs/libscigraphic_export.la @@ -0,0 +1 @@ +../libscigraphic_export.la
\ No newline at end of file diff --git a/modules/graphic_export/.libs/libscigraphic_export.lai b/modules/graphic_export/.libs/libscigraphic_export.lai new file mode 100755 index 000000000..aa9944628 --- /dev/null +++ b/modules/graphic_export/.libs/libscigraphic_export.lai @@ -0,0 +1,41 @@ +# libscigraphic_export.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='libscigraphic_export.so.5' + +# Names of this library. +library_names='libscigraphic_export.so.5.5.2 libscigraphic_export.so.5 libscigraphic_export.so' + +# The name of the static archive. +old_library='' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs=' -lpthread -ldl -lcurses' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libscigraphic_export. +current=10 +age=5 +revision=2 + +# Is this an already installed library? +installed=yes + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/usr/local/lib/scilab' diff --git a/modules/graphic_export/.libs/libscigraphic_export.so b/modules/graphic_export/.libs/libscigraphic_export.so new file mode 120000 index 000000000..f02a32fe7 --- /dev/null +++ b/modules/graphic_export/.libs/libscigraphic_export.so @@ -0,0 +1 @@ +libscigraphic_export.so.5.5.2
\ No newline at end of file diff --git a/modules/graphic_export/.libs/libscigraphic_export.so.5 b/modules/graphic_export/.libs/libscigraphic_export.so.5 new file mode 120000 index 000000000..f02a32fe7 --- /dev/null +++ b/modules/graphic_export/.libs/libscigraphic_export.so.5 @@ -0,0 +1 @@ +libscigraphic_export.so.5.5.2
\ No newline at end of file diff --git a/modules/graphic_export/.libs/libscigraphic_export.so.5.5.2 b/modules/graphic_export/.libs/libscigraphic_export.so.5.5.2 Binary files differnew file mode 100755 index 000000000..c18a784f1 --- /dev/null +++ b/modules/graphic_export/.libs/libscigraphic_export.so.5.5.2 diff --git a/modules/graphic_export/Makefile b/modules/graphic_export/Makefile new file mode 100755 index 000000000..25fbe26be --- /dev/null +++ b/modules/graphic_export/Makefile @@ -0,0 +1,1660 @@ +# Makefile.in generated by automake 1.14.1 from Makefile.am. +# modules/graphic_export/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994-2013 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + +# +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) INRIA - 2008 - Sylvestre Ledru +# Copyright (C) DIGITEO - 2009 - Pierre MARECHAL +# +# This file must be used under the terms of the CeCILL. +# This source file is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at +# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +# + +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr> +# Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr> +# +# This file must be used under the terms of the CeCILL. +# This source file is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at +# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +# + +########## +### Makefile included stuff +### Target, variable, suffixes which are supposed to be useful in every makefile.am +########## + + + +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/scilab +pkgincludedir = $(includedir)/scilab +pkglibdir = $(libdir)/scilab +pkglibexecdir = $(libexecdir)/scilab +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = x86_64-unknown-linux-gnu +host_triplet = x86_64-unknown-linux-gnu +#am__append_1 = giws +am__append_2 = libscigraphic_export.la +DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \ + $(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs \ + $(top_srcdir)/config/depcomp +am__append_3 = java +subdir = modules/graphic_export +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \ + $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \ + $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \ + $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \ + $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \ + $(top_srcdir)/m4/intel_compiler.m4 \ + $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \ + $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \ + $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \ + $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \ + $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \ + $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \ + $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \ + $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(pkglibdir)" \ + "$(DESTDIR)$(libscigraphic_export_la_etcdir)" \ + "$(DESTDIR)$(libscigraphic_export_la_rootdir)" \ + "$(DESTDIR)$(libscigraphic_export_la_sci_gatewaydir)" +LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkglib_LTLIBRARIES) +libscigraphic_export_algo_la_LIBADD = +am__dirstamp = $(am__leading_dot)dirstamp +am__objects_1 = src/cpp/libscigraphic_export_algo_la-exportToFile.lo \ + src/jni/libscigraphic_export_algo_la-FileExporter.lo \ + src/jni/libscigraphic_export_algo_la-Driver.lo +am_libscigraphic_export_algo_la_OBJECTS = $(am__objects_1) +libscigraphic_export_algo_la_OBJECTS = \ + $(am_libscigraphic_export_algo_la_OBJECTS) +AM_V_lt = $(am__v_lt_$(V)) +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +am__v_lt_0 = --silent +am__v_lt_1 = +am_libscigraphic_export_algo_la_rpath = +libscigraphic_export_disable_la_LIBADD = +am_libscigraphic_export_disable_la_OBJECTS = src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo +libscigraphic_export_disable_la_OBJECTS = \ + $(am_libscigraphic_export_disable_la_OBJECTS) +libscigraphic_export_la_DEPENDENCIES = libscigraphic_export-algo.la +am__objects_2 = \ + sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo \ + sci_gateway/c/libscigraphic_export_la-xs2file.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo +am__objects_3 = sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo \ + sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo \ + sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo +am_libscigraphic_export_la_OBJECTS = $(am__objects_2) $(am__objects_3) +libscigraphic_export_la_OBJECTS = \ + $(am_libscigraphic_export_la_OBJECTS) +am_libscigraphic_export_la_rpath = -rpath $(pkglibdir) +AM_V_P = $(am__v_P_$(V)) +am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I. -I$(top_builddir)/modules/core/includes +depcomp = $(SHELL) $(top_srcdir)/config/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_$(V)) +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_$(V)) +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) +AM_V_CXX = $(am__v_CXX_$(V)) +am__v_CXX_ = $(am__v_CXX_$(AM_DEFAULT_VERBOSITY)) +am__v_CXX_0 = @echo " CXX " $@; +am__v_CXX_1 = +CXXLD = $(CXX) +CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CXXLD = $(am__v_CXXLD_$(V)) +am__v_CXXLD_ = $(am__v_CXXLD_$(AM_DEFAULT_VERBOSITY)) +am__v_CXXLD_0 = @echo " CXXLD " $@; +am__v_CXXLD_1 = +SOURCES = $(libscigraphic_export_algo_la_SOURCES) \ + $(libscigraphic_export_disable_la_SOURCES) \ + $(libscigraphic_export_la_SOURCES) +DIST_SOURCES = $(libscigraphic_export_algo_la_SOURCES) \ + $(libscigraphic_export_disable_la_SOURCES) \ + $(libscigraphic_export_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(libscigraphic_export_la_etc_DATA) \ + $(libscigraphic_export_la_root_DATA) \ + $(libscigraphic_export_la_sci_gateway_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing aclocal-1.14 +ALL_LINGUAS = en_US fr_FR zh_CN zh_TW ru_RU ca_ES de_DE es_ES pt_BR ja_JP it_IT uk_UA pl_PL cs_CZ +ALL_LINGUAS_DOC = en_US fr_FR pt_BR ja_JP ru_RU +AMTAR = $${TAR-tar} +AM_DEFAULT_VERBOSITY = 1 +ANT = /usr/bin/ant +ANTLR = /usr/share/java/antlr.jar +AR = ar +ARPACK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -larpack +ASM3 = /usr/share/java/asm3-3.3.2.jar +AUTOCONF = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing autoconf +AUTOHEADER = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing autoheader +AUTOMAKE = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing automake-1.14 +AVALON_FRAMEWORK = /home/shashank/scilab-master_5.5.2/thirdparty/avalon-framework.jar +AWK = mawk +BATIK = /home/shashank/scilab-master_5.5.2/thirdparty/batik-all-1.7.jar +BLAS_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lblas +CC = gcc +CCACHE = +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 +CHECKSTYLE = +COBERTURA = /usr/share/java/cobertura.jar +COMMONS_BEANUTILS = +COMMONS_IO = /home/shashank/scilab-master_5.5.2/thirdparty/commons-io.jar +COMMONS_LOGGING = /home/shashank/scilab-master_5.5.2/thirdparty/commons-logging.jar +CPP = gcc -E +CPPFLAGS = +CURL_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +CURL_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/curl-config +CURL_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lcurl -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lssl -lcrypto -lrt -lz +CURL_VERSION = libcurl 7.19.7 +CXX = g++ +CXXCPP = g++ -E +CXXDEPMODE = depmode=gcc3 +CXXFLAGS = -g -O2 +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEMOTOOLS_ENABLE = yes +DEPDIR = .deps +DLLTOOL = false +DOCBOOK_ROOT = /home/shashank/scilab-master_5.5.2/thirdparty/docbook/ +DOXYGEN_BIN = +DSYMUTIL = +DUMPBIN = +ECHO_C = +ECHO_N = -n +ECHO_T = +ECJ = /home/shashank/scilab-master_5.5.2/thirdparty/ecj.jar +EGREP = /bin/grep -E +EXEEXT = +F77 = gfortran +FFLAGS = -g -O2 +FFTW3_LIB = -L/home/shashank/scilab-master_5.5.2/usr/lib -lfftw3 +FFTW_ENABLE = yes +FGREP = /bin/grep -F +FLEXDOCK = /home/shashank/scilab-master_5.5.2/thirdparty/flexdock-1.2.4.jar +FLIBS = -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lpthread -ldl -lcurses -lgfortran -lm -lquadmath +FOP = /home/shashank/scilab-master_5.5.2/thirdparty/fop.jar +FREEHEP_GRAPHICS2D = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphics2d.jar +FREEHEP_GRAPHICSIO = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphicsio.jar +FREEHEP_GRAPHICSIO_EMF = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphicsio-emf.jar +FREEHEP_IO = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-io.jar +FREEHEP_UTIL = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-util.jar +GENHTML = +GETTEXT_MACRO_VERSION = 0.19 +GIWS_BIN = +GLUEGEN2_RT = /home/shashank/scilab-master_5.5.2/thirdparty/gluegen2-rt.jar +GMSGFMT = /usr/bin/msgfmt +GMSGFMT_015 = /usr/bin/msgfmt +GRAPHICS_ENABLE = yes +GREP = /bin/grep +GUI_ENABLE = yes +HDF5_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +HDF5_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lhdf5 -lhdf5_hl +HELP_ENABLE = yes +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +INTLLIBS = +INTL_MACOSX_LIBS = +JAR = /usr/lib/jvm/java-8-openjdk-amd64/bin/jar +JAVA = /usr/lib/jvm/java-8-openjdk-amd64/bin/java +JAVAC = /usr/lib/jvm/java-8-openjdk-amd64/bin/javac +JAVAC_DEBUG = off +JAVADOC = /usr/lib/jvm/java-8-openjdk-amd64/bin/javadoc +JAVAH = /usr/lib/jvm/java-8-openjdk-amd64/bin/javah +JAVASCI_ENABLE = yes +JAVA_ENABLE = yes +JAVA_G = /usr/lib/jvm/java-8-openjdk-amd64/bin/java +JAVA_HOME = /usr/lib/jvm/java-8-openjdk-amd64 +JAVA_JNI_INCLUDE = -I/usr/lib/jvm/java-8-openjdk-amd64/include -I/usr/lib/jvm/java-8-openjdk-amd64/include/linux +JAVA_JNI_LIBS = -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 -ljava -lverify -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server -ljvm +JDB = /usr/lib/jvm/java-8-openjdk-amd64/bin/jdb +JEUCLID_CORE = /home/shashank/scilab-master_5.5.2/thirdparty/jeuclid-core.jar +JGRAPHX = /home/shashank/scilab-master_5.5.2/thirdparty/jgraphx.jar +JHALL = /home/shashank/scilab-master_5.5.2/thirdparty/jhall.jar +JLATEXMATH = /home/shashank/scilab-master_5.5.2/thirdparty/jlatexmath-1.0.3.jar +JLATEXMATH_FOP = /home/shashank/scilab-master_5.5.2/thirdparty/jlatexmath-fop-1.0.3.jar +JOGL2 = /home/shashank/scilab-master_5.5.2/thirdparty/jogl2.jar +JROSETTA_API = /home/shashank/scilab-master_5.5.2/thirdparty/jrosetta-API.jar +JROSETTA_ENGINE = /home/shashank/scilab-master_5.5.2/thirdparty/jrosetta-engine.jar +JUNIT4 = /usr/share/java/junit4.jar +LAPACK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -llapack +LCOV = +LD = /usr/bin/ld -m elf_x86_64 +LDFLAGS = -Wl,--no-as-needed +LIBICONV = -liconv +LIBINTL = +LIBM = -lm +LIBOBJS = +LIBS = -lpthread -ldl -lcurses -lm +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LIPO = +LN_S = ln -s +LOGGING_LEVEL = SEVERE +LOOKS = /home/shashank/scilab-master_5.5.2/thirdparty/looks-2.1.1.jar +LTLIBICONV = -liconv +LTLIBINTL = +LTLIBOBJS = +MAINT = # +MAKEINFO = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing makeinfo +MANIFEST_TOOL = : +MATIO_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +MATIO_ENABLE = yes +MATIO_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lm -lz -lmatio -lhdf5 +MKDIR_P = /bin/mkdir -p +MPI_ENABLE = no +MSGCAT = /usr/bin/msgcat +MSGFMT = /usr/bin/msgfmt +MSGFMT_015 = /usr/bin/msgfmt +MSGMERGE = /usr/bin/msgmerge +NM = nm +NMEDIT = +OBJDUMP = objdump +OBJEXT = o +OCAMLC = ocamlc +OCAMLDEP = ocamldep +OCAMLLEX = ocamllex +OCAMLOPT = ocamlopt +OCAMLYACC = ocamlyacc +OPENMPI_CC = +OPENMPI_CFLAGS = +OPENMPI_CXX = +OPENMPI_CXXFLAGS = +OPENMPI_LIBS = +OPENMP_CFLAGS = -fopenmp +OPENMP_CXXFLAGS = -fopenmp +OPENMP_ENABLE = yes +OPENMP_LIBS = -lgomp -lstdc++ +OTOOL = +OTOOL64 = +PACKAGE = scilab +PACKAGE_BUGREPORT = http://bugzilla.scilab.org/ +PACKAGE_NAME = Scilab +PACKAGE_STRING = Scilab 5 +PACKAGE_TARNAME = scilab +PACKAGE_URL = +PACKAGE_VERSION = 5 +PATH_SEPARATOR = : +PCRE_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +PCRE_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/pcre-config +PCRE_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lpcreposix -lpcre +PCRE_VERSION = 8.35 +PKG_CONFIG = /usr/bin/pkg-config +POSUB = po +POW_LIB = +PYTHON = +RANLIB = ranlib +RELOCATABLE = no +RT_LIB = -lrt +SAXON = /home/shashank/scilab-master_5.5.2/thirdparty/saxon9he.jar +SCILAB_BINARY_VERSION = 5.5.2 +SCILAB_LIBRARY_VERSION = 5:5:2 +SCILAB_VERSION_MAINTENANCE = 2 +SCILAB_VERSION_MAJOR = 5 +SCILAB_VERSION_MINOR = 5 +SCIRENDERER = ${modules.dir}/scirenderer/${build.jar.dir}/scirenderer.jar +SCIRENDERER_CP = $SCILAB/modules/scirenderer/jar/scirenderer.jar +SCI_CFLAGS = -D_LARGEFILE64_SOURCE -DNDEBUG -m64 -fno-stack-protector +SCI_CXXFLAGS = -DNDEBUG -fno-stack-protector +SCI_FFLAGS = -DNDEBUG -m64 -fPIC +SCI_LDFLAGS = +SED = /bin/sed +SET_MAKE = +SET_RELOCATABLE = +SHELL = /bin/bash +SKINLF = /home/shashank/scilab-master_5.5.2/thirdparty/skinlf.jar +SPLINT = no +STRIP = strip +SWIG_BIN = +SWIG_JAVA = +SWIG_RUNTIME_LIBS_DIR = +SWIG_SCILAB = +TCLTK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -ltk8.5 -L/home/shashank/scilab-master_5.5.2/usr/lib -ltcl8.5 -ldl +TCL_INC_PATH = -I/home/shashank/scilab-master_5.5.2/usr/include +TK_INC_PATH = -I/home/shashank/scilab-master_5.5.2/usr/include +UMFPACK_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +UMFPACK_ENABLE = yes +UMFPACK_LIB = -L/home/shashank/scilab-master_5.5.2/usr/lib -lumfpack -lamd +USE_NLS = yes +VERSION = 5 +WITH_OCAML = +WITH_TKSCI = yes +XCOS_ENABLE = yes +XGETTEXT = /usr/bin/xgettext +XGETTEXT_015 = /usr/bin/xgettext +XGETTEXT_EXTRA_OPTIONS = +XMKMF = +XMLGRAPHICS_COMMONS = /home/shashank/scilab-master_5.5.2/thirdparty/xmlgraphics-commons-1.4.jar +XML_APIS_EXT = /home/shashank/scilab-master_5.5.2/thirdparty/xml-apis-ext.jar +XML_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/xml2-config +XML_FLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include/libxml2 +XML_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lxml2 -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lz -lm -ldl +XML_VERSION = 2.9.1 +X_CFLAGS = +X_EXTRA_LIBS = +X_LIBS = +X_PRE_LIBS = +abs_builddir = /home/shashank/scilab-master_5.5.2/modules/graphic_export +abs_srcdir = /home/shashank/scilab-master_5.5.2/modules/graphic_export +abs_top_builddir = /home/shashank/scilab-master_5.5.2 +abs_top_srcdir = /home/shashank/scilab-master_5.5.2 +ac_ct_AR = ar +ac_ct_CC = gcc +ac_ct_CXX = g++ +ac_ct_DUMPBIN = +ac_ct_F77 = gfortran +am__include = include +am__leading_dot = . +am__quote = +am__tar = $${TAR-tar} chof - "$$tardir" +am__untar = $${TAR-tar} xf - +bindir = ${exec_prefix}/bin +build = x86_64-unknown-linux-gnu +build_alias = +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = unknown +builddir = . +cxx_present = yes +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-unknown-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = unknown +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = ${SHELL} /home/shashank/scilab-master_5.5.2/config/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +mandir = ${datarootdir}/man +mkdir_p = $(MKDIR_P) +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /usr/local +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target_alias = +top_build_prefix = ../../ +top_builddir = ../.. +top_srcdir = ../.. + +#### Name of the module and the path ###### +modulename = graphic_export + +#### graphic_export : Conf files #### +libscigraphic_export_la_rootdir = $(mydatadir) +libscigraphic_export_la_root_DATA = license.txt + +#### graphic_export : init scripts #### +libscigraphic_export_la_etcdir = $(mydatadir)/etc +libscigraphic_export_la_etc_DATA = etc/graphic_export.quit etc/graphic_export.start + +# List of the c files +GRAPHIC_EXPORT_CXX_SOURCES = src/cpp/exportToFile.cpp \ +src/jni/FileExporter.cpp \ +src/jni/Driver.cpp + + +# List of the gateway c files +GATEWAY_C_SOURCES = \ +sci_gateway/c/gw_graphic_export.c \ +sci_gateway/c/xs2file.c \ +sci_gateway/c/sci_xs2bmp.c \ +sci_gateway/c/sci_xs2gif.c \ +sci_gateway/c/sci_xs2ppm.c \ +sci_gateway/c/sci_xs2ps.c \ +sci_gateway/c/sci_xs2svg.c \ +sci_gateway/c/sci_xs2jpg.c \ +sci_gateway/c/sci_xs2eps.c \ +sci_gateway/c/sci_xs2pdf.c \ +sci_gateway/c/sci_xs2png.c \ +sci_gateway/c/sci_xs2emf.c + +GATEWAY_CXX_SOURCES = sci_gateway/cpp/sci_driver.cpp \ +sci_gateway/cpp/sci_xinit.cpp \ +sci_gateway/cpp/sci_xend.cpp + + +# Includes need for the compilation +libscigraphic_export_la_CPPFLAGS = $(JAVA_JNI_INCLUDE) \ + -I$(srcdir)/includes/ \ + -I$(srcdir)/src/cpp/ \ + -I$(srcdir)/src/jni/ \ + -I$(srcdir)/src/c/ \ + -I$(top_srcdir)/modules/api_scilab/includes/ \ + -I$(top_srcdir)/modules/localization/includes/ \ + -I$(top_srcdir)/modules/jvm/includes/ \ + -I$(top_srcdir)/modules/graphics/includes/ \ + -I$(top_srcdir)/modules/renderer/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/fileio/includes/ \ + -I$(top_srcdir)/modules/commons/src/jni \ + -I$(top_srcdir)/modules/graphic_objects/includes/ \ + -I$(top_srcdir)/modules/gui/src/jni/ \ + $(AM_CPPFLAGS) + + +# All the sources needed by libscigraphic_export.la +libscigraphic_export_algo_la_SOURCES = $(GRAPHIC_EXPORT_CXX_SOURCES) +libscigraphic_export_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CXX_SOURCES) +libscigraphic_export_algo_la_CPPFLAGS = $(libscigraphic_export_la_CPPFLAGS) + +# For the code check (splint) +CHECK_SRC = $(GATEWAY_C_SOURCES) $(GATEWAY_CXX_SOURCES) +INCLUDE_FLAGS = $(libscigraphic_export_la_CPPFLAGS) +libscigraphic_export_la_LIBADD = libscigraphic_export-algo.la +GIWS_WRAPPERS = src/jni/FileExporter.giws.xml \ +src/jni/Driver.giws.xml + +BUILT_SOURCES = $(am__append_1) + +# All the sources needed by libscigraphic_export.la +libscigraphic_export_disable_la_SOURCES = src/nographic_export/nographic_export.c +libscigraphic_export_disable_la_CPPFLAGS = -I$(srcdir)/includes/ \ + -I$(top_srcdir)/modules/api_scilab/includes/ \ + -I$(top_srcdir)/modules/localization/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + $(AM_CPPFLAGS) + + +# Name of the future library (.la will be replace by .so, .a, etc regarding +# the system) +pkglib_LTLIBRARIES = libscigraphic_export-disable.la $(am__append_2) +USEANT = 1 +noinst_LTLIBRARIES = libscigraphic_export-algo.la + +#### graphic_export : gateway declaration #### +libscigraphic_export_la_sci_gatewaydir = $(mydatadir)/sci_gateway +libscigraphic_export_la_sci_gateway_DATA = sci_gateway/graphic_export_gateway.xml + +# Where all the Scilab stuff is installed (macros, help, ...) +mydatadir = $(pkgdatadir)/modules/$(modulename) + +# Set AM_* SCI detected settings +AM_CPPFLAGS = $(SCI_CPPFLAGS) +AM_CFLAGS = $(SCI_CFLAGS) +AM_CXXFLAGS = $(SCI_CXXFLAGS) +# append includes to AM_FFLAGS to manage fortran includes +AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/ + +# Tag shared libraries with the Scilab version +AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION) + +# splint options +SPLINT_OPTIONS = -weak -booltype BOOL + +########################### JAVA ###################################### +#### We are delegating java compilation to ant... Thanks to that +#### the procedure will be the same with Microsoft Windows (C) +#### and Linux/Unix +####################################################################### +TARGETS_ALL = $(am__append_3) + +################ MACROS ###################### +# Rule to build a macro +# NOT USED AT THE MOMENT +SUFFIXES = .sci + +########### INSTALL DOCUMENTATION ################### + +# Install documentation files into the right target +# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because +# automake needs the html files to be present which is not the case when +# we are building Scilab + +# Where it should be installed +pkgdocdir = $(mydatadir) + +# What is the mask of the help source +DOCMASKXML = *.xml + +# What is the mask of the MathML sources +DOCMASKMML = *.mml + +########### INSTALL DATA ################### +# Install macros, help & demos +# Where it should be installed +pkgmacrosdir = $(mydatadir) +# Which directory we process +MACRODIRS = macros/ +# Mask of the Scilab sources macros +MACROMASK = *.sci +# Mask of the Scilab executable sources macros +MACROBUILDMASK = *.sce +# Mask of the Scilab compiled macros +MACROBINMASK = *.bin +# List of the standard directory for tests +TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java +# Where the demos should be installed +pkgdemosdir = $(mydatadir) +# List of the standard directory for demos +DEMOS_DIR = demos +# List of the standard directory for examples +EXAMPLES_DIR = examples +# Where to export JAVA archives (.jar) +JARDIR = jar/ +# JAR files mask +JARMASK = *.jar +# Chapter file +HELP_CHAPTERDIR = help/ +HELP_CHAPTERFILE = addchapter.sce +HELP_CHAPTERLANG = en_US fr_FR pt_BR +all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-am + +.SUFFIXES: +.SUFFIXES: .sci .bin .c .cpp .lo .o .obj +$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/graphic_export/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign modules/graphic_export/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; +$(top_srcdir)/Makefile.incl.am: + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: # $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): # $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ + } + +uninstall-pkglibLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ + done + +clean-pkglibLTLIBRARIES: + -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) + @list='$(pkglib_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } +src/cpp/$(am__dirstamp): + @$(MKDIR_P) src/cpp + @: > src/cpp/$(am__dirstamp) +src/cpp/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/cpp/$(DEPDIR) + @: > src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libscigraphic_export_algo_la-exportToFile.lo: \ + src/cpp/$(am__dirstamp) src/cpp/$(DEPDIR)/$(am__dirstamp) +src/jni/$(am__dirstamp): + @$(MKDIR_P) src/jni + @: > src/jni/$(am__dirstamp) +src/jni/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/jni/$(DEPDIR) + @: > src/jni/$(DEPDIR)/$(am__dirstamp) +src/jni/libscigraphic_export_algo_la-FileExporter.lo: \ + src/jni/$(am__dirstamp) src/jni/$(DEPDIR)/$(am__dirstamp) +src/jni/libscigraphic_export_algo_la-Driver.lo: \ + src/jni/$(am__dirstamp) src/jni/$(DEPDIR)/$(am__dirstamp) + +libscigraphic_export-algo.la: $(libscigraphic_export_algo_la_OBJECTS) $(libscigraphic_export_algo_la_DEPENDENCIES) $(EXTRA_libscigraphic_export_algo_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) $(am_libscigraphic_export_algo_la_rpath) $(libscigraphic_export_algo_la_OBJECTS) $(libscigraphic_export_algo_la_LIBADD) $(LIBS) +src/nographic_export/$(am__dirstamp): + @$(MKDIR_P) src/nographic_export + @: > src/nographic_export/$(am__dirstamp) +src/nographic_export/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/nographic_export/$(DEPDIR) + @: > src/nographic_export/$(DEPDIR)/$(am__dirstamp) +src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo: \ + src/nographic_export/$(am__dirstamp) \ + src/nographic_export/$(DEPDIR)/$(am__dirstamp) + +libscigraphic_export-disable.la: $(libscigraphic_export_disable_la_OBJECTS) $(libscigraphic_export_disable_la_DEPENDENCIES) $(EXTRA_libscigraphic_export_disable_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(pkglibdir) $(libscigraphic_export_disable_la_OBJECTS) $(libscigraphic_export_disable_la_LIBADD) $(LIBS) +sci_gateway/c/$(am__dirstamp): + @$(MKDIR_P) sci_gateway/c + @: > sci_gateway/c/$(am__dirstamp) +sci_gateway/c/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) sci_gateway/c/$(DEPDIR) + @: > sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-xs2file.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/cpp/$(am__dirstamp): + @$(MKDIR_P) sci_gateway/cpp + @: > sci_gateway/cpp/$(am__dirstamp) +sci_gateway/cpp/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) sci_gateway/cpp/$(DEPDIR) + @: > sci_gateway/cpp/$(DEPDIR)/$(am__dirstamp) +sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo: \ + sci_gateway/cpp/$(am__dirstamp) \ + sci_gateway/cpp/$(DEPDIR)/$(am__dirstamp) +sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo: \ + sci_gateway/cpp/$(am__dirstamp) \ + sci_gateway/cpp/$(DEPDIR)/$(am__dirstamp) +sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo: \ + sci_gateway/cpp/$(am__dirstamp) \ + sci_gateway/cpp/$(DEPDIR)/$(am__dirstamp) + +libscigraphic_export.la: $(libscigraphic_export_la_OBJECTS) $(libscigraphic_export_la_DEPENDENCIES) $(EXTRA_libscigraphic_export_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) $(am_libscigraphic_export_la_rpath) $(libscigraphic_export_la_OBJECTS) $(libscigraphic_export_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + -rm -f sci_gateway/c/*.$(OBJEXT) + -rm -f sci_gateway/c/*.lo + -rm -f sci_gateway/cpp/*.$(OBJEXT) + -rm -f sci_gateway/cpp/*.lo + -rm -f src/cpp/*.$(OBJEXT) + -rm -f src/cpp/*.lo + -rm -f src/jni/*.$(OBJEXT) + -rm -f src/jni/*.lo + -rm -f src/nographic_export/*.$(OBJEXT) + -rm -f src/nographic_export/*.lo + +distclean-compile: + -rm -f *.tab.c + +include sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-gw_graphic_export.Plo +include sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2bmp.Plo +include sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2emf.Plo +include sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2eps.Plo +include sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2gif.Plo +include sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2jpg.Plo +include sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2pdf.Plo +include sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2png.Plo +include sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2ppm.Plo +include sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2ps.Plo +include sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2svg.Plo +include sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-xs2file.Plo +include sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_driver.Plo +include sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_xend.Plo +include sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_xinit.Plo +include src/cpp/$(DEPDIR)/libscigraphic_export_algo_la-exportToFile.Plo +include src/jni/$(DEPDIR)/libscigraphic_export_algo_la-Driver.Plo +include src/jni/$(DEPDIR)/libscigraphic_export_algo_la-FileExporter.Plo +include src/nographic_export/$(DEPDIR)/libscigraphic_export_disable_la-nographic_export.Plo + +.c.o: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ + $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + $(am__mv) $$depbase.Tpo $$depbase.Po +# $(AM_V_CC)source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(COMPILE) -c -o $@ $< + +.c.obj: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ + $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ + $(am__mv) $$depbase.Tpo $$depbase.Po +# $(AM_V_CC)source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ + $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + $(am__mv) $$depbase.Tpo $$depbase.Plo +# $(AM_V_CC)source='$<' object='$@' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LTCOMPILE) -c -o $@ $< + +src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo: src/nographic_export/nographic_export.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_disable_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo -MD -MP -MF src/nographic_export/$(DEPDIR)/libscigraphic_export_disable_la-nographic_export.Tpo -c -o src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo `test -f 'src/nographic_export/nographic_export.c' || echo '$(srcdir)/'`src/nographic_export/nographic_export.c + $(AM_V_at)$(am__mv) src/nographic_export/$(DEPDIR)/libscigraphic_export_disable_la-nographic_export.Tpo src/nographic_export/$(DEPDIR)/libscigraphic_export_disable_la-nographic_export.Plo +# $(AM_V_CC)source='src/nographic_export/nographic_export.c' object='src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_disable_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo `test -f 'src/nographic_export/nographic_export.c' || echo '$(srcdir)/'`src/nographic_export/nographic_export.c + +sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo: sci_gateway/c/gw_graphic_export.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-gw_graphic_export.Tpo -c -o sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo `test -f 'sci_gateway/c/gw_graphic_export.c' || echo '$(srcdir)/'`sci_gateway/c/gw_graphic_export.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-gw_graphic_export.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-gw_graphic_export.Plo +# $(AM_V_CC)source='sci_gateway/c/gw_graphic_export.c' object='sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo `test -f 'sci_gateway/c/gw_graphic_export.c' || echo '$(srcdir)/'`sci_gateway/c/gw_graphic_export.c + +sci_gateway/c/libscigraphic_export_la-xs2file.lo: sci_gateway/c/xs2file.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-xs2file.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-xs2file.Tpo -c -o sci_gateway/c/libscigraphic_export_la-xs2file.lo `test -f 'sci_gateway/c/xs2file.c' || echo '$(srcdir)/'`sci_gateway/c/xs2file.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-xs2file.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-xs2file.Plo +# $(AM_V_CC)source='sci_gateway/c/xs2file.c' object='sci_gateway/c/libscigraphic_export_la-xs2file.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-xs2file.lo `test -f 'sci_gateway/c/xs2file.c' || echo '$(srcdir)/'`sci_gateway/c/xs2file.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo: sci_gateway/c/sci_xs2bmp.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2bmp.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo `test -f 'sci_gateway/c/sci_xs2bmp.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2bmp.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2bmp.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2bmp.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_xs2bmp.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo `test -f 'sci_gateway/c/sci_xs2bmp.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2bmp.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo: sci_gateway/c/sci_xs2gif.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2gif.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo `test -f 'sci_gateway/c/sci_xs2gif.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2gif.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2gif.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2gif.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_xs2gif.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo `test -f 'sci_gateway/c/sci_xs2gif.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2gif.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo: sci_gateway/c/sci_xs2ppm.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2ppm.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo `test -f 'sci_gateway/c/sci_xs2ppm.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2ppm.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2ppm.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2ppm.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_xs2ppm.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo `test -f 'sci_gateway/c/sci_xs2ppm.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2ppm.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo: sci_gateway/c/sci_xs2ps.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2ps.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo `test -f 'sci_gateway/c/sci_xs2ps.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2ps.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2ps.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2ps.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_xs2ps.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo `test -f 'sci_gateway/c/sci_xs2ps.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2ps.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo: sci_gateway/c/sci_xs2svg.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2svg.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo `test -f 'sci_gateway/c/sci_xs2svg.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2svg.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2svg.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2svg.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_xs2svg.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo `test -f 'sci_gateway/c/sci_xs2svg.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2svg.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo: sci_gateway/c/sci_xs2jpg.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2jpg.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo `test -f 'sci_gateway/c/sci_xs2jpg.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2jpg.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2jpg.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2jpg.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_xs2jpg.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo `test -f 'sci_gateway/c/sci_xs2jpg.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2jpg.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo: sci_gateway/c/sci_xs2eps.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2eps.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo `test -f 'sci_gateway/c/sci_xs2eps.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2eps.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2eps.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2eps.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_xs2eps.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo `test -f 'sci_gateway/c/sci_xs2eps.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2eps.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo: sci_gateway/c/sci_xs2pdf.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2pdf.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo `test -f 'sci_gateway/c/sci_xs2pdf.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2pdf.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2pdf.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2pdf.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_xs2pdf.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo `test -f 'sci_gateway/c/sci_xs2pdf.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2pdf.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo: sci_gateway/c/sci_xs2png.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2png.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo `test -f 'sci_gateway/c/sci_xs2png.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2png.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2png.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2png.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_xs2png.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo `test -f 'sci_gateway/c/sci_xs2png.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2png.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo: sci_gateway/c/sci_xs2emf.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2emf.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo `test -f 'sci_gateway/c/sci_xs2emf.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2emf.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2emf.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2emf.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_xs2emf.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo `test -f 'sci_gateway/c/sci_xs2emf.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2emf.c + +.cpp.o: + $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ + $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + $(am__mv) $$depbase.Tpo $$depbase.Po +# $(AM_V_CXX)source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(CXXCOMPILE) -c -o $@ $< + +.cpp.obj: + $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ + $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ + $(am__mv) $$depbase.Tpo $$depbase.Po +# $(AM_V_CXX)source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cpp.lo: + $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ + $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + $(am__mv) $$depbase.Tpo $$depbase.Plo +# $(AM_V_CXX)source='$<' object='$@' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LTCXXCOMPILE) -c -o $@ $< + +src/cpp/libscigraphic_export_algo_la-exportToFile.lo: src/cpp/exportToFile.cpp + $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libscigraphic_export_algo_la-exportToFile.lo -MD -MP -MF src/cpp/$(DEPDIR)/libscigraphic_export_algo_la-exportToFile.Tpo -c -o src/cpp/libscigraphic_export_algo_la-exportToFile.lo `test -f 'src/cpp/exportToFile.cpp' || echo '$(srcdir)/'`src/cpp/exportToFile.cpp + $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libscigraphic_export_algo_la-exportToFile.Tpo src/cpp/$(DEPDIR)/libscigraphic_export_algo_la-exportToFile.Plo +# $(AM_V_CXX)source='src/cpp/exportToFile.cpp' object='src/cpp/libscigraphic_export_algo_la-exportToFile.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libscigraphic_export_algo_la-exportToFile.lo `test -f 'src/cpp/exportToFile.cpp' || echo '$(srcdir)/'`src/cpp/exportToFile.cpp + +src/jni/libscigraphic_export_algo_la-FileExporter.lo: src/jni/FileExporter.cpp + $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/jni/libscigraphic_export_algo_la-FileExporter.lo -MD -MP -MF src/jni/$(DEPDIR)/libscigraphic_export_algo_la-FileExporter.Tpo -c -o src/jni/libscigraphic_export_algo_la-FileExporter.lo `test -f 'src/jni/FileExporter.cpp' || echo '$(srcdir)/'`src/jni/FileExporter.cpp + $(AM_V_at)$(am__mv) src/jni/$(DEPDIR)/libscigraphic_export_algo_la-FileExporter.Tpo src/jni/$(DEPDIR)/libscigraphic_export_algo_la-FileExporter.Plo +# $(AM_V_CXX)source='src/jni/FileExporter.cpp' object='src/jni/libscigraphic_export_algo_la-FileExporter.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/jni/libscigraphic_export_algo_la-FileExporter.lo `test -f 'src/jni/FileExporter.cpp' || echo '$(srcdir)/'`src/jni/FileExporter.cpp + +src/jni/libscigraphic_export_algo_la-Driver.lo: src/jni/Driver.cpp + $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/jni/libscigraphic_export_algo_la-Driver.lo -MD -MP -MF src/jni/$(DEPDIR)/libscigraphic_export_algo_la-Driver.Tpo -c -o src/jni/libscigraphic_export_algo_la-Driver.lo `test -f 'src/jni/Driver.cpp' || echo '$(srcdir)/'`src/jni/Driver.cpp + $(AM_V_at)$(am__mv) src/jni/$(DEPDIR)/libscigraphic_export_algo_la-Driver.Tpo src/jni/$(DEPDIR)/libscigraphic_export_algo_la-Driver.Plo +# $(AM_V_CXX)source='src/jni/Driver.cpp' object='src/jni/libscigraphic_export_algo_la-Driver.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/jni/libscigraphic_export_algo_la-Driver.lo `test -f 'src/jni/Driver.cpp' || echo '$(srcdir)/'`src/jni/Driver.cpp + +sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo: sci_gateway/cpp/sci_driver.cpp + $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo -MD -MP -MF sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_driver.Tpo -c -o sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo `test -f 'sci_gateway/cpp/sci_driver.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_driver.cpp + $(AM_V_at)$(am__mv) sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_driver.Tpo sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_driver.Plo +# $(AM_V_CXX)source='sci_gateway/cpp/sci_driver.cpp' object='sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo `test -f 'sci_gateway/cpp/sci_driver.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_driver.cpp + +sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo: sci_gateway/cpp/sci_xinit.cpp + $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo -MD -MP -MF sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_xinit.Tpo -c -o sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo `test -f 'sci_gateway/cpp/sci_xinit.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_xinit.cpp + $(AM_V_at)$(am__mv) sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_xinit.Tpo sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_xinit.Plo +# $(AM_V_CXX)source='sci_gateway/cpp/sci_xinit.cpp' object='sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo `test -f 'sci_gateway/cpp/sci_xinit.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_xinit.cpp + +sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo: sci_gateway/cpp/sci_xend.cpp + $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo -MD -MP -MF sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_xend.Tpo -c -o sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo `test -f 'sci_gateway/cpp/sci_xend.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_xend.cpp + $(AM_V_at)$(am__mv) sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_xend.Tpo sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_xend.Plo +# $(AM_V_CXX)source='sci_gateway/cpp/sci_xend.cpp' object='sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ +# $(AM_V_CXX_no)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo `test -f 'sci_gateway/cpp/sci_xend.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_xend.cpp + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + -rm -rf sci_gateway/c/.libs sci_gateway/c/_libs + -rm -rf sci_gateway/cpp/.libs sci_gateway/cpp/_libs + -rm -rf src/cpp/.libs src/cpp/_libs + -rm -rf src/jni/.libs src/jni/_libs + -rm -rf src/nographic_export/.libs src/nographic_export/_libs +install-libscigraphic_export_la_etcDATA: $(libscigraphic_export_la_etc_DATA) + @$(NORMAL_INSTALL) + @list='$(libscigraphic_export_la_etc_DATA)'; test -n "$(libscigraphic_export_la_etcdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libscigraphic_export_la_etcdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libscigraphic_export_la_etcdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscigraphic_export_la_etcdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libscigraphic_export_la_etcdir)" || exit $$?; \ + done + +uninstall-libscigraphic_export_la_etcDATA: + @$(NORMAL_UNINSTALL) + @list='$(libscigraphic_export_la_etc_DATA)'; test -n "$(libscigraphic_export_la_etcdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libscigraphic_export_la_etcdir)'; $(am__uninstall_files_from_dir) +install-libscigraphic_export_la_rootDATA: $(libscigraphic_export_la_root_DATA) + @$(NORMAL_INSTALL) + @list='$(libscigraphic_export_la_root_DATA)'; test -n "$(libscigraphic_export_la_rootdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libscigraphic_export_la_rootdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libscigraphic_export_la_rootdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscigraphic_export_la_rootdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libscigraphic_export_la_rootdir)" || exit $$?; \ + done + +uninstall-libscigraphic_export_la_rootDATA: + @$(NORMAL_UNINSTALL) + @list='$(libscigraphic_export_la_root_DATA)'; test -n "$(libscigraphic_export_la_rootdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libscigraphic_export_la_rootdir)'; $(am__uninstall_files_from_dir) +install-libscigraphic_export_la_sci_gatewayDATA: $(libscigraphic_export_la_sci_gateway_DATA) + @$(NORMAL_INSTALL) + @list='$(libscigraphic_export_la_sci_gateway_DATA)'; test -n "$(libscigraphic_export_la_sci_gatewaydir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libscigraphic_export_la_sci_gatewaydir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libscigraphic_export_la_sci_gatewaydir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscigraphic_export_la_sci_gatewaydir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libscigraphic_export_la_sci_gatewaydir)" || exit $$?; \ + done + +uninstall-libscigraphic_export_la_sci_gatewayDATA: + @$(NORMAL_UNINSTALL) + @list='$(libscigraphic_export_la_sci_gateway_DATA)'; test -n "$(libscigraphic_export_la_sci_gatewaydir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libscigraphic_export_la_sci_gatewaydir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) check-local +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) all-local +installdirs: + for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscigraphic_export_la_etcdir)" "$(DESTDIR)$(libscigraphic_export_la_rootdir)" "$(DESTDIR)$(libscigraphic_export_la_sci_gatewaydir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f sci_gateway/c/$(DEPDIR)/$(am__dirstamp) + -rm -f sci_gateway/c/$(am__dirstamp) + -rm -f sci_gateway/cpp/$(DEPDIR)/$(am__dirstamp) + -rm -f sci_gateway/cpp/$(am__dirstamp) + -rm -f src/cpp/$(DEPDIR)/$(am__dirstamp) + -rm -f src/cpp/$(am__dirstamp) + -rm -f src/jni/$(DEPDIR)/$(am__dirstamp) + -rm -f src/jni/$(am__dirstamp) + -rm -f src/nographic_export/$(DEPDIR)/$(am__dirstamp) + -rm -f src/nographic_export/$(am__dirstamp) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-am + +clean-am: clean-generic clean-libtool clean-local \ + clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES mostlyclean-am + +distclean: distclean-am + -rm -rf sci_gateway/c/$(DEPDIR) sci_gateway/cpp/$(DEPDIR) src/cpp/$(DEPDIR) src/jni/$(DEPDIR) src/nographic_export/$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-local distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-data-local \ + install-libscigraphic_export_la_etcDATA \ + install-libscigraphic_export_la_rootDATA \ + install-libscigraphic_export_la_sci_gatewayDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-pkglibLTLIBRARIES + +install-html: install-html-am + +install-html-am: install-html-local + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf sci_gateway/c/$(DEPDIR) sci_gateway/cpp/$(DEPDIR) src/cpp/$(DEPDIR) src/jni/$(DEPDIR) src/nographic_export/$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-libscigraphic_export_la_etcDATA \ + uninstall-libscigraphic_export_la_rootDATA \ + uninstall-libscigraphic_export_la_sci_gatewayDATA \ + uninstall-pkglibLTLIBRARIES + +.MAKE: all check check-am install install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am \ + check-local clean clean-generic clean-libtool clean-local \ + clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES cscopelist-am \ + ctags ctags-am distclean distclean-compile distclean-generic \ + distclean-libtool distclean-local distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-data-local install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-html-local install-info \ + install-info-am install-libscigraphic_export_la_etcDATA \ + install-libscigraphic_export_la_rootDATA \ + install-libscigraphic_export_la_sci_gatewayDATA install-man \ + install-pdf install-pdf-am install-pkglibLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am \ + uninstall-libscigraphic_export_la_etcDATA \ + uninstall-libscigraphic_export_la_rootDATA \ + uninstall-libscigraphic_export_la_sci_gatewayDATA \ + uninstall-pkglibLTLIBRARIES + + +# This target enables tests for Scilab +check-local: $(top_builddir)/scilab-bin test + if test -d $(mydatadir)/tests; then \ + @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \ + fi +check-code: + if test -f build.xml; then \ + $(ANT) checkstyle; \ + fi + if test -x "$(SPLINT)"; then \ + $(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \ + fi +java: +# Some configurations needs to export JAVA_HOME in the current env + @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \ + if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ + if test -f build.xml -a $$USEANT -eq 1; then \ + $(ANT); \ + fi + +clean-java: +# Some configurations needs to export JAVA_HOME in the current env + @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \ + if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ + if test -f build.xml -a $$USEANT -eq 1; then \ + $(ANT) clean; \ + fi; + +# If the user request for the SWIG generation of the wrappers Java => C/C++ +# We call the target swig-build on the variable SWIG_WRAPPERS + +#swig: $(SWIG_WRAPPERS) +# @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \ +# SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \ +# if test -n "$(SWIG_WRAPPERS)"; then \ +# for file in $(SWIG_WRAPPERS) ; do \ +# echo "Swig process of $$file (Java) ..."; \ +# $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \ +# done; \ +# fi + +#swig-scilab: $(SWIG_SCILAB_WRAPPERS) +# @SWIG_OUTDIR=src/swig/; \ +# if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \ +# for file in $(SWIG_SCILAB_WRAPPERS) ; do \ +# echo "Swig process of $$file (Scilab) ..."; \ +# $(SWIG_BIN) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \ +# done; \ +# fi + +# If the user request for the SWIG generation of the wrappers Java => C/C++ +# We call the target swig-build on the variable SWIG_WRAPPERS + +#giws: $(GIWS_WRAPPERS) +# @GIWS_OUTPUTDIR=src/jni/; \ +# MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \ +# if test -n "$(GIWS_WRAPPERS)"; then \ +# for file in $(GIWS_WRAPPERS) ; do \ +# echo "GIWS process of $$file ..."; \ +# if test -z "$(GIWS_OPTIONS)"; then \ +# $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \ +# else \ +# echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \ +# $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \ +# fi \ +# done; \ +# fi + +#giws-exception: +# @GIWS_OUTPUTDIR=src/jni/;\ +# echo "GIWS: Generation of exception class ..."; \ +# $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR + +macros: + -@( if test ! -x $(top_builddir)/scilab-bin; then \ + echo "Error : Cannot build $< : Scilab has not been built"; \ + else \ + $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\ + fi) + +# Removes the macros +clean-macros: +# Removes macros (*.bin generated from .sci) + @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \ + echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \ + rm -f $(builddir)/$$dir/$(MACROBINMASK); \ + done + +test: +# More tests could be added here + @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ + if test -f build.xml -a $$USEANT -eq 1; then \ + $(ANT) test; \ + fi + +all-local: $(TARGETS_ALL) + +.sci.bin: + -@( if test ! -x $(top_builddir)/scilab-bin; then \ + echo "Error : Cannot build $< : Scilab has not been build"; \ + else \ + echo "Creating $@"; \ + $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \ + fi ) + +install-html-local: + +install-data-local-local: +# Mainly for javasci + @if test -d $(srcdir)/javadoc; then \ + cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \ + fi +# If the user wants the help sources to be installed + @echo "-------- Install of XML sources of help files --------"; \ + for lang in $(ALL_LINGUAS); do \ + if test -d $(srcdir)/help/$$lang; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \ + if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \ + for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \ + done ; \ + fi; \ + fi; \ + done; \ + @echo "-------- Install of MathML sources --------"; \ + if test -d $(srcdir)/help/mml/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \ + if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \ + for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \ + done ; \ + fi; \ + fi +install-data-local: +# Install the tests + @echo "-------- Install tests (if any) --------"; \ + for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \ + if test -d $(srcdir)/$$dir/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \ + for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \ + if test -d "$(srcdir)/$$dir/$$file"; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \ + $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \ + else \ + echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \ + $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \ + fi \ + done; \ + fi; \ + done +# Install the help chapter + @echo "-------- Install the help chapter (if any) --------"; \ + for lang in $(HELP_CHAPTERLANG); do \ + HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \ + if test -f $$HELPFILE; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \ + echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \ + $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \ + fi; \ + done +# Install the demos & examples + @echo "-------- Install demos & examples (if any) --------"; \ + for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \ + if test -d $(srcdir)/$$dir/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \ + for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \ + if test -d "$(srcdir)/$$dir/$$file"; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \ + $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \ + else \ + echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \ + $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \ + fi \ + done; \ + fi; \ + done +# Install the macros + @echo "-------- Install macros (if any) --------"; \ + for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \ + $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \ + if test -d $(srcdir)/$$dir/; then \ + FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\ + if test -n "$(MACROSSPECIALEXT)"; then \ + specialExtDir=""; \ + for specialExt in $(MACROSSPECIALEXT); do \ + specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \ + done; \ + FILELIST="$$FILELIST $$specialExtDir"; \ + fi; \ + for file in `ls -1 $$FILELIST 2>/dev/null`; do \ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \ + done; \ + fi; \ + done +# Install java files (.jar) + @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \ + echo "-------- Install jar files --------"; \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \ + for file in $(srcdir)/$(JARDIR)$(JARMASK); do\ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \ + done ; \ + fi + +########### CLEAN ################### +# Clean help (generated automatically by Scilab) +# It used to clean the macro (clean-macros) but this was causing +# make clean && make to fail Scilab startup +clean-local: clean-java +#clean-local: + +distclean-local: + rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_* + +.PHONY: macros java swig giws + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/modules/graphic_export/Makefile.am b/modules/graphic_export/Makefile.am new file mode 100755 index 000000000..f18ab3e91 --- /dev/null +++ b/modules/graphic_export/Makefile.am @@ -0,0 +1,113 @@ +# +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) INRIA - 2008 - Sylvestre Ledru +# Copyright (C) DIGITEO - 2009 - Pierre MARECHAL +# +# This file must be used under the terms of the CeCILL. +# This source file is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at +# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +# + + +#### Name of the module and the path ###### +modulename=graphic_export + +#### graphic_export : Conf files #### +libscigraphic_export_la_rootdir = $(mydatadir) +libscigraphic_export_la_root_DATA = license.txt + +#### graphic_export : init scripts #### +libscigraphic_export_la_etcdir = $(mydatadir)/etc +libscigraphic_export_la_etc_DATA = etc/graphic_export.quit etc/graphic_export.start + + +# List of the c files +GRAPHIC_EXPORT_CXX_SOURCES = src/cpp/exportToFile.cpp \ +src/jni/FileExporter.cpp \ +src/jni/Driver.cpp + +# List of the gateway c files +GATEWAY_C_SOURCES = \ +sci_gateway/c/gw_graphic_export.c \ +sci_gateway/c/xs2file.c \ +sci_gateway/c/sci_xs2bmp.c \ +sci_gateway/c/sci_xs2gif.c \ +sci_gateway/c/sci_xs2ppm.c \ +sci_gateway/c/sci_xs2ps.c \ +sci_gateway/c/sci_xs2svg.c \ +sci_gateway/c/sci_xs2jpg.c \ +sci_gateway/c/sci_xs2eps.c \ +sci_gateway/c/sci_xs2pdf.c \ +sci_gateway/c/sci_xs2png.c \ +sci_gateway/c/sci_xs2emf.c + +GATEWAY_CXX_SOURCES = sci_gateway/cpp/sci_driver.cpp \ +sci_gateway/cpp/sci_xinit.cpp \ +sci_gateway/cpp/sci_xend.cpp + +# Includes need for the compilation +libscigraphic_export_la_CPPFLAGS = $(JAVA_JNI_INCLUDE) \ + -I$(srcdir)/includes/ \ + -I$(srcdir)/src/cpp/ \ + -I$(srcdir)/src/jni/ \ + -I$(srcdir)/src/c/ \ + -I$(top_srcdir)/modules/api_scilab/includes/ \ + -I$(top_srcdir)/modules/localization/includes/ \ + -I$(top_srcdir)/modules/jvm/includes/ \ + -I$(top_srcdir)/modules/graphics/includes/ \ + -I$(top_srcdir)/modules/renderer/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/fileio/includes/ \ + -I$(top_srcdir)/modules/commons/src/jni \ + -I$(top_srcdir)/modules/graphic_objects/includes/ \ + -I$(top_srcdir)/modules/gui/src/jni/ \ + $(AM_CPPFLAGS) + +# All the sources needed by libscigraphic_export.la +libscigraphic_export_algo_la_SOURCES = $(GRAPHIC_EXPORT_CXX_SOURCES) +libscigraphic_export_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CXX_SOURCES) +libscigraphic_export_algo_la_CPPFLAGS = $(libscigraphic_export_la_CPPFLAGS) + +# For the code check (splint) +CHECK_SRC= $(GATEWAY_C_SOURCES) $(GATEWAY_CXX_SOURCES) +INCLUDE_FLAGS = $(libscigraphic_export_la_CPPFLAGS) + +## Libraries necessary +## Change to include other Scilab modules/lib +libscigraphic_export_la_LIBADD = libscigraphic_export-algo.la + +GIWS_WRAPPERS= src/jni/FileExporter.giws.xml \ +src/jni/Driver.giws.xml + +BUILT_SOURCES= +if GIWS +BUILT_SOURCES+=giws +endif + +# All the sources needed by libscigraphic_export.la +libscigraphic_export_disable_la_SOURCES = src/nographic_export/nographic_export.c + +libscigraphic_export_disable_la_CPPFLAGS = -I$(srcdir)/includes/ \ + -I$(top_srcdir)/modules/api_scilab/includes/ \ + -I$(top_srcdir)/modules/localization/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + $(AM_CPPFLAGS) + +# Name of the future library (.la will be replace by .so, .a, etc regarding +# the system) +pkglib_LTLIBRARIES = libscigraphic_export-disable.la + +if GUI +USEANT=1 +pkglib_LTLIBRARIES += libscigraphic_export.la +noinst_LTLIBRARIES = libscigraphic_export-algo.la +endif + + +#### graphic_export : gateway declaration #### +libscigraphic_export_la_sci_gatewaydir = $(mydatadir)/sci_gateway +libscigraphic_export_la_sci_gateway_DATA = sci_gateway/graphic_export_gateway.xml + +include $(top_srcdir)/Makefile.incl.am diff --git a/modules/graphic_export/Makefile.in b/modules/graphic_export/Makefile.in new file mode 100755 index 000000000..0921b804b --- /dev/null +++ b/modules/graphic_export/Makefile.in @@ -0,0 +1,1660 @@ +# Makefile.in generated by automake 1.14.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2013 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) INRIA - 2008 - Sylvestre Ledru +# Copyright (C) DIGITEO - 2009 - Pierre MARECHAL +# +# This file must be used under the terms of the CeCILL. +# This source file is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at +# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +# + +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr> +# Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr> +# +# This file must be used under the terms of the CeCILL. +# This source file is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at +# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +# + +########## +### Makefile included stuff +### Target, variable, suffixes which are supposed to be useful in every makefile.am +########## + + +VPATH = @srcdir@ +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +@GIWS_TRUE@am__append_1 = giws +@GUI_TRUE@am__append_2 = libscigraphic_export.la +DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \ + $(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs \ + $(top_srcdir)/config/depcomp +@NEED_JAVA_TRUE@am__append_3 = java +subdir = modules/graphic_export +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \ + $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \ + $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \ + $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \ + $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \ + $(top_srcdir)/m4/intel_compiler.m4 \ + $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \ + $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \ + $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \ + $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \ + $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \ + $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \ + $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \ + $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(pkglibdir)" \ + "$(DESTDIR)$(libscigraphic_export_la_etcdir)" \ + "$(DESTDIR)$(libscigraphic_export_la_rootdir)" \ + "$(DESTDIR)$(libscigraphic_export_la_sci_gatewaydir)" +LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkglib_LTLIBRARIES) +libscigraphic_export_algo_la_LIBADD = +am__dirstamp = $(am__leading_dot)dirstamp +am__objects_1 = src/cpp/libscigraphic_export_algo_la-exportToFile.lo \ + src/jni/libscigraphic_export_algo_la-FileExporter.lo \ + src/jni/libscigraphic_export_algo_la-Driver.lo +am_libscigraphic_export_algo_la_OBJECTS = $(am__objects_1) +libscigraphic_export_algo_la_OBJECTS = \ + $(am_libscigraphic_export_algo_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +@GUI_TRUE@am_libscigraphic_export_algo_la_rpath = +libscigraphic_export_disable_la_LIBADD = +am_libscigraphic_export_disable_la_OBJECTS = src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo +libscigraphic_export_disable_la_OBJECTS = \ + $(am_libscigraphic_export_disable_la_OBJECTS) +libscigraphic_export_la_DEPENDENCIES = libscigraphic_export-algo.la +am__objects_2 = \ + sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo \ + sci_gateway/c/libscigraphic_export_la-xs2file.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo \ + sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo +am__objects_3 = sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo \ + sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo \ + sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo +am_libscigraphic_export_la_OBJECTS = $(am__objects_2) $(am__objects_3) +libscigraphic_export_la_OBJECTS = \ + $(am_libscigraphic_export_la_OBJECTS) +@GUI_TRUE@am_libscigraphic_export_la_rpath = -rpath $(pkglibdir) +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes +depcomp = $(SHELL) $(top_srcdir)/config/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) +AM_V_CXX = $(am__v_CXX_@AM_V@) +am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) +am__v_CXX_0 = @echo " CXX " $@; +am__v_CXX_1 = +CXXLD = $(CXX) +CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) +am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) +am__v_CXXLD_0 = @echo " CXXLD " $@; +am__v_CXXLD_1 = +SOURCES = $(libscigraphic_export_algo_la_SOURCES) \ + $(libscigraphic_export_disable_la_SOURCES) \ + $(libscigraphic_export_la_SOURCES) +DIST_SOURCES = $(libscigraphic_export_algo_la_SOURCES) \ + $(libscigraphic_export_disable_la_SOURCES) \ + $(libscigraphic_export_la_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(libscigraphic_export_la_etc_DATA) \ + $(libscigraphic_export_la_root_DATA) \ + $(libscigraphic_export_la_sci_gateway_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +ANT = @ANT@ +ANTLR = @ANTLR@ +AR = @AR@ +ARPACK_LIBS = @ARPACK_LIBS@ +ASM3 = @ASM3@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AVALON_FRAMEWORK = @AVALON_FRAMEWORK@ +AWK = @AWK@ +BATIK = @BATIK@ +BLAS_LIBS = @BLAS_LIBS@ +CC = @CC@ +CCACHE = @CCACHE@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CHECKSTYLE = @CHECKSTYLE@ +COBERTURA = @COBERTURA@ +COMMONS_BEANUTILS = @COMMONS_BEANUTILS@ +COMMONS_IO = @COMMONS_IO@ +COMMONS_LOGGING = @COMMONS_LOGGING@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CURL_CFLAGS = @CURL_CFLAGS@ +CURL_CONFIG = @CURL_CONFIG@ +CURL_LIBS = @CURL_LIBS@ +CURL_VERSION = @CURL_VERSION@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DOCBOOK_ROOT = @DOCBOOK_ROOT@ +DOXYGEN_BIN = @DOXYGEN_BIN@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +ECJ = @ECJ@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +FFTW3_LIB = @FFTW3_LIB@ +FFTW_ENABLE = @FFTW_ENABLE@ +FGREP = @FGREP@ +FLEXDOCK = @FLEXDOCK@ +FLIBS = @FLIBS@ +FOP = @FOP@ +FREEHEP_GRAPHICS2D = @FREEHEP_GRAPHICS2D@ +FREEHEP_GRAPHICSIO = @FREEHEP_GRAPHICSIO@ +FREEHEP_GRAPHICSIO_EMF = @FREEHEP_GRAPHICSIO_EMF@ +FREEHEP_IO = @FREEHEP_IO@ +FREEHEP_UTIL = @FREEHEP_UTIL@ +GENHTML = @GENHTML@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GIWS_BIN = @GIWS_BIN@ +GLUEGEN2_RT = @GLUEGEN2_RT@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GRAPHICS_ENABLE = @GRAPHICS_ENABLE@ +GREP = @GREP@ +GUI_ENABLE = @GUI_ENABLE@ +HDF5_CFLAGS = @HDF5_CFLAGS@ +HDF5_LIBS = @HDF5_LIBS@ +HELP_ENABLE = @HELP_ENABLE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JAR = @JAR@ +JAVA = @JAVA@ +JAVAC = @JAVAC@ +JAVAC_DEBUG = @JAVAC_DEBUG@ +JAVADOC = @JAVADOC@ +JAVAH = @JAVAH@ +JAVASCI_ENABLE = @JAVASCI_ENABLE@ +JAVA_ENABLE = @JAVA_ENABLE@ +JAVA_G = @JAVA_G@ +JAVA_HOME = @JAVA_HOME@ +JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@ +JAVA_JNI_LIBS = @JAVA_JNI_LIBS@ +JDB = @JDB@ +JEUCLID_CORE = @JEUCLID_CORE@ +JGRAPHX = @JGRAPHX@ +JHALL = @JHALL@ +JLATEXMATH = @JLATEXMATH@ +JLATEXMATH_FOP = @JLATEXMATH_FOP@ +JOGL2 = @JOGL2@ +JROSETTA_API = @JROSETTA_API@ +JROSETTA_ENGINE = @JROSETTA_ENGINE@ +JUNIT4 = @JUNIT4@ +LAPACK_LIBS = @LAPACK_LIBS@ +LCOV = @LCOV@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBM = @LIBM@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LOGGING_LEVEL = @LOGGING_LEVEL@ +LOOKS = @LOOKS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MATIO_CFLAGS = @MATIO_CFLAGS@ +MATIO_ENABLE = @MATIO_ENABLE@ +MATIO_LIBS = @MATIO_LIBS@ +MKDIR_P = @MKDIR_P@ +MPI_ENABLE = @MPI_ENABLE@ +MSGCAT = @MSGCAT@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OCAMLC = @OCAMLC@ +OCAMLDEP = @OCAMLDEP@ +OCAMLLEX = @OCAMLLEX@ +OCAMLOPT = @OCAMLOPT@ +OCAMLYACC = @OCAMLYACC@ +OPENMPI_CC = @OPENMPI_CC@ +OPENMPI_CFLAGS = @OPENMPI_CFLAGS@ +OPENMPI_CXX = @OPENMPI_CXX@ +OPENMPI_CXXFLAGS = @OPENMPI_CXXFLAGS@ +OPENMPI_LIBS = @OPENMPI_LIBS@ +OPENMP_CFLAGS = @OPENMP_CFLAGS@ +OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@ +OPENMP_ENABLE = @OPENMP_ENABLE@ +OPENMP_LIBS = @OPENMP_LIBS@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PCRE_CFLAGS = @PCRE_CFLAGS@ +PCRE_CONFIG = @PCRE_CONFIG@ +PCRE_LIBS = @PCRE_LIBS@ +PCRE_VERSION = @PCRE_VERSION@ +PKG_CONFIG = @PKG_CONFIG@ +POSUB = @POSUB@ +POW_LIB = @POW_LIB@ +PYTHON = @PYTHON@ +RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RT_LIB = @RT_LIB@ +SAXON = @SAXON@ +SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@ +SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@ +SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@ +SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@ +SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@ +SCIRENDERER = @SCIRENDERER@ +SCIRENDERER_CP = @SCIRENDERER_CP@ +SCI_CFLAGS = @SCI_CFLAGS@ +SCI_CXXFLAGS = @SCI_CXXFLAGS@ +SCI_FFLAGS = @SCI_FFLAGS@ +SCI_LDFLAGS = @SCI_LDFLAGS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ +SHELL = @SHELL@ +SKINLF = @SKINLF@ +SPLINT = @SPLINT@ +STRIP = @STRIP@ +SWIG_BIN = @SWIG_BIN@ +SWIG_JAVA = @SWIG_JAVA@ +SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@ +SWIG_SCILAB = @SWIG_SCILAB@ +TCLTK_LIBS = @TCLTK_LIBS@ +TCL_INC_PATH = @TCL_INC_PATH@ +TK_INC_PATH = @TK_INC_PATH@ +UMFPACK_CFLAGS = @UMFPACK_CFLAGS@ +UMFPACK_ENABLE = @UMFPACK_ENABLE@ +UMFPACK_LIB = @UMFPACK_LIB@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WITH_OCAML = @WITH_OCAML@ +WITH_TKSCI = @WITH_TKSCI@ +XCOS_ENABLE = @XCOS_ENABLE@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +XMKMF = @XMKMF@ +XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@ +XML_APIS_EXT = @XML_APIS_EXT@ +XML_CONFIG = @XML_CONFIG@ +XML_FLAGS = @XML_FLAGS@ +XML_LIBS = @XML_LIBS@ +XML_VERSION = @XML_VERSION@ +X_CFLAGS = @X_CFLAGS@ +X_EXTRA_LIBS = @X_EXTRA_LIBS@ +X_LIBS = @X_LIBS@ +X_PRE_LIBS = @X_PRE_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +ac_ct_F77 = @ac_ct_F77@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +cxx_present = @cxx_present@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ + +#### Name of the module and the path ###### +modulename = graphic_export + +#### graphic_export : Conf files #### +libscigraphic_export_la_rootdir = $(mydatadir) +libscigraphic_export_la_root_DATA = license.txt + +#### graphic_export : init scripts #### +libscigraphic_export_la_etcdir = $(mydatadir)/etc +libscigraphic_export_la_etc_DATA = etc/graphic_export.quit etc/graphic_export.start + +# List of the c files +GRAPHIC_EXPORT_CXX_SOURCES = src/cpp/exportToFile.cpp \ +src/jni/FileExporter.cpp \ +src/jni/Driver.cpp + + +# List of the gateway c files +GATEWAY_C_SOURCES = \ +sci_gateway/c/gw_graphic_export.c \ +sci_gateway/c/xs2file.c \ +sci_gateway/c/sci_xs2bmp.c \ +sci_gateway/c/sci_xs2gif.c \ +sci_gateway/c/sci_xs2ppm.c \ +sci_gateway/c/sci_xs2ps.c \ +sci_gateway/c/sci_xs2svg.c \ +sci_gateway/c/sci_xs2jpg.c \ +sci_gateway/c/sci_xs2eps.c \ +sci_gateway/c/sci_xs2pdf.c \ +sci_gateway/c/sci_xs2png.c \ +sci_gateway/c/sci_xs2emf.c + +GATEWAY_CXX_SOURCES = sci_gateway/cpp/sci_driver.cpp \ +sci_gateway/cpp/sci_xinit.cpp \ +sci_gateway/cpp/sci_xend.cpp + + +# Includes need for the compilation +libscigraphic_export_la_CPPFLAGS = $(JAVA_JNI_INCLUDE) \ + -I$(srcdir)/includes/ \ + -I$(srcdir)/src/cpp/ \ + -I$(srcdir)/src/jni/ \ + -I$(srcdir)/src/c/ \ + -I$(top_srcdir)/modules/api_scilab/includes/ \ + -I$(top_srcdir)/modules/localization/includes/ \ + -I$(top_srcdir)/modules/jvm/includes/ \ + -I$(top_srcdir)/modules/graphics/includes/ \ + -I$(top_srcdir)/modules/renderer/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/fileio/includes/ \ + -I$(top_srcdir)/modules/commons/src/jni \ + -I$(top_srcdir)/modules/graphic_objects/includes/ \ + -I$(top_srcdir)/modules/gui/src/jni/ \ + $(AM_CPPFLAGS) + + +# All the sources needed by libscigraphic_export.la +libscigraphic_export_algo_la_SOURCES = $(GRAPHIC_EXPORT_CXX_SOURCES) +libscigraphic_export_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CXX_SOURCES) +libscigraphic_export_algo_la_CPPFLAGS = $(libscigraphic_export_la_CPPFLAGS) + +# For the code check (splint) +CHECK_SRC = $(GATEWAY_C_SOURCES) $(GATEWAY_CXX_SOURCES) +INCLUDE_FLAGS = $(libscigraphic_export_la_CPPFLAGS) +libscigraphic_export_la_LIBADD = libscigraphic_export-algo.la +GIWS_WRAPPERS = src/jni/FileExporter.giws.xml \ +src/jni/Driver.giws.xml + +BUILT_SOURCES = $(am__append_1) + +# All the sources needed by libscigraphic_export.la +libscigraphic_export_disable_la_SOURCES = src/nographic_export/nographic_export.c +libscigraphic_export_disable_la_CPPFLAGS = -I$(srcdir)/includes/ \ + -I$(top_srcdir)/modules/api_scilab/includes/ \ + -I$(top_srcdir)/modules/localization/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + $(AM_CPPFLAGS) + + +# Name of the future library (.la will be replace by .so, .a, etc regarding +# the system) +pkglib_LTLIBRARIES = libscigraphic_export-disable.la $(am__append_2) +@GUI_TRUE@USEANT = 1 +@GUI_TRUE@noinst_LTLIBRARIES = libscigraphic_export-algo.la + +#### graphic_export : gateway declaration #### +libscigraphic_export_la_sci_gatewaydir = $(mydatadir)/sci_gateway +libscigraphic_export_la_sci_gateway_DATA = sci_gateway/graphic_export_gateway.xml + +# Where all the Scilab stuff is installed (macros, help, ...) +mydatadir = $(pkgdatadir)/modules/$(modulename) + +# Set AM_* SCI detected settings +AM_CPPFLAGS = $(SCI_CPPFLAGS) +AM_CFLAGS = $(SCI_CFLAGS) +AM_CXXFLAGS = $(SCI_CXXFLAGS) +# append includes to AM_FFLAGS to manage fortran includes +AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/ + +# Tag shared libraries with the Scilab version +AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION) + +# splint options +SPLINT_OPTIONS = -weak -booltype BOOL + +########################### JAVA ###################################### +#### We are delegating java compilation to ant... Thanks to that +#### the procedure will be the same with Microsoft Windows (C) +#### and Linux/Unix +####################################################################### +TARGETS_ALL = $(am__append_3) + +################ MACROS ###################### +# Rule to build a macro +# NOT USED AT THE MOMENT +SUFFIXES = .sci + +########### INSTALL DOCUMENTATION ################### + +# Install documentation files into the right target +# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because +# automake needs the html files to be present which is not the case when +# we are building Scilab + +# Where it should be installed +pkgdocdir = $(mydatadir) + +# What is the mask of the help source +DOCMASKXML = *.xml + +# What is the mask of the MathML sources +DOCMASKMML = *.mml + +########### INSTALL DATA ################### +# Install macros, help & demos +# Where it should be installed +pkgmacrosdir = $(mydatadir) +# Which directory we process +MACRODIRS = macros/ +# Mask of the Scilab sources macros +MACROMASK = *.sci +# Mask of the Scilab executable sources macros +MACROBUILDMASK = *.sce +# Mask of the Scilab compiled macros +MACROBINMASK = *.bin +# List of the standard directory for tests +TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java +# Where the demos should be installed +pkgdemosdir = $(mydatadir) +# List of the standard directory for demos +DEMOS_DIR = demos +# List of the standard directory for examples +EXAMPLES_DIR = examples +# Where to export JAVA archives (.jar) +JARDIR = jar/ +# JAR files mask +JARMASK = *.jar +# Chapter file +HELP_CHAPTERDIR = help/ +HELP_CHAPTERFILE = addchapter.sce +HELP_CHAPTERLANG = en_US fr_FR pt_BR +all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-am + +.SUFFIXES: +.SUFFIXES: .sci .bin .c .cpp .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/graphic_export/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign modules/graphic_export/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; +$(top_srcdir)/Makefile.incl.am: + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ + } + +uninstall-pkglibLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ + done + +clean-pkglibLTLIBRARIES: + -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) + @list='$(pkglib_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } +src/cpp/$(am__dirstamp): + @$(MKDIR_P) src/cpp + @: > src/cpp/$(am__dirstamp) +src/cpp/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/cpp/$(DEPDIR) + @: > src/cpp/$(DEPDIR)/$(am__dirstamp) +src/cpp/libscigraphic_export_algo_la-exportToFile.lo: \ + src/cpp/$(am__dirstamp) src/cpp/$(DEPDIR)/$(am__dirstamp) +src/jni/$(am__dirstamp): + @$(MKDIR_P) src/jni + @: > src/jni/$(am__dirstamp) +src/jni/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/jni/$(DEPDIR) + @: > src/jni/$(DEPDIR)/$(am__dirstamp) +src/jni/libscigraphic_export_algo_la-FileExporter.lo: \ + src/jni/$(am__dirstamp) src/jni/$(DEPDIR)/$(am__dirstamp) +src/jni/libscigraphic_export_algo_la-Driver.lo: \ + src/jni/$(am__dirstamp) src/jni/$(DEPDIR)/$(am__dirstamp) + +libscigraphic_export-algo.la: $(libscigraphic_export_algo_la_OBJECTS) $(libscigraphic_export_algo_la_DEPENDENCIES) $(EXTRA_libscigraphic_export_algo_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) $(am_libscigraphic_export_algo_la_rpath) $(libscigraphic_export_algo_la_OBJECTS) $(libscigraphic_export_algo_la_LIBADD) $(LIBS) +src/nographic_export/$(am__dirstamp): + @$(MKDIR_P) src/nographic_export + @: > src/nographic_export/$(am__dirstamp) +src/nographic_export/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/nographic_export/$(DEPDIR) + @: > src/nographic_export/$(DEPDIR)/$(am__dirstamp) +src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo: \ + src/nographic_export/$(am__dirstamp) \ + src/nographic_export/$(DEPDIR)/$(am__dirstamp) + +libscigraphic_export-disable.la: $(libscigraphic_export_disable_la_OBJECTS) $(libscigraphic_export_disable_la_DEPENDENCIES) $(EXTRA_libscigraphic_export_disable_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(pkglibdir) $(libscigraphic_export_disable_la_OBJECTS) $(libscigraphic_export_disable_la_LIBADD) $(LIBS) +sci_gateway/c/$(am__dirstamp): + @$(MKDIR_P) sci_gateway/c + @: > sci_gateway/c/$(am__dirstamp) +sci_gateway/c/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) sci_gateway/c/$(DEPDIR) + @: > sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-xs2file.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/cpp/$(am__dirstamp): + @$(MKDIR_P) sci_gateway/cpp + @: > sci_gateway/cpp/$(am__dirstamp) +sci_gateway/cpp/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) sci_gateway/cpp/$(DEPDIR) + @: > sci_gateway/cpp/$(DEPDIR)/$(am__dirstamp) +sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo: \ + sci_gateway/cpp/$(am__dirstamp) \ + sci_gateway/cpp/$(DEPDIR)/$(am__dirstamp) +sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo: \ + sci_gateway/cpp/$(am__dirstamp) \ + sci_gateway/cpp/$(DEPDIR)/$(am__dirstamp) +sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo: \ + sci_gateway/cpp/$(am__dirstamp) \ + sci_gateway/cpp/$(DEPDIR)/$(am__dirstamp) + +libscigraphic_export.la: $(libscigraphic_export_la_OBJECTS) $(libscigraphic_export_la_DEPENDENCIES) $(EXTRA_libscigraphic_export_la_DEPENDENCIES) + $(AM_V_CXXLD)$(CXXLINK) $(am_libscigraphic_export_la_rpath) $(libscigraphic_export_la_OBJECTS) $(libscigraphic_export_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + -rm -f sci_gateway/c/*.$(OBJEXT) + -rm -f sci_gateway/c/*.lo + -rm -f sci_gateway/cpp/*.$(OBJEXT) + -rm -f sci_gateway/cpp/*.lo + -rm -f src/cpp/*.$(OBJEXT) + -rm -f src/cpp/*.lo + -rm -f src/jni/*.$(OBJEXT) + -rm -f src/jni/*.lo + -rm -f src/nographic_export/*.$(OBJEXT) + -rm -f src/nographic_export/*.lo + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-gw_graphic_export.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2bmp.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2emf.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2eps.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2gif.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2jpg.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2pdf.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2png.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2ppm.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2ps.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2svg.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-xs2file.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_driver.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_xend.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_xinit.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/$(DEPDIR)/libscigraphic_export_algo_la-exportToFile.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/jni/$(DEPDIR)/libscigraphic_export_algo_la-Driver.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/jni/$(DEPDIR)/libscigraphic_export_algo_la-FileExporter.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/nographic_export/$(DEPDIR)/libscigraphic_export_disable_la-nographic_export.Plo@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo: src/nographic_export/nographic_export.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_disable_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo -MD -MP -MF src/nographic_export/$(DEPDIR)/libscigraphic_export_disable_la-nographic_export.Tpo -c -o src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo `test -f 'src/nographic_export/nographic_export.c' || echo '$(srcdir)/'`src/nographic_export/nographic_export.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/nographic_export/$(DEPDIR)/libscigraphic_export_disable_la-nographic_export.Tpo src/nographic_export/$(DEPDIR)/libscigraphic_export_disable_la-nographic_export.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/nographic_export/nographic_export.c' object='src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_disable_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo `test -f 'src/nographic_export/nographic_export.c' || echo '$(srcdir)/'`src/nographic_export/nographic_export.c + +sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo: sci_gateway/c/gw_graphic_export.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-gw_graphic_export.Tpo -c -o sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo `test -f 'sci_gateway/c/gw_graphic_export.c' || echo '$(srcdir)/'`sci_gateway/c/gw_graphic_export.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-gw_graphic_export.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-gw_graphic_export.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/gw_graphic_export.c' object='sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo `test -f 'sci_gateway/c/gw_graphic_export.c' || echo '$(srcdir)/'`sci_gateway/c/gw_graphic_export.c + +sci_gateway/c/libscigraphic_export_la-xs2file.lo: sci_gateway/c/xs2file.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-xs2file.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-xs2file.Tpo -c -o sci_gateway/c/libscigraphic_export_la-xs2file.lo `test -f 'sci_gateway/c/xs2file.c' || echo '$(srcdir)/'`sci_gateway/c/xs2file.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-xs2file.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-xs2file.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/xs2file.c' object='sci_gateway/c/libscigraphic_export_la-xs2file.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-xs2file.lo `test -f 'sci_gateway/c/xs2file.c' || echo '$(srcdir)/'`sci_gateway/c/xs2file.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo: sci_gateway/c/sci_xs2bmp.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2bmp.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo `test -f 'sci_gateway/c/sci_xs2bmp.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2bmp.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2bmp.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2bmp.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_xs2bmp.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo `test -f 'sci_gateway/c/sci_xs2bmp.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2bmp.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo: sci_gateway/c/sci_xs2gif.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2gif.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo `test -f 'sci_gateway/c/sci_xs2gif.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2gif.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2gif.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2gif.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_xs2gif.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo `test -f 'sci_gateway/c/sci_xs2gif.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2gif.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo: sci_gateway/c/sci_xs2ppm.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2ppm.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo `test -f 'sci_gateway/c/sci_xs2ppm.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2ppm.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2ppm.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2ppm.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_xs2ppm.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo `test -f 'sci_gateway/c/sci_xs2ppm.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2ppm.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo: sci_gateway/c/sci_xs2ps.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2ps.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo `test -f 'sci_gateway/c/sci_xs2ps.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2ps.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2ps.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2ps.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_xs2ps.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo `test -f 'sci_gateway/c/sci_xs2ps.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2ps.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo: sci_gateway/c/sci_xs2svg.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2svg.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo `test -f 'sci_gateway/c/sci_xs2svg.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2svg.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2svg.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2svg.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_xs2svg.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo `test -f 'sci_gateway/c/sci_xs2svg.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2svg.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo: sci_gateway/c/sci_xs2jpg.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2jpg.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo `test -f 'sci_gateway/c/sci_xs2jpg.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2jpg.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2jpg.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2jpg.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_xs2jpg.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo `test -f 'sci_gateway/c/sci_xs2jpg.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2jpg.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo: sci_gateway/c/sci_xs2eps.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2eps.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo `test -f 'sci_gateway/c/sci_xs2eps.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2eps.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2eps.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2eps.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_xs2eps.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo `test -f 'sci_gateway/c/sci_xs2eps.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2eps.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo: sci_gateway/c/sci_xs2pdf.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2pdf.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo `test -f 'sci_gateway/c/sci_xs2pdf.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2pdf.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2pdf.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2pdf.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_xs2pdf.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo `test -f 'sci_gateway/c/sci_xs2pdf.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2pdf.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo: sci_gateway/c/sci_xs2png.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2png.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo `test -f 'sci_gateway/c/sci_xs2png.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2png.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2png.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2png.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_xs2png.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo `test -f 'sci_gateway/c/sci_xs2png.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2png.c + +sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo: sci_gateway/c/sci_xs2emf.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2emf.Tpo -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo `test -f 'sci_gateway/c/sci_xs2emf.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2emf.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2emf.Tpo sci_gateway/c/$(DEPDIR)/libscigraphic_export_la-sci_xs2emf.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_xs2emf.c' object='sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo `test -f 'sci_gateway/c/sci_xs2emf.c' || echo '$(srcdir)/'`sci_gateway/c/sci_xs2emf.c + +.cpp.o: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< + +.cpp.obj: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.cpp.lo: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< + +src/cpp/libscigraphic_export_algo_la-exportToFile.lo: src/cpp/exportToFile.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/libscigraphic_export_algo_la-exportToFile.lo -MD -MP -MF src/cpp/$(DEPDIR)/libscigraphic_export_algo_la-exportToFile.Tpo -c -o src/cpp/libscigraphic_export_algo_la-exportToFile.lo `test -f 'src/cpp/exportToFile.cpp' || echo '$(srcdir)/'`src/cpp/exportToFile.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/cpp/$(DEPDIR)/libscigraphic_export_algo_la-exportToFile.Tpo src/cpp/$(DEPDIR)/libscigraphic_export_algo_la-exportToFile.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/cpp/exportToFile.cpp' object='src/cpp/libscigraphic_export_algo_la-exportToFile.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/libscigraphic_export_algo_la-exportToFile.lo `test -f 'src/cpp/exportToFile.cpp' || echo '$(srcdir)/'`src/cpp/exportToFile.cpp + +src/jni/libscigraphic_export_algo_la-FileExporter.lo: src/jni/FileExporter.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/jni/libscigraphic_export_algo_la-FileExporter.lo -MD -MP -MF src/jni/$(DEPDIR)/libscigraphic_export_algo_la-FileExporter.Tpo -c -o src/jni/libscigraphic_export_algo_la-FileExporter.lo `test -f 'src/jni/FileExporter.cpp' || echo '$(srcdir)/'`src/jni/FileExporter.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/jni/$(DEPDIR)/libscigraphic_export_algo_la-FileExporter.Tpo src/jni/$(DEPDIR)/libscigraphic_export_algo_la-FileExporter.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/jni/FileExporter.cpp' object='src/jni/libscigraphic_export_algo_la-FileExporter.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/jni/libscigraphic_export_algo_la-FileExporter.lo `test -f 'src/jni/FileExporter.cpp' || echo '$(srcdir)/'`src/jni/FileExporter.cpp + +src/jni/libscigraphic_export_algo_la-Driver.lo: src/jni/Driver.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/jni/libscigraphic_export_algo_la-Driver.lo -MD -MP -MF src/jni/$(DEPDIR)/libscigraphic_export_algo_la-Driver.Tpo -c -o src/jni/libscigraphic_export_algo_la-Driver.lo `test -f 'src/jni/Driver.cpp' || echo '$(srcdir)/'`src/jni/Driver.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/jni/$(DEPDIR)/libscigraphic_export_algo_la-Driver.Tpo src/jni/$(DEPDIR)/libscigraphic_export_algo_la-Driver.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/jni/Driver.cpp' object='src/jni/libscigraphic_export_algo_la-Driver.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/jni/libscigraphic_export_algo_la-Driver.lo `test -f 'src/jni/Driver.cpp' || echo '$(srcdir)/'`src/jni/Driver.cpp + +sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo: sci_gateway/cpp/sci_driver.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo -MD -MP -MF sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_driver.Tpo -c -o sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo `test -f 'sci_gateway/cpp/sci_driver.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_driver.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_driver.Tpo sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_driver.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='sci_gateway/cpp/sci_driver.cpp' object='sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo `test -f 'sci_gateway/cpp/sci_driver.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_driver.cpp + +sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo: sci_gateway/cpp/sci_xinit.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo -MD -MP -MF sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_xinit.Tpo -c -o sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo `test -f 'sci_gateway/cpp/sci_xinit.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_xinit.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_xinit.Tpo sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_xinit.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='sci_gateway/cpp/sci_xinit.cpp' object='sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo `test -f 'sci_gateway/cpp/sci_xinit.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_xinit.cpp + +sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo: sci_gateway/cpp/sci_xend.cpp +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo -MD -MP -MF sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_xend.Tpo -c -o sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo `test -f 'sci_gateway/cpp/sci_xend.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_xend.cpp +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_xend.Tpo sci_gateway/cpp/$(DEPDIR)/libscigraphic_export_la-sci_xend.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='sci_gateway/cpp/sci_xend.cpp' object='sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscigraphic_export_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo `test -f 'sci_gateway/cpp/sci_xend.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_xend.cpp + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + -rm -rf sci_gateway/c/.libs sci_gateway/c/_libs + -rm -rf sci_gateway/cpp/.libs sci_gateway/cpp/_libs + -rm -rf src/cpp/.libs src/cpp/_libs + -rm -rf src/jni/.libs src/jni/_libs + -rm -rf src/nographic_export/.libs src/nographic_export/_libs +install-libscigraphic_export_la_etcDATA: $(libscigraphic_export_la_etc_DATA) + @$(NORMAL_INSTALL) + @list='$(libscigraphic_export_la_etc_DATA)'; test -n "$(libscigraphic_export_la_etcdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libscigraphic_export_la_etcdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libscigraphic_export_la_etcdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscigraphic_export_la_etcdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libscigraphic_export_la_etcdir)" || exit $$?; \ + done + +uninstall-libscigraphic_export_la_etcDATA: + @$(NORMAL_UNINSTALL) + @list='$(libscigraphic_export_la_etc_DATA)'; test -n "$(libscigraphic_export_la_etcdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libscigraphic_export_la_etcdir)'; $(am__uninstall_files_from_dir) +install-libscigraphic_export_la_rootDATA: $(libscigraphic_export_la_root_DATA) + @$(NORMAL_INSTALL) + @list='$(libscigraphic_export_la_root_DATA)'; test -n "$(libscigraphic_export_la_rootdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libscigraphic_export_la_rootdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libscigraphic_export_la_rootdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscigraphic_export_la_rootdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libscigraphic_export_la_rootdir)" || exit $$?; \ + done + +uninstall-libscigraphic_export_la_rootDATA: + @$(NORMAL_UNINSTALL) + @list='$(libscigraphic_export_la_root_DATA)'; test -n "$(libscigraphic_export_la_rootdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libscigraphic_export_la_rootdir)'; $(am__uninstall_files_from_dir) +install-libscigraphic_export_la_sci_gatewayDATA: $(libscigraphic_export_la_sci_gateway_DATA) + @$(NORMAL_INSTALL) + @list='$(libscigraphic_export_la_sci_gateway_DATA)'; test -n "$(libscigraphic_export_la_sci_gatewaydir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libscigraphic_export_la_sci_gatewaydir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libscigraphic_export_la_sci_gatewaydir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscigraphic_export_la_sci_gatewaydir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libscigraphic_export_la_sci_gatewaydir)" || exit $$?; \ + done + +uninstall-libscigraphic_export_la_sci_gatewayDATA: + @$(NORMAL_UNINSTALL) + @list='$(libscigraphic_export_la_sci_gateway_DATA)'; test -n "$(libscigraphic_export_la_sci_gatewaydir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libscigraphic_export_la_sci_gatewaydir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) check-local +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) all-local +installdirs: + for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscigraphic_export_la_etcdir)" "$(DESTDIR)$(libscigraphic_export_la_rootdir)" "$(DESTDIR)$(libscigraphic_export_la_sci_gatewaydir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f sci_gateway/c/$(DEPDIR)/$(am__dirstamp) + -rm -f sci_gateway/c/$(am__dirstamp) + -rm -f sci_gateway/cpp/$(DEPDIR)/$(am__dirstamp) + -rm -f sci_gateway/cpp/$(am__dirstamp) + -rm -f src/cpp/$(DEPDIR)/$(am__dirstamp) + -rm -f src/cpp/$(am__dirstamp) + -rm -f src/jni/$(DEPDIR)/$(am__dirstamp) + -rm -f src/jni/$(am__dirstamp) + -rm -f src/nographic_export/$(DEPDIR)/$(am__dirstamp) + -rm -f src/nographic_export/$(am__dirstamp) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-am + +clean-am: clean-generic clean-libtool clean-local \ + clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES mostlyclean-am + +distclean: distclean-am + -rm -rf sci_gateway/c/$(DEPDIR) sci_gateway/cpp/$(DEPDIR) src/cpp/$(DEPDIR) src/jni/$(DEPDIR) src/nographic_export/$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-local distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-data-local \ + install-libscigraphic_export_la_etcDATA \ + install-libscigraphic_export_la_rootDATA \ + install-libscigraphic_export_la_sci_gatewayDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-pkglibLTLIBRARIES + +install-html: install-html-am + +install-html-am: install-html-local + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf sci_gateway/c/$(DEPDIR) sci_gateway/cpp/$(DEPDIR) src/cpp/$(DEPDIR) src/jni/$(DEPDIR) src/nographic_export/$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-libscigraphic_export_la_etcDATA \ + uninstall-libscigraphic_export_la_rootDATA \ + uninstall-libscigraphic_export_la_sci_gatewayDATA \ + uninstall-pkglibLTLIBRARIES + +.MAKE: all check check-am install install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am \ + check-local clean clean-generic clean-libtool clean-local \ + clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES cscopelist-am \ + ctags ctags-am distclean distclean-compile distclean-generic \ + distclean-libtool distclean-local distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-data-local install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-html-local install-info \ + install-info-am install-libscigraphic_export_la_etcDATA \ + install-libscigraphic_export_la_rootDATA \ + install-libscigraphic_export_la_sci_gatewayDATA install-man \ + install-pdf install-pdf-am install-pkglibLTLIBRARIES \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am \ + uninstall-libscigraphic_export_la_etcDATA \ + uninstall-libscigraphic_export_la_rootDATA \ + uninstall-libscigraphic_export_la_sci_gatewayDATA \ + uninstall-pkglibLTLIBRARIES + + +# This target enables tests for Scilab +check-local: $(top_builddir)/scilab-bin test + if test -d $(mydatadir)/tests; then \ + @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \ + fi +check-code: + if test -f build.xml; then \ + $(ANT) checkstyle; \ + fi + if test -x "$(SPLINT)"; then \ + $(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \ + fi +@NEED_JAVA_TRUE@java: +# Some configurations needs to export JAVA_HOME in the current env +@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \ +@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ +@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \ +@NEED_JAVA_TRUE@ $(ANT); \ +@NEED_JAVA_TRUE@ fi + +@NEED_JAVA_TRUE@clean-java: +# Some configurations needs to export JAVA_HOME in the current env +@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \ +@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ +@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \ +@NEED_JAVA_TRUE@ $(ANT) clean; \ +@NEED_JAVA_TRUE@ fi; + +# If the user request for the SWIG generation of the wrappers Java => C/C++ +# We call the target swig-build on the variable SWIG_WRAPPERS + +@SWIG_TRUE@swig: $(SWIG_WRAPPERS) +@SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \ +@SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \ +@SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \ +@SWIG_TRUE@ for file in $(SWIG_WRAPPERS) ; do \ +@SWIG_TRUE@ echo "Swig process of $$file (Java) ..."; \ +@SWIG_TRUE@ $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \ +@SWIG_TRUE@ done; \ +@SWIG_TRUE@ fi + +@SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS) +@SWIG_TRUE@ @SWIG_OUTDIR=src/swig/; \ +@SWIG_TRUE@ if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \ +@SWIG_TRUE@ for file in $(SWIG_SCILAB_WRAPPERS) ; do \ +@SWIG_TRUE@ echo "Swig process of $$file (Scilab) ..."; \ +@SWIG_TRUE@ $(SWIG_BIN) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \ +@SWIG_TRUE@ done; \ +@SWIG_TRUE@ fi + +# If the user request for the SWIG generation of the wrappers Java => C/C++ +# We call the target swig-build on the variable SWIG_WRAPPERS + +@GIWS_TRUE@giws: $(GIWS_WRAPPERS) +@GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/; \ +@GIWS_TRUE@ MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \ +@GIWS_TRUE@ if test -n "$(GIWS_WRAPPERS)"; then \ +@GIWS_TRUE@ for file in $(GIWS_WRAPPERS) ; do \ +@GIWS_TRUE@ echo "GIWS process of $$file ..."; \ +@GIWS_TRUE@ if test -z "$(GIWS_OPTIONS)"; then \ +@GIWS_TRUE@ $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \ +@GIWS_TRUE@ else \ +@GIWS_TRUE@ echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \ +@GIWS_TRUE@ $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \ +@GIWS_TRUE@ fi \ +@GIWS_TRUE@ done; \ +@GIWS_TRUE@ fi + +@GIWS_TRUE@giws-exception: +@GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\ +@GIWS_TRUE@ echo "GIWS: Generation of exception class ..."; \ +@GIWS_TRUE@ $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR + +macros: + -@( if test ! -x $(top_builddir)/scilab-bin; then \ + echo "Error : Cannot build $< : Scilab has not been built"; \ + else \ + $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\ + fi) + +# Removes the macros +clean-macros: +# Removes macros (*.bin generated from .sci) + @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \ + echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \ + rm -f $(builddir)/$$dir/$(MACROBINMASK); \ + done + +test: +# More tests could be added here + @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ + if test -f build.xml -a $$USEANT -eq 1; then \ + $(ANT) test; \ + fi + +all-local: $(TARGETS_ALL) + +.sci.bin: + -@( if test ! -x $(top_builddir)/scilab-bin; then \ + echo "Error : Cannot build $< : Scilab has not been build"; \ + else \ + echo "Creating $@"; \ + $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \ + fi ) + +install-html-local: + +install-data-local-local: +# Mainly for javasci + @if test -d $(srcdir)/javadoc; then \ + cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \ + fi +# If the user wants the help sources to be installed +@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \ +@INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \ +@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/$$lang; then \ +@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \ +@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \ +@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \ +@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \ +@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \ +@INSTALL_HELP_XML_TRUE@ done ; \ +@INSTALL_HELP_XML_TRUE@ fi; \ +@INSTALL_HELP_XML_TRUE@ fi; \ +@INSTALL_HELP_XML_TRUE@ done; \ +@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \ +@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/mml/; then \ +@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \ +@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \ +@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \ +@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \ +@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \ +@INSTALL_HELP_XML_TRUE@ done ; \ +@INSTALL_HELP_XML_TRUE@ fi; \ +@INSTALL_HELP_XML_TRUE@ fi +install-data-local: +# Install the tests + @echo "-------- Install tests (if any) --------"; \ + for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \ + if test -d $(srcdir)/$$dir/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \ + for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \ + if test -d "$(srcdir)/$$dir/$$file"; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \ + $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \ + else \ + echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \ + $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \ + fi \ + done; \ + fi; \ + done +# Install the help chapter + @echo "-------- Install the help chapter (if any) --------"; \ + for lang in $(HELP_CHAPTERLANG); do \ + HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \ + if test -f $$HELPFILE; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \ + echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \ + $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \ + fi; \ + done +# Install the demos & examples + @echo "-------- Install demos & examples (if any) --------"; \ + for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \ + if test -d $(srcdir)/$$dir/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \ + for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \ + if test -d "$(srcdir)/$$dir/$$file"; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \ + $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \ + else \ + echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \ + $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \ + fi \ + done; \ + fi; \ + done +# Install the macros + @echo "-------- Install macros (if any) --------"; \ + for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \ + $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \ + if test -d $(srcdir)/$$dir/; then \ + FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\ + if test -n "$(MACROSSPECIALEXT)"; then \ + specialExtDir=""; \ + for specialExt in $(MACROSSPECIALEXT); do \ + specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \ + done; \ + FILELIST="$$FILELIST $$specialExtDir"; \ + fi; \ + for file in `ls -1 $$FILELIST 2>/dev/null`; do \ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \ + done; \ + fi; \ + done +# Install java files (.jar) + @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \ + echo "-------- Install jar files --------"; \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \ + for file in $(srcdir)/$(JARDIR)$(JARMASK); do\ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \ + done ; \ + fi + +########### CLEAN ################### +# Clean help (generated automatically by Scilab) +# It used to clean the macro (clean-macros) but this was causing +# make clean && make to fail Scilab startup +@NEED_JAVA_TRUE@clean-local: clean-java +@NEED_JAVA_FALSE@clean-local: + +distclean-local: + rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_* + +.PHONY: macros java swig giws + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/modules/graphic_export/build.xml b/modules/graphic_export/build.xml new file mode 100755 index 000000000..b8d467bee --- /dev/null +++ b/modules/graphic_export/build.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Allan CORNET + * Copyright (C) 2007 - INRIA - Sylvestre LEDRU + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<project name="graphic_export" default="jar"> + <import file="../../build.incl.xml"/> + <property name="library.name" value="${library.graphic_export.name}"/> + <property name="library.title" value="Export plot to any image format"/> + <description> + Build the graphic export Scilab module + </description> +</project> diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Driver.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Driver.class Binary files differnew file mode 100755 index 000000000..a4f7cd2c0 --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Driver.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$1.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$1.class Binary files differnew file mode 100755 index 000000000..c7020659e --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$1.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$2.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$2.class Binary files differnew file mode 100755 index 000000000..32074a25f --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$2.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$3.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$3.class Binary files differnew file mode 100755 index 000000000..3f6ee8a5c --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$3.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$4.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$4.class Binary files differnew file mode 100755 index 000000000..16c026a3a --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$4.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$BMPExporter.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$BMPExporter.class Binary files differnew file mode 100755 index 000000000..dfb88f620 --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$BMPExporter.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$EMFExporter.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$EMFExporter.class Binary files differnew file mode 100755 index 000000000..1b7254142 --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$EMFExporter.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$EPSExporter$1.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$EPSExporter$1.class Binary files differnew file mode 100755 index 000000000..17191fd1a --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$EPSExporter$1.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$EPSExporter.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$EPSExporter.class Binary files differnew file mode 100755 index 000000000..e3fb5417c --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$EPSExporter.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$Exporter.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$Exporter.class Binary files differnew file mode 100755 index 000000000..3a6c80ab7 --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$Exporter.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$GIFExporter.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$GIFExporter.class Binary files differnew file mode 100755 index 000000000..9f30aee03 --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$GIFExporter.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$JPEGExporter.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$JPEGExporter.class Binary files differnew file mode 100755 index 000000000..f0a98df05 --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$JPEGExporter.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$PDFExporter.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$PDFExporter.class Binary files differnew file mode 100755 index 000000000..54277c14a --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$PDFExporter.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$PNGExporter.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$PNGExporter.class Binary files differnew file mode 100755 index 000000000..2003afc8f --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$PNGExporter.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$PPMExporter.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$PPMExporter.class Binary files differnew file mode 100755 index 000000000..ea4d81de6 --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$PPMExporter.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$PSExporter$1.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$PSExporter$1.class Binary files differnew file mode 100755 index 000000000..8ad20943d --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$PSExporter$1.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$PSExporter.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$PSExporter.class Binary files differnew file mode 100755 index 000000000..8ced2bf66 --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$PSExporter.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$SVGExporter$1.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$SVGExporter$1.class Binary files differnew file mode 100755 index 000000000..8136855df --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$SVGExporter$1.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$SVGExporter.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$SVGExporter.class Binary files differnew file mode 100755 index 000000000..ca5c920b6 --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$SVGExporter.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$TYPE.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$TYPE.class Binary files differnew file mode 100755 index 000000000..7e51f34bd --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export$TYPE.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export.class Binary files differnew file mode 100755 index 000000000..69986dda8 --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Export.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/ExportBitmap.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/ExportBitmap.class Binary files differnew file mode 100755 index 000000000..ff7ce3313 --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/ExportBitmap.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/ExportParams.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/ExportParams.class Binary files differnew file mode 100755 index 000000000..f8cd783f6 --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/ExportParams.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/FileExporter.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/FileExporter.class Binary files differnew file mode 100755 index 000000000..8e2178034 --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/FileExporter.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Utils.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Utils.class Binary files differnew file mode 100755 index 000000000..d3ae7257b --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/Utils.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/convertToPPM/ImageEncoder.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/convertToPPM/ImageEncoder.class Binary files differnew file mode 100755 index 000000000..b233eee16 --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/convertToPPM/ImageEncoder.class diff --git a/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/convertToPPM/PPMEncoder.class b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/convertToPPM/PPMEncoder.class Binary files differnew file mode 100755 index 000000000..9854a6478 --- /dev/null +++ b/modules/graphic_export/build/classes/org/scilab/modules/graphic_export/convertToPPM/PPMEncoder.class diff --git a/modules/graphic_export/core_Import.def b/modules/graphic_export/core_Import.def new file mode 100755 index 000000000..5b98b6a5d --- /dev/null +++ b/modules/graphic_export/core_Import.def @@ -0,0 +1,20 @@ +LIBRARY core.dll + + +EXPORTS + +; core +com_ +stack_ +vstk_ +getrhsvar_ +putlhsvar_ +intersci_ +gettype_ +checkrhs_ +checklhs_ +freeArrayOfString +callFunctionFromGateway +getScilabMode +MyHeapAlloc +MyHeapFree diff --git a/modules/graphic_export/etc/graphic_export.quit b/modules/graphic_export/etc/graphic_export.quit new file mode 100755 index 000000000..ab83f0c89 --- /dev/null +++ b/modules/graphic_export/etc/graphic_export.quit @@ -0,0 +1,10 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2007-2008 - INRIA +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + diff --git a/modules/graphic_export/etc/graphic_export.start b/modules/graphic_export/etc/graphic_export.start new file mode 100755 index 000000000..e8fcbe25e --- /dev/null +++ b/modules/graphic_export/etc/graphic_export.start @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA +// Copyright (C) 2009-2011 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +// ============================================================================= + diff --git a/modules/graphic_export/graphic_export.iss b/modules/graphic_export/graphic_export.iss new file mode 100755 index 000000000..f7c94c097 --- /dev/null +++ b/modules/graphic_export/graphic_export.iss @@ -0,0 +1,50 @@ +; +; Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +; Copyright (C) INRIA - 2008 - Allan CORNET +; Copyright (C) DIGITEO - 2010 - Allan CORNET +; +; This file must be used under the terms of the CeCILL. +; This source file is licensed as described in the file COPYING, which +; you should have received as part of this distribution. The terms +; are also available at +; http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +; +;-------------------------------------------------------------------------------------------------------------- +; Inno Setup Script (5.3 and more) for Scilab (UNICODE version required) +; +;-------------------------------------------------------------------------------------------------------------- +; graphic_export module +;-------------------------------------------------------------------------------------------------------------- +; +; +#define GRAPHIC_EXPORT "graphic_export" +; +Source: bin\sci{#GRAPHIC_EXPORT}.dll; DestDir: {app}\bin; Components: {#COMPN_GRAPHICS} +Source: bin\no{#GRAPHIC_EXPORT}.dll; DestDir: {app}\bin; DestName: sci{#GRAPHIC_EXPORT}.dll; Components: not ({#COMPN_GRAPHICS}) +; +Source: thirdparty\freehep-io.jar;DestDir: {app}\thirdparty; Components: {#COMPN_GRAPHICS} +Source: thirdparty\freehep-util.jar;DestDir: {app}\thirdparty; Components: {#COMPN_GRAPHICS} +Source: thirdparty\freehep-graphics2d.jar;DestDir: {app}\thirdparty; Components: {#COMPN_GRAPHICS} +Source: thirdparty\freehep-graphicsio-emf.jar;DestDir: {app}\thirdparty; Components: {#COMPN_GRAPHICS} +Source: thirdparty\freehep-graphicsio.jar;DestDir: {app}\thirdparty; Components: {#COMPN_GRAPHICS} +; +Source: modules\{#GRAPHIC_EXPORT}\jar\org.scilab.modules.{#GRAPHIC_EXPORT}.jar;DestDir: {app}\modules\{#GRAPHIC_EXPORT}\jar; Components: {#COMPN_GRAPHICS} +; +Source: modules\{#GRAPHIC_EXPORT}\license.txt; DestDir: {app}\modules\{#GRAPHIC_EXPORT}; Components: {#COMPN_GRAPHICS} +; +Source: modules\{#GRAPHIC_EXPORT}\sci_gateway\{#GRAPHIC_EXPORT}_gateway.xml; DestDir: {app}\modules\{#GRAPHIC_EXPORT}\sci_gateway; Components: {#COMPN_GRAPHICS} +; +;Source: modules\{#GRAPHIC_EXPORT}\includes\*.h; DestDir: {app}\modules\{#GRAPHIC_EXPORT}\includes; Components: {#COMPN_GRAPHICS} +; +Source: modules\{#GRAPHIC_EXPORT}\etc\{#GRAPHIC_EXPORT}.quit; DestDir: {app}\modules\{#GRAPHIC_EXPORT}\etc; Components: {#COMPN_GRAPHICS} +Source: modules\{#GRAPHIC_EXPORT}\etc\{#GRAPHIC_EXPORT}.start; DestDir: {app}\modules\{#GRAPHIC_EXPORT}\etc; Components: {#COMPN_GRAPHICS} +; +Source: modules\{#GRAPHIC_EXPORT}\macros\buildmacros.sce; DestDir: {app}\modules\{#GRAPHIC_EXPORT}\macros; Components: {#COMPN_GRAPHICS} +Source: modules\{#GRAPHIC_EXPORT}\macros\buildmacros.bat; DestDir: {app}\modules\{#GRAPHIC_EXPORT}\macros; Components: {#COMPN_GRAPHICS} +Source: modules\{#GRAPHIC_EXPORT}\macros\cleanmacros.bat; DestDir: {app}\modules\{#GRAPHIC_EXPORT}\macros; Components: {#COMPN_GRAPHICS} +; +;Source: modules\{#GRAPHIC_EXPORT}\demos\*.*; DestDir: {app}\modules\{#GRAPHIC_EXPORT}\demos; Flags: recursesubdirs; Components: {#COMPN_GRAPHICS} +; +Source: modules\{#GRAPHIC_EXPORT}\tests\*.*; DestDir: {app}\modules\{#GRAPHIC_EXPORT}\tests; Flags: recursesubdirs; Components: {#COMPN_GRAPHICS} and {#COMPN_TESTS} +; +;-------------------------------------------------------------------------------------------------------------- diff --git a/modules/graphic_export/graphic_export.rc b/modules/graphic_export/graphic_export.rc new file mode 100755 index 000000000..d67d9ce46 --- /dev/null +++ b/modules/graphic_export/graphic_export.rc @@ -0,0 +1,96 @@ +// Microsoft Visual C++ generated resource script. +// + + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +//#include "afxres.h" +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// French (France) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA) +#ifdef _WIN32 +LANGUAGE LANG_FRENCH, SUBLANG_FRENCH +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 5,5,2,0 + PRODUCTVERSION 5,5,2,0 + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040c04b0" + BEGIN + VALUE "FileDescription", "graphic_export module" + VALUE "FileVersion", "5, 5, 2, 0" + VALUE "InternalName", "graphic_export module" + VALUE "LegalCopyright", "Copyright (C) 2017" + VALUE "OriginalFilename", "scigraphic_export.dll" + VALUE "ProductName", "graphic_export module" + VALUE "ProductVersion", "5, 5, 2, 0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x40c, 1200 + END +END + +#endif // French (France) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/modules/graphic_export/graphic_export.vcxproj b/modules/graphic_export/graphic_export.vcxproj new file mode 100755 index 000000000..26d5785c6 --- /dev/null +++ b/modules/graphic_export/graphic_export.vcxproj @@ -0,0 +1,285 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Debug|x64"> + <Configuration>Debug</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|x64"> + <Configuration>Release</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{5AD5654B-B2EE-4B84-81FC-F6A4C1073D96}</ProjectGuid> + <RootNamespace>graphic_export</RootNamespace> + <Keyword>Win32Proj</Keyword> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>false</WholeProgramOptimization> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>false</WholeProgramOptimization> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> + <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">sci$(ProjectName)</TargetName> + <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">sci$(ProjectName)</TargetName> + <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">sci$(ProjectName)</TargetName> + <TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">sci$(ProjectName)</TargetName> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>includes;../jvm/includes;../localization/includes;../fileio/includes;../graphics/includes;../graphics/includes/handleDrawing;src/cpp;../core/includes;../output_stream/includes;../../java/jdk/include;../../java/jdk/include/win32;src/jni;../../libs/intl;../renderer/includes;src/c;../api_scilab/includes;../commons/src/jni;../graphic_objects/includes;../gui/src/jni;../windows_tools/includes/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;GRAPHIC_EXPORT_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DisableSpecificWarnings>4251;%(DisableSpecificWarnings)</DisableSpecificWarnings> + </ClCompile> + <PreLinkEvent> + <Message>Make dependencies</Message> + <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1>NUL 2>NUL +lib /DEF:"$(ProjectDir)graphics_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)graphics.lib" 1>NUL 2>NUL +</Command> + </PreLinkEvent> + <Link> + <AdditionalDependencies>graphics.lib;core.lib;OpenGL32.lib;%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(SolutionDir)bin\sci$(ProjectName).dll</OutputFile> + <IgnoreSpecificDefaultLibraries>libmmdd.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> + <GenerateDebugInformation>true</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <ImportLibrary>$(SolutionDir)bin\sci$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX86</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <Midl> + <TargetEnvironment>X64</TargetEnvironment> + </Midl> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>includes;../jvm/includes;../localization/includes;../fileio/includes;../graphics/includes;../graphics/includes/handleDrawing;src/cpp;../core/includes;../output_stream/includes;../../java/jdk/include;../../java/jdk/include/win32;src/jni;../../libs/intl;../renderer/includes;src/c;../api_scilab/includes;../commons/src/jni;../graphic_objects/includes;../gui/src/jni;../windows_tools/includes/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;GRAPHIC_EXPORT_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DisableSpecificWarnings>4251;%(DisableSpecificWarnings)</DisableSpecificWarnings> + </ClCompile> + <PreLinkEvent> + <Message>Make dependencies</Message> + <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1>NUL 2>NUL +lib /DEF:"$(ProjectDir)graphics_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)graphics.lib" 1>NUL 2>NUL +</Command> + </PreLinkEvent> + <Link> + <AdditionalDependencies>graphics.lib;core.lib;OpenGL32.lib;%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(SolutionDir)bin\sci$(ProjectName).dll</OutputFile> + <IgnoreSpecificDefaultLibraries>libmmdd.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> + <GenerateDebugInformation>true</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <ImportLibrary>$(SolutionDir)bin\sci$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX64</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> + <WholeProgramOptimization>false</WholeProgramOptimization> + <AdditionalIncludeDirectories>includes;../jvm/includes;../localization/includes;../fileio/includes;../graphics/includes;../graphics/includes/handleDrawing;src/cpp;../core/includes;../output_stream/includes;../../java/jdk/include;../../java/jdk/include/win32;src/jni;../../libs/intl;../renderer/includes;src/c;../api_scilab/includes;../commons/src/jni;../graphic_objects/includes;../gui/src/jni;../windows_tools/includes/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;GRAPHIC_EXPORT_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <StringPooling>true</StringPooling> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <MultiProcessorCompilation>true</MultiProcessorCompilation> + <DisableSpecificWarnings>4251;%(DisableSpecificWarnings)</DisableSpecificWarnings> + </ClCompile> + <PreLinkEvent> + <Message>Make dependencies</Message> + <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1>NUL 2>NUL +lib /DEF:"$(ProjectDir)graphics_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)graphics.lib" 1>NUL 2>NUL +</Command> + </PreLinkEvent> + <Link> + <AdditionalDependencies>graphics.lib;core.lib;OpenGL32.lib;%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(SolutionDir)bin\sci$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>false</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <OptimizeReferences>true</OptimizeReferences> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <ImportLibrary>$(SolutionDir)bin\sci$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX86</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <Midl> + <TargetEnvironment>X64</TargetEnvironment> + </Midl> + <ClCompile> + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> + <WholeProgramOptimization>false</WholeProgramOptimization> + <AdditionalIncludeDirectories>includes;../jvm/includes;../localization/includes;../fileio/includes;../graphics/includes;../graphics/includes/handleDrawing;src/cpp;../core/includes;../output_stream/includes;../../java/jdk/include;../../java/jdk/include/win32;src/jni;../../libs/intl;../renderer/includes;src/c;../api_scilab/includes;../commons/src/jni;../graphic_objects/includes;../gui/src/jni;../windows_tools/includes/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;GRAPHIC_EXPORT_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <StringPooling>true</StringPooling> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <MultiProcessorCompilation>true</MultiProcessorCompilation> + <DisableSpecificWarnings>4251;%(DisableSpecificWarnings)</DisableSpecificWarnings> + </ClCompile> + <PreLinkEvent> + <Message>Make dependencies</Message> + <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1>NUL 2>NUL +lib /DEF:"$(ProjectDir)graphics_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)graphics.lib" 1>NUL 2>NUL +</Command> + </PreLinkEvent> + <Link> + <AdditionalDependencies>graphics.lib;core.lib;OpenGL32.lib;%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(SolutionDir)bin\sci$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>false</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <OptimizeReferences>true</OptimizeReferences> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <ImportLibrary>$(SolutionDir)bin\sci$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX64</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="sci_gateway\cpp\sci_driver.cpp" /> + <ClCompile Include="sci_gateway\cpp\sci_xend.cpp" /> + <ClCompile Include="sci_gateway\cpp\sci_xinit.cpp" /> + <ClCompile Include="sci_gateway\c\sci_xs2emf.c" /> + <ClCompile Include="sci_gateway\c\xs2file.c" /> + <ClCompile Include="src\cpp\exportToFile.cpp" /> + <ClCompile Include="src\jni\Driver.cpp" /> + <ClCompile Include="src\jni\FileExporter.cpp" /> + <ClCompile Include="src\c\DllmainGraphics_export.c" /> + <ClCompile Include="sci_gateway\c\gw_graphic_export.c" /> + <ClCompile Include="sci_gateway\c\sci_xs2bmp.c" /> + <ClCompile Include="sci_gateway\c\sci_xs2eps.c" /> + <ClCompile Include="sci_gateway\c\sci_xs2gif.c" /> + <ClCompile Include="sci_gateway\c\sci_xs2jpg.c" /> + <ClCompile Include="sci_gateway\c\sci_xs2pdf.c" /> + <ClCompile Include="sci_gateway\c\sci_xs2png.c" /> + <ClCompile Include="sci_gateway\c\sci_xs2ppm.c" /> + <ClCompile Include="sci_gateway\c\sci_xs2ps.c" /> + <ClCompile Include="sci_gateway\c\sci_xs2svg.c" /> + </ItemGroup> + <ItemGroup> + <ClInclude Include="includes\dynlib_graphic_export.h" /> + <ClInclude Include="includes\gw_graphic_export.h" /> + <ClInclude Include="src\cpp\exportToFile.hxx" /> + <ClInclude Include="src\jni\Driver.hxx" /> + <ClInclude Include="src\jni\FileExporter.hxx" /> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="graphic_export.rc" /> + </ItemGroup> + <ItemGroup> + <None Include="graphics_Import.def" /> + <None Include="core_import.def" /> + <None Include="graphic_export.iss" /> + <None Include="locales\graphic_export.pot" /> + <None Include="sci_gateway\graphic_export_gateway.xml" /> + <None Include="Makefile.am" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\..\tools\Dumpexts\Dumpexts.vcxproj"> + <Project>{3170e4c2-1173-4264-a222-7ee8ccb3ddf7}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="..\api_scilab\api_scilab.vcxproj"> + <Project>{43c5bab1-1dca-4743-a183-77e0d42fe7d0}</Project> + </ProjectReference> + <ProjectReference Include="..\commons\src\c\commons.vcxproj"> + <Project>{eca09a1e-6d12-4a47-92e1-a671c181df77}</Project> + </ProjectReference> + <ProjectReference Include="..\fileio\fileio.vcxproj"> + <Project>{4fc72d4a-80ee-4b1a-8724-0201c1a35621}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="..\graphic_objects\src\c\graphic_objects.vcxproj"> + <Project>{30f9ee41-587b-4618-8de7-698d3fba4985}</Project> + </ProjectReference> + <ProjectReference Include="..\gui\src\c\gui.vcxproj"> + <Project>{45ca5b12-7601-4968-ae16-16069fd1a152}</Project> + </ProjectReference> + <ProjectReference Include="..\jvm\libjvm.vcxproj"> + <Project>{8ba2dda8-bd04-4d4d-8ee6-6caa955f7470}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="..\localization\src\localization.vcxproj"> + <Project>{ecffeb0c-1eda-45ee-9a10-b18143852e17}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="..\output_stream\src\c\output_stream.vcxproj"> + <Project>{a5911cd7-f8e8-440c-a23e-4843a0636f3a}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="..\windows_tools\src\c\scilab_windows\scilab_windows.vcxproj"> + <Project>{8028f371-6a94-4a26-8804-6e7f05f1d1aa}</Project> + </ProjectReference> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/modules/graphic_export/graphic_export.vcxproj.filters b/modules/graphic_export/graphic_export.vcxproj.filters new file mode 100755 index 000000000..ffa74706c --- /dev/null +++ b/modules/graphic_export/graphic_export.vcxproj.filters @@ -0,0 +1,136 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="Source Files"> + <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> + <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> + </Filter> + <Filter Include="Source Files\cpp"> + <UniqueIdentifier>{f4ab7f90-5f5b-483d-8e92-7012c652b3ce}</UniqueIdentifier> + </Filter> + <Filter Include="Source Files\c"> + <UniqueIdentifier>{502e9a4c-bb06-455c-8d11-a4305274866b}</UniqueIdentifier> + </Filter> + <Filter Include="Header Files"> + <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> + <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> + </Filter> + <Filter Include="Header Files\h"> + <UniqueIdentifier>{5aff4dcd-99ac-4a5c-8e52-dbd9fb43a4b8}</UniqueIdentifier> + </Filter> + <Filter Include="Header Files\hxx"> + <UniqueIdentifier>{a7b0044a-2c69-410f-87cb-d993c38a3e6d}</UniqueIdentifier> + </Filter> + <Filter Include="Resource Files"> + <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> + <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions> + </Filter> + <Filter Include="localization"> + <UniqueIdentifier>{ecc8c744-a38e-4b5e-b756-8cd3db39149f}</UniqueIdentifier> + </Filter> + <Filter Include="Swig Files"> + <UniqueIdentifier>{bbdfe59c-b5ef-4aaf-85d0-9e740266cca4}</UniqueIdentifier> + </Filter> + <Filter Include="Libraries Dependencies"> + <UniqueIdentifier>{25023111-5ef7-4ca5-aefc-8e034eebac17}</UniqueIdentifier> + </Filter> + <Filter Include="Libraries Dependencies\Imports"> + <UniqueIdentifier>{de518bb0-eaaf-4e2d-997b-55ec528f6b4c}</UniqueIdentifier> + </Filter> + </ItemGroup> + <ItemGroup> + <ClCompile Include="src\cpp\exportToFile.cpp"> + <Filter>Source Files\cpp</Filter> + </ClCompile> + <ClCompile Include="src\jni\FileExporter.cpp"> + <Filter>Source Files\cpp</Filter> + </ClCompile> + <ClCompile Include="src\c\DllmainGraphics_export.c"> + <Filter>Source Files\c</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\gw_graphic_export.c"> + <Filter>Source Files\c</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\sci_xs2bmp.c"> + <Filter>Source Files\c</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\sci_xs2eps.c"> + <Filter>Source Files\c</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\sci_xs2gif.c"> + <Filter>Source Files\c</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\sci_xs2jpg.c"> + <Filter>Source Files\c</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\sci_xs2pdf.c"> + <Filter>Source Files\c</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\sci_xs2png.c"> + <Filter>Source Files\c</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\sci_xs2ppm.c"> + <Filter>Source Files\c</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\sci_xs2ps.c"> + <Filter>Source Files\c</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\sci_xs2svg.c"> + <Filter>Source Files\c</Filter> + </ClCompile> + <ClCompile Include="src\jni\Driver.cpp"> + <Filter>Source Files\cpp</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\cpp\sci_driver.cpp"> + <Filter>Source Files\cpp</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\cpp\sci_xend.cpp"> + <Filter>Source Files\cpp</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\cpp\sci_xinit.cpp"> + <Filter>Source Files\cpp</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\xs2file.c"> + <Filter>Source Files\c</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\sci_xs2emf.c"> + <Filter>Source Files\c</Filter> + </ClCompile> + </ItemGroup> + <ItemGroup> + <ClInclude Include="includes\dynlib_graphic_export.h"> + <Filter>Header Files\h</Filter> + </ClInclude> + <ClInclude Include="includes\gw_graphic_export.h"> + <Filter>Header Files\h</Filter> + </ClInclude> + <ClInclude Include="src\cpp\exportToFile.hxx"> + <Filter>Header Files\hxx</Filter> + </ClInclude> + <ClInclude Include="src\jni\FileExporter.hxx"> + <Filter>Header Files\hxx</Filter> + </ClInclude> + <ClInclude Include="src\jni\Driver.hxx"> + <Filter>Header Files</Filter> + </ClInclude> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="graphic_export.rc"> + <Filter>Resource Files</Filter> + </ResourceCompile> + </ItemGroup> + <ItemGroup> + <None Include="graphics_Import.def"> + <Filter>Libraries Dependencies\Imports</Filter> + </None> + <None Include="core_import.def"> + <Filter>Libraries Dependencies\Imports</Filter> + </None> + <None Include="graphic_export.iss" /> + <None Include="sci_gateway\graphic_export_gateway.xml" /> + <None Include="Makefile.am" /> + <None Include="locales\graphic_export.pot"> + <Filter>localization</Filter> + </None> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/modules/graphic_export/graphics_Import.def b/modules/graphic_export/graphics_Import.def new file mode 100755 index 000000000..0f8b96b9e --- /dev/null +++ b/modules/graphic_export/graphics_Import.def @@ -0,0 +1,6 @@ +LIBRARY graphics.dll + + +EXPORTS +; from graphics +getHandleFromStack
\ No newline at end of file diff --git a/modules/graphic_export/help/en_US/addchapter.sce b/modules/graphic_export/help/en_US/addchapter.sce new file mode 100755 index 000000000..ae6747ca4 --- /dev/null +++ b/modules/graphic_export/help/en_US/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Graphics : exporting and printing",SCI+"/modules/graphic_export/help/en_US",%T); + diff --git a/modules/graphic_export/help/en_US/driver.xml b/modules/graphic_export/help/en_US/driver.xml new file mode 100755 index 000000000..18a99537c --- /dev/null +++ b/modules/graphic_export/help/en_US/driver.xml @@ -0,0 +1,211 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) ENPC - Jean-Philippe Chancelier + * Copyright (C) - Scilab Enterprises - Clement David + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="driver"> + <refnamediv> + <refname>driver</refname> + <refpurpose>select a graphics driver</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis> + current_driver = driver() + driver(driver_name) + previous_driver = driver(driver_name) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>driver_name</term> + <listitem> + <para> + a string, driver to be selected (case insensitive). + </para> + </listitem> + <term>current_driver</term> + <listitem> + <para>a string, selected driver.</para> + </listitem> + <term>previous_driver</term> + <listitem> + <para>a string, driver previously selected.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + This function provides a switch between the different + drivers for export or display. + </para> + <para> + Direct rendering on the screen or off-screen export + without any graphical user interface. This is available + in the mode <literal>scilab-adv-cli</literal> (or also + called <literal>-nw</literal>) + </para> + <para> + Used without any input argument, the <function>driver</function> + function returns the current graphics driver name. + </para> + </refsection> + <refsection> + <title>Screen output</title> + <para> + To display graphic into a new window instead of off-screen format. This is the default behavior of Scilab. + </para> + <para> + It is possible to use the "null" format to direct graphics to nothing. + </para> + <variablelist> + <varlistentry> + <term>X11 or Rec</term> + <listitem> + <para>output to the screen of the computer.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Supported vectorial formats</title> + <para> + The selected driver can be one of the following vectorial format: + </para> + <variablelist> + <varlistentry> + <term>Pos or ps</term> + <listitem> + <para>output into Postscript format.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>PDF</term> + <listitem> + <para>output into PDF format.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>SVG</term> + <listitem> + <para>output into SVG format.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Supported bitmap formats</title> + <para> + The selected driver can be one of the following bitmap + format: + </para> + <variablelist> + <varlistentry> + <term>GIF</term> + <listitem> + <para>output into GIF format.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>PNG</term> + <listitem> + <para>output into PNG format.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>JPEG or JPG</term> + <listitem> + <para>output into JPEG format.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>BMP</term> + <listitem> + <para>output into BMP format.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>PPM</term> + <listitem> + <para>output into portable pixmap (PPM) format.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Remark</title> + <para> + To redirect the graphic output to a GIF file (which will be + written in the temporary directory), you can use the + following example: + </para> + <programlisting role="example"><![CDATA[ +previous_driver = driver('GIF'); +xinit(TMPDIR+'/mygiffile.gif'); +plot3d(); +xend(); +driver(previous_driver); // Bring back the previous behavior of Scilab + ]]></programlisting> + <para> + For example if one has generated a sequence of GIF files + named <literal>img*.gif</literal> it is possible to build + an animated GIF file (named <literal>anim.gif</literal>) by + </para> + <synopsis> + convert -delay 10 img*.gif anim.gif + </synopsis> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="xinit">xinit</link> + </member> + <member> + <link linkend="xend">xend</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>History</title> + <revhistory> + <revision> + <revnumber>5.4.0</revnumber> + <revremark> + <itemizedlist> + <listitem> + Return the previous driver value. + </listitem> + <listitem> + Enable off-screen export. Scilab exports graphics without opening a new window. + </listitem> + <listitem> + Support of new bitmap formats: PNG, JPEG and BMP. + </listitem> + <listitem> + Support of new vectorial formats: PDF and SVG. + </listitem> + <listitem> + The function accepts lower and upper case argument. + </listitem> + <listitem> + Fig driver is no longer supported. + </listitem> + </itemizedlist> + </revremark> + </revision> + </revhistory> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/en_US/xend.xml b/modules/graphic_export/help/en_US/xend.xml new file mode 100755 index 000000000..9b8dce368 --- /dev/null +++ b/modules/graphic_export/help/en_US/xend.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) ENPC - Jean-Philippe Chancelier + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="xend"> + <refnamediv> + <refname>xend</refname> + <refpurpose>close a graphics export session</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>xend()</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + <function>xend</function> is used to close a graphics + export session. When working on the export of a + graphic, <function>xend</function> closes the + file which was opened by <function>xinit</function>. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +current_driver = driver() +driver("Pos") +xinit("foo.ps") +plot2d() +xend() +driver(current_driver) + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="driver">driver</link> + </member> + <member> + <link linkend="xinit">xinit</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/en_US/xinit.xml b/modules/graphic_export/help/en_US/xinit.xml new file mode 100755 index 000000000..147cb311e --- /dev/null +++ b/modules/graphic_export/help/en_US/xinit.xml @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) ENPC - Jean-Philippe Chancelier + * Copyright (C) 2008 - INRIA - Jean-Baptiste Silvy + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="xinit"> + <refnamediv> + <refname>xinit</refname> + <refpurpose>open a graphics export session</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis> + xinit(FileName) + xinit() + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>FileName</term> + <listitem> + <para>a string: name of the export file.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <function>xinit</function> opens a graphics export session. + To export to a file, <varname>FileName</varname> must be + specified. It is the name of the file where all the graphics + operations are recorded. + </para> + <para> + For screen drivers (<literal>X11</literal> or <literal>Rec</literal>), + <function>xinit</function> should be called without any argument + and it will open an empty graphic window. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +current_driver = driver() +driver("Pos") +xinit(TMPDIR+"/foo.ps") +plot2d() +xend() +driver(current_driver) + ]]></programlisting> + <programlisting role="example"><![CDATA[ +current_driver = driver() +driver("PNG") +xinit(TMPDIR+"/foo.png") +plot3d() +xend() +driver(current_driver) + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="driver">driver</link> + </member> + <member> + <link linkend="xend">xend</link> + </member> + <member> + <link linkend="scf">scf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/en_US/xs2bmp.xml b/modules/graphic_export/help/en_US/xs2bmp.xml new file mode 100755 index 000000000..7940655b4 --- /dev/null +++ b/modules/graphic_export/help/en_US/xs2bmp.xml @@ -0,0 +1,101 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2bmp" xml:lang="en"> + <refnamediv> + <refname>xs2bmp</refname> + <refpurpose>export graphics to BMP</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis> + xs2bmp(win_num, file_name) + xs2bmp(fig, file_name) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>an integer, ID of the figure to export.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>handle of the figure to export.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>a string, name of the exported file.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <function>xs2bmp</function> exports the display of a graphic window into a BMP file. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +//BMP export +xs2bmp(0,'foo.bmp'); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/en_US/xs2emf.xml b/modules/graphic_export/help/en_US/xs2emf.xml new file mode 100755 index 000000000..0c9a02a98 --- /dev/null +++ b/modules/graphic_export/help/en_US/xs2emf.xml @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2emf" xml:lang="en"> + <refnamediv> + <refname>xs2emf</refname> + <refpurpose>export graphics to EMF.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis> + xs2emf(win_num, file_name [,orientation]) + xs2emf(fig, file_name [,orientation]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para> + an integer, ID of the figure to export. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>handle of the figure to export.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>a string, name of the exported file.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para> + an optional string, with possible values <literal>'portrait'</literal> or <literal>'landscape'</literal>. + The default value is <literal>'portrait'</literal>. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <function>xs2emf</function> exports the display of a graphic window into an EMF file. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ + scf(0); + plot2d(); + //EMF export + xs2emf(0, "foo.emf"); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>History</title> + <revhistory> + <revision> + <revnumber>5.5.0</revnumber> + <revremark> + EMF export available on all platforms. + </revremark> + </revision> + </revhistory> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/en_US/xs2eps.xml b/modules/graphic_export/help/en_US/xs2eps.xml new file mode 100755 index 000000000..714d04928 --- /dev/null +++ b/modules/graphic_export/help/en_US/xs2eps.xml @@ -0,0 +1,115 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2eps" xml:lang="en"> + <refnamediv> + <refname>xs2eps</refname> + <refpurpose>export graphics to EPS</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis> + xs2eps(win_num, file_name [,orientation]) + xs2eps(fig, file_name [,orientation]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>an integer, ID of the figure to export.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>handle of the figure to export.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>a string, name of the exported file.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para> + an optional string, with possible values <literal>'portrait'</literal> or + <literal>'landscape'</literal>. The default value is <literal>'portrait'</literal>. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <function>xs2eps</function> exports the display of a + graphic window into a complete Encapsulated PostScript file. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +//EPS export +xs2eps(0,'foo.eps') +xs2eps(gcf(),'foo.eps') + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <literal>figure_size</literal> property in <link linkend="figure_properties">figure_properties</link> + </member> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/en_US/xs2gif.xml b/modules/graphic_export/help/en_US/xs2gif.xml new file mode 100755 index 000000000..a960a843d --- /dev/null +++ b/modules/graphic_export/help/en_US/xs2gif.xml @@ -0,0 +1,115 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2gif" xml:lang="en"> + <refnamediv> + <refname>xs2gif</refname> + <refpurpose>export graphics to GIF</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis> + xs2gif(win_num, file_name) + xs2gif(fig, file_name) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>an integer, ID of the figure to export.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>handle of the figure to export.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>a string, name of the exported file.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <function>xs2gif</function> exports the display of a graphic window into a GIF file. + </para> + <para> + To convert a sequence of "GIF" files to an animated GIF + file one can use the "convert" program for ImageMagic + (<ulink url="http://www.imagemagick.org/">http://www.imagemagick.org/</ulink>) + </para> + <para> + For example if one has generated a sequence of GIF + files named <literal>img*.gif</literal> it is possible + to build an animated GIF file (named <literal>img.gif</literal>) by + </para> + <synopsis> + convert -delay 10 img*.gif anim.gif + </synopsis> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +scf(0); +plot2d(); +//GIF export +xs2gif(0,'foo.gif'); +xs2gif(gcf(),'foo.gif'); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/en_US/xs2jpg.xml b/modules/graphic_export/help/en_US/xs2jpg.xml new file mode 100755 index 000000000..803342360 --- /dev/null +++ b/modules/graphic_export/help/en_US/xs2jpg.xml @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2jpg" xml:lang="en"> + <refnamediv> + <refname>xs2jpg</refname> + <refpurpose>export graphics to JPG</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis> + xs2jpg(win_num, file_name [, compression_quality]) + xs2jpg(fig, file_name [, compression_quality]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para> + an integer, ID of the figure to export. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>handle of the figure to export.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>a string, name of the exported file.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>compression_quality</term> + <listitem> + <para> + a real scalar, a number between 0 and 1 (best quality). The default compression quality is set to 0.95. + </para> + <note> + Argument is available since Scilab 5.3.2. + </note> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <function>xs2jpg</function> exports the display of a graphic window into a JPG file. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +scf(0); +plot2d(); +//JPG export +xs2jpg(0,'foo.jpg'); +xs2jpg(gcf(),'foo.jpg'); +xs2jpg(0,'foo_0.jpg', 0); // poor quality +xs2jpg(gcf(),'foo_1.jpg', 1); // best quality + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/en_US/xs2pdf.xml b/modules/graphic_export/help/en_US/xs2pdf.xml new file mode 100755 index 000000000..1e04f690f --- /dev/null +++ b/modules/graphic_export/help/en_US/xs2pdf.xml @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2pdf" xml:lang="en"> + <refnamediv> + <refname>xs2pdf</refname> + <refpurpose>export graphics to PDF.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis> + xs2pdf(win_num, file_name [,orientation]) + xs2pdf(fig, file_name [,orientation]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>an integer, ID of the figure to export.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>handle of the figure to export.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>a string, name of the exported file.</para> + <para>If the extension is not provided, it is going to be automatically added.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para> + an optional string, with possible values + <literal>'portrait'</literal> or + <literal>'landscape'</literal>. The + default value is <literal>'portrait'</literal>. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <function>xs2pdf</function> exports the display of a graphic window into an PDF file. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +scf(0); +plot2d(); +//PDF export +filename='foo'; +xs2pdf(0,filename); +xs2pdf(gcf(),filename); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <literal>figure_size</literal> property in <link linkend="figure_properties">figure_properties</link> + </member> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/en_US/xs2png.xml b/modules/graphic_export/help/en_US/xs2png.xml new file mode 100755 index 000000000..cc41a3792 --- /dev/null +++ b/modules/graphic_export/help/en_US/xs2png.xml @@ -0,0 +1,102 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2png" xml:lang="en"> + <refnamediv> + <refname>xs2png</refname> + <refpurpose>export graphics to PNG</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis> + xs2png(win_num, file_name) + xs2png(fig, file_name) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>an integer, ID of the figure to export.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>handle of the figure to export.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>a string, name of the exported file.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <function>xs2png</function> exports the display of a graphic window into a PNG file. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +//PNG export +xs2png(0,'foo.png'); +xs2png(gcf(),'foo.png'); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/en_US/xs2ppm.xml b/modules/graphic_export/help/en_US/xs2ppm.xml new file mode 100755 index 000000000..727080376 --- /dev/null +++ b/modules/graphic_export/help/en_US/xs2ppm.xml @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2ppm" xml:lang="en"> + <refnamediv> + <refname>xs2ppm</refname> + <refpurpose>export graphics to PPM</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis> + xs2ppm(win_num, file_name) + xs2ppm(fig, file_name) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>an integer, ID of the figure to export.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>handle of the figure to export.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>a string, name of the exported file.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <function>xs2ppm</function> exports the display of a graphic window into a PPM file. + </para> + </refsection> + <refsection> + <title>License</title> + <para> + The code of PPM is based on the work of Jef Poskanzer (Copyright (C)1996,1998) All rights reserved. + </para> + <para> + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + </para> + <para> + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + </para> + <para> + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + </para> + </refsection> + + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +//PPM export +filename='foo.ppm'; +xs2ppm(0,filename); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/en_US/xs2ps.xml b/modules/graphic_export/help/en_US/xs2ps.xml new file mode 100755 index 000000000..de57a9c78 --- /dev/null +++ b/modules/graphic_export/help/en_US/xs2ps.xml @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2ps" xml:lang="en"> + <refnamediv> + <refname>xs2ps</refname> + <refpurpose>export graphics to PS</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis> + xs2ps(win_num, file_name [,orientation]) + xs2ps(fig, file_name [,orientation]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>an integer, ID of the figure to export.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>handle of the figure to export.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>a string, name of the exported file.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para> + an optional string, with possible values + <literal>'portrait'</literal> or + <literal>'landscape'</literal>. The default + value is <literal>'portrait'</literal>. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <function>xs2ps</function> exports the display of a graphic + window into a PostScript file. + </para> + <note> + Note that the generated Postscript file cannot be directly + printed since it requires a header file. The function + <function>xs2eps</function> can be used to directly produce + an Encapsulated Postscript file with a header. + </note> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +scf(0); +plot2d(); +// Postcript export +filename='foo.ps'; +xs2ps(0,filename); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <literal>figure_size</literal> property in <link linkend="figure_properties">figure_properties</link> + </member> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/en_US/xs2svg.xml b/modules/graphic_export/help/en_US/xs2svg.xml new file mode 100755 index 000000000..d199091f2 --- /dev/null +++ b/modules/graphic_export/help/en_US/xs2svg.xml @@ -0,0 +1,118 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2svg" xml:lang="en"> + <refnamediv> + <refname>xs2svg</refname> + <refpurpose>export graphics to SVG</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis> + xs2svg(win_num, file_name [,orientation]) + xs2svg(fig, file_name [,orientation]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para> + an integer, ID of the figure to export. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>handle of the figure to export.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>a string, name of the exported file.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para> + an optional string, with possible values + <literal>'portrait'</literal> or + <literal>'landscape'</literal>. The default + value is <literal>'portrait'</literal>. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + <function>xs2svg</function> exports the display of a graphic window into a SVG file. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +//SVG export +xs2svg(0,'foo.svg') +xs2svg(gcf(),'foo.svg'); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <literal>figure_size</literal> property in <link linkend="figure_properties">figure_properties</link> + </member> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/fr_FR/addchapter.sce b/modules/graphic_export/help/fr_FR/addchapter.sce new file mode 100755 index 000000000..28e50b865 --- /dev/null +++ b/modules/graphic_export/help/fr_FR/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Graphiques: export et impression",SCI+"/modules/graphic_export/help/fr_FR",%T); + diff --git a/modules/graphic_export/help/fr_FR/xend.xml b/modules/graphic_export/help/fr_FR/xend.xml new file mode 100755 index 000000000..d83dc6fa3 --- /dev/null +++ b/modules/graphic_export/help/fr_FR/xend.xml @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) ENPC - Jean-Philippe Chancelier + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="xend"> + <refnamediv> + <refname>xend</refname> + <refpurpose>termine la session graphique courante </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Séquence d'appel</title> + <synopsis>xend()</synopsis> + </refsynopsisdiv> + <refsection> + <title>Description</title> + <para> + <literal>xend</literal> est utilisée pour terminer une session graphique. Avec les pilotes PostScript, XFig ou Gif, <literal>xend</literal> ferme le fichier qui a été ouvert par <literal>xinit</literal>. + </para> + </refsection> + <refsection> + <title>Exemples</title> + <programlisting role="example"><![CDATA[ +driver("Pos") +xinit("foo.ps") +plot2d() +xend() +driver("X11") + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="xinit">xinit</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/fr_FR/xinit.xml b/modules/graphic_export/help/fr_FR/xinit.xml new file mode 100755 index 000000000..bbc87c0ff --- /dev/null +++ b/modules/graphic_export/help/fr_FR/xinit.xml @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) ENPC - Jean-Philippe Chancelier + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="xinit"> + <refnamediv> + <refname>xinit</refname> + <refpurpose>Initialisation d'un pilote graphique</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Séquence d'appel</title> + <synopsis> + xinit(fileName) + xinit() + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Paramètres</title> + <variablelist> + <varlistentry> + <term>fileName</term> + <listitem> + <para>chaîne de caractères: nom du fichier d'export.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + Pour les pilotes Postscript, Xfig, Gif ou PPM <literal>fileName</literal> doit être spécifié. Il determine + le nom du fichier où tous les ordres graphiques sont enregistrés. + </para> + <para> + Pour les pilotes écrans (X11 ou Rec), <literal>xinit</literal> doit être appelé sans argument. Dans ce cas, + une fenêtre graphique vide est ouverte. + </para> + </refsection> + <refsection> + <title>Exemples</title> + <programlisting role="example"><![CDATA[ +driver("Pos") +xinit("foo.ps") +plot2d() +xend() +driver("X11") + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Voir aussi</title> + <simplelist type="inline"> + <member> + <link linkend="xend">xend</link> + </member> + <member> + <link linkend="scf">scf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ja_JP/addchapter.sce b/modules/graphic_export/help/ja_JP/addchapter.sce new file mode 100755 index 000000000..37f3ba9b8 --- /dev/null +++ b/modules/graphic_export/help/ja_JP/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Graphics : exporting and printing",SCI+"/modules/graphic_export/help/ja_JP",%T); + diff --git a/modules/graphic_export/help/ja_JP/driver.xml b/modules/graphic_export/help/ja_JP/driver.xml new file mode 100755 index 000000000..92ddc783c --- /dev/null +++ b/modules/graphic_export/help/ja_JP/driver.xml @@ -0,0 +1,216 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) ENPC - Jean-Philippe Chancelier + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="driver"> + <refnamediv> + <refname>driver</refname> + <refpurpose>グラフィックドライãƒã‚’é¸æŠžã™ã‚‹</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼ã³å‡ºã—æ‰‹é †</title> + <synopsis> + current_driver = driver() + driver(driver_name) + previous_driver = driver(driver_name) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>引数</title> + <variablelist> + <varlistentry> + <term>driver_name</term> + <listitem> + <para> + æ–‡å—列, é¸æŠžã™ã‚‹ãƒ‰ãƒ©ã‚¤ãƒ(大文å—å°æ–‡å—を区別ã›ãš). + </para> + </listitem> + <term>current_driver</term> + <listitem> + <para>æ–‡å—列, é¸æŠžä¸ã®ãƒ‰ãƒ©ã‚¤ãƒ.</para> + </listitem> + <term>previous_driver</term> + <listitem> + <para>æ–‡å—列, å‰ã«é¸æŠžã•ã‚ŒãŸãƒ‰ãƒ©ã‚¤ãƒ.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + ã“ã®é–¢æ•°ã¯ç•°ãªã‚‹ã‚¨ã‚¯ã‚¹ãƒãƒ¼ãƒˆã¾ãŸã¯è¡¨ç¤ºç”¨ã®ç•°ãªã‚‹ãƒ‰ãƒ©ã‚¤ãƒé–“ã® + スイッãƒã‚’æä¾›ã—ã¾ã™. + </para> + <para> + ç”»é¢ã¸ã®ç›´æŽ¥ãƒ¬ãƒ³ãƒ€ãƒªãƒ³ã‚°ã¾ãŸã¯ã‚°ãƒ©ãƒ•ã‚£ãƒƒã‚¯ãƒ¦ãƒ¼ã‚¶ã‚¤ãƒ³ã‚¿ãƒ¼ãƒ•ã‚§ã‚¤ã‚¹ + ã®ãªã„オフスクリーンエクスãƒãƒ¼ãƒˆãŒ, + <literal>scilab-adv-cli</literal> (ã¾ãŸã¯ + <literal>-nw</literal>を付ã‘ã¦ã‚³ãƒ¼ãƒ«)モードã§åˆ©ç”¨å¯èƒ½ã§ã™. + </para> + <para> + 入力引数を指定ã•ãˆãšã«ä½¿ç”¨ã—ãŸå ´åˆ, + <function>driver</function>関数ã¯ç¾åœ¨ã® + グラフィックドライãƒåã‚’è¿”ã—ã¾ã™. + </para> + </refsection> + <refsection> + <title>ç”»é¢å‡ºåŠ›</title> + <para> + Scilabã®ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®å‹•ä½œã§ã¯, + グラフィックをオフスクリーン形å¼ã§ã¯ãªã + æ–°è¦ã‚¦ã‚¤ãƒ³ãƒ‰ã‚¦ã«è¡¨ç¤ºã—ã¾ã™. + </para> + <para> + グラフィックを書ãè¾¼ã¾ãªã„å ´åˆ, "null"å½¢å¼ã‚’使用ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™. + </para> + <variablelist> + <varlistentry> + <term>X11ã¾ãŸã¯Rec</term> + <listitem> + <para>コンピュータ画é¢ã«å‡ºåŠ›.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>サãƒãƒ¼ãƒˆã•ã‚Œã‚‹ãƒ™ã‚¯ãƒˆãƒ«å½¢å¼</title> + <para> + é¸æŠžã•ã‚Œã‚‹ãƒ‰ãƒ©ã‚¤ãƒã¯ä»¥ä¸‹ã®ãƒ™ã‚¯ãƒˆãƒ«å½¢å¼ã®ã©ã‚Œã‹ã¨ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™: + </para> + <variablelist> + <varlistentry> + <term>Posã¾ãŸã¯ps</term> + <listitem> + <para>ãƒã‚¹ãƒˆã‚¹ã‚¯ãƒªãƒ—ト形å¼ã§å‡ºåŠ›.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>PDF</term> + <listitem> + <para>PDFå½¢å¼ã§å‡ºåŠ›.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>SVG</term> + <listitem> + <para>SVGå½¢å¼ã§å‡ºåŠ›.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>サãƒãƒ¼ãƒˆã•ã‚Œã‚‹ãƒ“ットマップ形å¼</title> + <para> + é¸æŠžã•ã‚ŒãŸãƒ‰ãƒ©ã‚¤ãƒã¯ä»¥ä¸‹ã®ãƒ“ットマップ形å¼ã®ã©ã‚Œã‹ã¨ + ã™ã‚‹ã“ã¨ãŒã§ãã¾ã™: + </para> + <variablelist> + <varlistentry> + <term>GIF</term> + <listitem> + <para>GIFå½¢å¼ã§å‡ºåŠ›.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>PNG</term> + <listitem> + <para>PNGå½¢å¼ã§å‡ºåŠ›.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>JPEG ã¾ãŸã¯ JPG</term> + <listitem> + <para>JPEGå½¢å¼ã§å‡ºåŠ›.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>BMP</term> + <listitem> + <para>BMPå½¢å¼ã§å‡ºåŠ›.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>PPM</term> + <listitem> + <para>portable pixmap (PPM) å½¢å¼ã§å‡ºåŠ›.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>注æ„</title> + <para> + グラフィック出力を(一時ディレクトリã«æ›¸ã‹ã‚Œã‚‹) + GIFファイルã«ãƒªãƒ€ã‚¤ãƒ¬ã‚¯ãƒˆã™ã‚‹éš›ã«, + 以下ã®ä¾‹ã‚’使用ã§ãã¾ã™: + </para> + <programlisting role="example"><![CDATA[ +previous_driver = driver('GIF'); +xinit(TMPDIR+'/mygiffile.gif'); +plot3d(); +xend(); +driver(previous_driver); // Scilabã®å…ƒã®å‹•ä½œã«æˆ»ã™ + ]]></programlisting> + <para> + 例ãˆã°,<literal>img*.gif</literal>ã¨ã„ã†åå‰ã® + 一連ã®GIFファイルを生æˆã—ãŸå ´åˆ, + (<literal>anim.gif</literal>ã¨ã„ã†åå‰ã®) + アニメーションGIFファイルを以下ã®ã‚ˆã†ã«æ§‹ç¯‰ã§ãã¾ã™. + </para> + <synopsis> + convert -delay 10 img*.gif anim.gif + </synopsis> + </refsection> + <refsection role="see also"> + <title>å‚ç…§</title> + <simplelist type="inline"> + <member> + <link linkend="xinit">xinit</link> + </member> + <member> + <link linkend="xend">xend</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>å±¥æ´</title> + <revhistory> + <revision> + <revnumber>5.4.0</revnumber> + <revremark> + <itemizedlist> + <listitem> + å…ƒã®ãƒ‰ãƒ©ã‚¤ãƒå€¤ã‚’è¿”ã™. + </listitem> + <listitem> + オフスクリーンエクスãƒãƒ¼ãƒˆã‚’å¯èƒ½ã«. + Scilabã¯æ–°è¦ã‚¦ã‚¤ãƒ³ãƒ‰ã‚¦ã‚’オープンã›ãšã«ã‚°ãƒ©ãƒ•ã‚£ãƒƒã‚¯ + をグラフィックをエクスãƒãƒ¼ãƒˆã—ã¾ã™. + </listitem> + <listitem> + æ–°è¦ãƒ“ットマップ形å¼ã®ã‚µãƒãƒ¼ãƒˆ: PNG, JPEG ãŠã‚ˆã³ BMP. + </listitem> + <listitem> + æ–°è¦ãƒ™ã‚¯ãƒˆãƒ«å½¢å¼ã®ã‚µãƒãƒ¼ãƒˆ: PDF ãŠã‚ˆã³ SVG. + </listitem> + <listitem> + 関数ã¯å°æ–‡å—ãŠã‚ˆã³å¤§æ–‡å—ã®å¼•æ•°ã‚’å—ã‘付ã‘ã¾ã™. + </listitem> + <listitem> + Fig ドライãƒã¯å»ƒæ¢ã•ã‚Œã¾ã—ãŸ. + </listitem> + </itemizedlist> + </revremark> + </revision> + </revhistory> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ja_JP/xend.xml b/modules/graphic_export/help/ja_JP/xend.xml new file mode 100755 index 000000000..92244afcd --- /dev/null +++ b/modules/graphic_export/help/ja_JP/xend.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) ENPC - Jean-Philippe Chancelier + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="xend"> + <refnamediv> + <refname>xend</refname> + <refpurpose>グラフィックセッションを閉ã˜ã‚‹</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼ã³å‡ºã—æ‰‹é †</title> + <synopsis>xend()</synopsis> + </refsynopsisdiv> + <refsection> + <title>説明</title> + <para> + <literal>xend</literal> ã¯ã‚°ãƒ©ãƒ•ã‚£ãƒƒã‚¯ã‚»ãƒƒã‚·ãƒ§ãƒ³ã‚’é–‰ã˜ã‚‹éš›ã« + 使用ã•ã‚Œã¾ã™. + Postscript, + Xfig ã¾ãŸã¯ Gifドライãƒã®å ´åˆ,<literal>xend</literal>㯠+ <literal>xinit</literal>ã§ã‚ªãƒ¼ãƒ—ンã•ã‚ŒãŸãƒ•ã‚¡ã‚¤ãƒ«ã‚’é–‰ã˜ã¾ã™. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +driver("Pos") +xinit("foo.ps") +plot2d() +xend() +driver("X11") + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>å‚ç…§</title> + <simplelist type="inline"> + <member> + <link linkend="xinit">xinit</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ja_JP/xinit.xml b/modules/graphic_export/help/ja_JP/xinit.xml new file mode 100755 index 000000000..973e0a83a --- /dev/null +++ b/modules/graphic_export/help/ja_JP/xinit.xml @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) ENPC - Jean-Philippe Chancelier + * Copyright (C) 2008 - INRIA - Jean-Baptiste Silvy + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="xinit"> + <refnamediv> + <refname>xinit</refname> + <refpurpose>グラフィックドライãƒã®åˆæœŸåŒ–</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼ã³å‡ºã—æ‰‹é †</title> + <synopsis> + xinit(FileName) + xinit() + </synopsis> + </refsynopsisdiv> + <refsection> + <title>パラメータ</title> + <variablelist> + <varlistentry> + <term>FileName</term> + <listitem> + <para>æ–‡å—列: エã‚スãƒãƒ¼ãƒˆãƒ•ã‚¡ã‚¤ãƒ«ã®åå‰.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + Postscript, Xfig, Gif ã¾ãŸã¯ PPM ドライãƒã®å ´åˆ, + <literal>FileName</literal> を指定ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™. + ファイルåã§æŒ‡å®šã•ã‚ŒãŸãƒ•ã‚¡ã‚¤ãƒ«ã«å…¨ã¦ã®ã‚°ãƒ©ãƒ•ã‚£ãƒƒã‚¯å‡¦ç†ãŒè¨˜éŒ²ã•ã‚Œã¾ã™. + </para> + <para> + ç”»é¢ãƒ‰ãƒ©ã‚¤ãƒ(X11ã¾ãŸã¯Rec)ã®å ´åˆ, + <literal>xinit</literal> ã¯å¼•æ•°ã‚’指定ã›ãšã«ã‚³ãƒ¼ãƒ«ã™ã‚‹å¿…è¦ãŒã‚ã‚Š, + ã‹ã‚‰ã®ç”»é¢ã‚¦ã‚¤ãƒ³ãƒ‰ã‚¦ãŒã‚ªãƒ¼ãƒ—ンã•ã‚Œã¾ã™. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +driver("Pos") +xinit("foo.ps") +plot2d() +xend() +driver("X11") + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>å‚ç…§</title> + <simplelist type="inline"> + <member> + <link linkend="driver">driver</link> + </member> + <member> + <link linkend="xend">xend</link> + </member> + <member> + <link linkend="scf">scf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ja_JP/xs2bmp.xml b/modules/graphic_export/help/ja_JP/xs2bmp.xml new file mode 100755 index 000000000..13193b505 --- /dev/null +++ b/modules/graphic_export/help/ja_JP/xs2bmp.xml @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2bmp" xml:lang="ja"> + <refnamediv> + <refname>xs2bmp</refname> + <refpurpose>BMPファイルã«ã‚°ãƒ©ãƒ•ã‚£ãƒƒã‚¯ã‚¹ã‚’出力.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼ã³å‡ºã—æ‰‹é †</title> + <synopsis>xs2bmp(win_num, file_name) + xs2bmp(fig, file_name) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>パラメータ</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>æ•´æ•°, エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ID.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ãƒãƒ³ãƒ‰ãƒ«.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>æ–‡å—列, エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®åå‰.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <literal>xs2bmp</literal> ã¯BMPファイル㫠+ グラフィックウインドウã®è¡¨ç¤ºå†…容をエã‚スãƒãƒ¼ãƒˆã—ã¾ã™. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +//BMP export +xs2bmp(0,'foo.bmp'); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>å‚ç…§</title> + <simplelist type="inline"> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ja_JP/xs2emf.xml b/modules/graphic_export/help/ja_JP/xs2emf.xml new file mode 100755 index 000000000..2bc600469 --- /dev/null +++ b/modules/graphic_export/help/ja_JP/xs2emf.xml @@ -0,0 +1,122 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2emf" xml:lang="ja"> + <refnamediv> + <refname>xs2emf</refname> + <refpurpose>EMFã«ã‚°ãƒ©ãƒ•ã‚£ãƒƒã‚¯ã‚¹ã‚’出力.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼ã³å‡ºã—æ‰‹é †</title> + <synopsis> + xs2emf(win_num, file_name [,orientation]) + xs2emf(fig, file_name [,orientation]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>引数</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>æ•´æ•°, エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ID.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ãƒãƒ³ãƒ‰ãƒ«.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>æ–‡å—列, エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®åå‰.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para> + オプションã®æ–‡å—, 'portrait' ã¾ãŸã¯ 'landscape'を指定å¯èƒ½. + デフォルト値㯠'portrait'. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <literal>xs2emf</literal> ã¯ã‚°ãƒ©ãƒ•ã‚£ãƒƒã‚¯ã‚¦ã‚¤ãƒ³ãƒ‰ã‚¦ã®è¡¨ç¤ºå†…容を + EMFファイルã«ã‚¨ã‚スãƒãƒ¼ãƒˆã—ã¾ã™. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ + scf(0); + plot2d(); + //EMF エクスãƒãƒ¼ãƒˆ + xs2emf(0, "foo.emf"); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>å‚ç…§</title> + <simplelist type="inline"> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>å±¥æ´</title> + <revhistory> + <revision> + <revnumber>5.5.0</revnumber> + <revremark> + EMFエクスãƒãƒ¼ãƒˆãŒå…¨ãƒ—ラットフォームã§åˆ©ç”¨å¯èƒ½ã¨ãªã‚Šã¾ã—ãŸ. + </revremark> + </revision> + </revhistory> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ja_JP/xs2eps.xml b/modules/graphic_export/help/ja_JP/xs2eps.xml new file mode 100755 index 000000000..a893d47fd --- /dev/null +++ b/modules/graphic_export/help/ja_JP/xs2eps.xml @@ -0,0 +1,111 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2eps" xml:lang="ja"> + <refnamediv> + <refname>xs2eps</refname> + <refpurpose>グラフィックスをEPS ファイルã«å‡ºåŠ›.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼ã³å‡ºã—æ‰‹é †</title> + <synopsis>xs2eps(win_num, file_name [,orientation]) + xs2eps(fig, file_name [,orientation]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>パラメータ</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>æ•´æ•°, エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®id.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ãƒãƒ³ãƒ‰ãƒ«.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>æ–‡å—列, エã‚スãƒãƒ¼ãƒˆã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã®åå‰.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para>オプションã®æ–‡å—列, 指定å¯èƒ½ãªå€¤ã¯ 'portrait' ã¾ãŸã¯ + 'landscape'. デフォルト値㯠'portrait'ã§ã™. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <literal>xs2eps</literal> ã¯,グラフィックウインドウ㮠+ 出力を完全ãªEncapsulated PostScriptファイルã«ã‚¨ã‚スãƒãƒ¼ãƒˆã—ã¾ã™. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +//EPS export +xs2eps(0,'foo.eps') +xs2eps(gcf(),'foo.eps') + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>å‚ç…§</title> + <simplelist type="inline"> + <member>figure_size property</member> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ja_JP/xs2gif.xml b/modules/graphic_export/help/ja_JP/xs2gif.xml new file mode 100755 index 000000000..25e258981 --- /dev/null +++ b/modules/graphic_export/help/ja_JP/xs2gif.xml @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2gif" xml:lang="ja"> + <refnamediv> + <refname>xs2gif</refname> + <refpurpose>GIFファイルã«ã‚°ãƒ©ãƒ•ã‚£ãƒƒã‚¯ã‚¹ã‚’出力.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼ã³å‡ºã—æ‰‹é †</title> + <synopsis>xs2gif(win_num,file_name) + xs2gif(fig,file_name) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>パラメータ</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>æ•´æ•°, エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ID.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ãƒãƒ³ãƒ‰ãƒ«.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>æ–‡å—列, エã‚スãƒãƒ¼ãƒˆã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã®åå‰.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <literal>xs2gif</literal> ã¯ã‚°ãƒ©ãƒ•ã‚£ãƒƒã‚¯ã‚¦ã‚¤ãƒ³ãƒ‰ã‚¦ã®è¡¨ç¤ºå†…容を + GIFファイルã«ã‚¨ã‚スãƒãƒ¼ãƒˆã—ã¾ã™. + </para> + <para> + 一連ã®"GIF"ファイルをアニメーションGIFファイルã«å¤‰æ›ã™ã‚‹ãŸã‚ã«, + ImageMagic + (http://www.imagemagick.org/)ã®"convert"プãƒã‚°ãƒ©ãƒ を使用ã§ãã¾ã™. + </para> + <para> + 例ãˆã°,<literal>img*.gif</literal>ã¨ã„ã†åå‰ã®ä¸€é€£ã®Gifファイルを + 生æˆã—ãŸå ´åˆ,(anim.gifã¨ã„ã†åå‰ã®)アニメーションGifファイルを + 以下ã®ã‚ˆã†ã«ä½œæˆã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ + </para> + <programlisting role=""><![CDATA[ +convert -delay 10 img*.gif anim.gif + ]]></programlisting> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +scf(0); +plot2d(); +//GIF export +xs2gif(0,'foo.gif'); +xs2gif(gcf(),'foo.gif'); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>å‚ç…§</title> + <simplelist type="inline"> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ja_JP/xs2jpg.xml b/modules/graphic_export/help/ja_JP/xs2jpg.xml new file mode 100755 index 000000000..046eaf533 --- /dev/null +++ b/modules/graphic_export/help/ja_JP/xs2jpg.xml @@ -0,0 +1,96 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2jpg" xml:lang="ja"> + <refnamediv> + <refname>xs2jpg</refname> + <refpurpose>JPGファイルã«ã‚°ãƒ©ãƒ•ã‚£ãƒƒã‚¯ã‚¹ã‚’出力.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼ã³å‡ºã—æ‰‹é †</title> + <synopsis>xs2jpg(win_num, file_name) + xs2jpg(fig, file_name) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>パラメータ</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>æ•´æ•°, エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ID.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ãƒãƒ³ãƒ‰ãƒ«.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>æ–‡å—列, エã‚スãƒãƒ¼ãƒˆã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã®åå‰.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <literal>xs2jpg</literal> ã¯ã‚°ãƒ©ãƒ•ã‚£ãƒƒã‚¯ã‚¦ã‚¤ãƒ³ãƒ‰ã‚¦ã®è¡¨ç¤ºå†…容を + JPGファイルã«ã‚¨ã‚スãƒãƒ¼ãƒˆã—ã¾ã™. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +scf(0); +plot2d(); +//JPG export +xs2jpg(0,'foo.jpg'); +xs2jpg(gcf(),'foo.jpg'); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>å‚ç…§</title> + <simplelist type="inline"> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ja_JP/xs2pdf.xml b/modules/graphic_export/help/ja_JP/xs2pdf.xml new file mode 100755 index 000000000..0f5114083 --- /dev/null +++ b/modules/graphic_export/help/ja_JP/xs2pdf.xml @@ -0,0 +1,112 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2pdf" xml:lang="ja"> + <refnamediv> + <refname>xs2pdf</refname> + <refpurpose>グラフィックスをPDFファイルã«ä¿å˜ã™ã‚‹.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼ã³å‡ºã—æ‰‹é †</title> + <synopsis>xs2pdf(win_num, file_name [,orientation]) + xs2pdf(fig, file_name [,orientation]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>パラメータ</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>æ•´æ•°, エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ID.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ãƒãƒ³ãƒ‰ãƒ«.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>æ–‡å—列, エã‚スãƒãƒ¼ãƒˆã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã®åå‰.</para> + <para>æ‹¡å¼µåãŒæŒ‡å®šã•ã‚Œãªã„å ´åˆ, 自動的ã«ä»˜åŠ ã•ã‚Œã¾ã™.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para>オプションã®ãƒ‘ラメータã§, 'portrait' ã¾ãŸã¯ 'landscape'を指定ã§ãã¾ã™. デフォルト値㯠'portrait'ã§ã™.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <literal>xs2pdf</literal> ã¯ã‚°ãƒ©ãƒ•ã‚£ãƒƒã‚¯ã‚¦ã‚¤ãƒ³ãƒ‰ã‚¦ã®è¡¨ç¤ºå†…容をPDFファイルã«ã‚¨ã‚スãƒãƒ¼ãƒˆã—ã¾ã™. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +scf(0); +plot2d(); +//PDF export +filename='foo'; +xs2pdf(0,filename); +xs2pdf(gcf(),filename); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>å‚ç…§</title> + <simplelist type="inline"> + <member> + <link linkend="figure_properties">figure_size property</link> + </member> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ja_JP/xs2png.xml b/modules/graphic_export/help/ja_JP/xs2png.xml new file mode 100755 index 000000000..c6bb1de2b --- /dev/null +++ b/modules/graphic_export/help/ja_JP/xs2png.xml @@ -0,0 +1,96 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2png" xml:lang="ja"> + <refnamediv> + <refname>xs2png</refname> + <refpurpose>グラフィックスをPNG ファイルã«å‡ºåŠ›.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼ã³å‡ºã—æ‰‹é †</title> + <synopsis>xs2png(win_num, file_name) + xs2png(fig, file_name) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>パラメータ</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>æ•´æ•°, エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ID.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ãƒãƒ³ãƒ‰ãƒ«.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>æ–‡å—列, エã‚スãƒãƒ¼ãƒˆã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã®åå‰.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <literal>xs2png</literal> ã¯ã‚°ãƒ©ãƒ•ã‚£ãƒƒã‚¯ã‚¦ã‚¤ãƒ³ãƒ‰ã‚¦ã®è¡¨ç¤ºå†…容を + PNGファイルã«ã‚¨ã‚スãƒãƒ¼ãƒˆã—ã¾ã™. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +//PNG export +xs2png(0,'foo.png'); +xs2png(gcf(),'foo.png'); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>å‚ç…§</title> + <simplelist type="inline"> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ja_JP/xs2ppm.xml b/modules/graphic_export/help/ja_JP/xs2ppm.xml new file mode 100755 index 000000000..1f695c7f4 --- /dev/null +++ b/modules/graphic_export/help/ja_JP/xs2ppm.xml @@ -0,0 +1,96 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2ppm" xml:lang="ja"> + <refnamediv> + <refname>xs2ppm</refname> + <refpurpose>グラフィックスをPPMファイルã«å‡ºåŠ›.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼ã³å‡ºã—æ‰‹é †</title> + <synopsis>xs2ppm(win_num, file_name) + xs2ppm(fig, file_name) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>パラメータ</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>æ•´æ•°, エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ID.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ãƒãƒ³ãƒ‰ãƒ«.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>æ–‡å—列, エã‚スãƒãƒ¼ãƒˆã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã®åå‰.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <literal>xs2ppm</literal> ã¯ã‚°ãƒ©ãƒ•ã‚£ãƒƒã‚¯ã‚¦ã‚¤ãƒ³ãƒ‰ã‚¦ã®è¡¨ç¤ºå†…容を + PPMファイルã«ã‚¨ã‚スãƒãƒ¼ãƒˆã—ã¾ã™. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +//PPM export +filename='foo.ppm'; +xs2ppm(0,filename); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>å‚ç…§</title> + <simplelist type="inline"> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ja_JP/xs2ps.xml b/modules/graphic_export/help/ja_JP/xs2ps.xml new file mode 100755 index 000000000..8823c4be8 --- /dev/null +++ b/modules/graphic_export/help/ja_JP/xs2ps.xml @@ -0,0 +1,116 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2ps" xml:lang="ja"> + <refnamediv> + <refname>xs2ps</refname> + <refpurpose>グラフィックスをPSファイルã«å‡ºåŠ›.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼ã³å‡ºã—æ‰‹é †</title> + <synopsis>xs2ps(win_num, file_name [,orientation]) + xs2ps(fig, file_name [,orientation]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>パラメータ</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>æ•´æ•°, エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ID.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ãƒãƒ³ãƒ‰ãƒ«.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>æ–‡å—列, エã‚スãƒãƒ¼ãƒˆã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã®åå‰.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para>オプションã®ãƒ‘ラメータã§, 'portrait' ã¾ãŸã¯ 'landscape'を指定ã§ãã¾ã™. + デフォルト値㯠'portrait'ã§ã™. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <literal>xs2ps</literal> ã¯ã‚°ãƒ©ãƒ•ã‚£ãƒƒã‚¯ã‚¦ã‚¤ãƒ³ãƒ‰ã‚¦ã®è¡¨ç¤ºå†…容を + PostScriptファイルã«ã‚¨ã‚スãƒãƒ¼ãƒˆã—ã¾ã™. + </para> + <para>生æˆã•ã‚ŒãŸPostScriptファイルを直接å°å—ã™ã‚‹ã“ã¨ã¯ã§ããªã„ã“ã¨ã«æ³¨æ„ã—ã¦ãã ã•ã„. + ã“ã‚Œã¯ãƒ˜ãƒƒãƒ€ãƒ•ã‚¡ã‚¤ãƒ«ã‚’å¿…è¦ã¨ã™ã‚‹ãŸã‚ã§ã™. + ヘッダ付ãã®encapsulated Postscript ファイルを + 直接生æˆã™ã‚‹ãŸã‚ã«é–¢æ•° <literal>xs2eps</literal> を使用ã§ãã¾ã™. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +scf(0); +plot2d(); +// Postcript export +filename='foo.ps'; +xs2ps(0,filename); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>å‚ç…§</title> + <simplelist type="inline"> + <member>figure_size property</member> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ja_JP/xs2svg.xml b/modules/graphic_export/help/ja_JP/xs2svg.xml new file mode 100755 index 000000000..101d2de79 --- /dev/null +++ b/modules/graphic_export/help/ja_JP/xs2svg.xml @@ -0,0 +1,111 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2svg" xml:lang="ja"> + <refnamediv> + <refname>xs2svg</refname> + <refpurpose>グラフィックスをSVGファイルã«å‡ºåŠ›.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼ã³å‡ºã—æ‰‹é †</title> + <synopsis>xs2svg(win_num, file_name [,orientation]) + xs2svg(fig, file_name [,orientation]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>パラメータ</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>æ•´æ•°, エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ID.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para>エã‚スãƒãƒ¼ãƒˆã™ã‚‹å›³ã®ãƒãƒ³ãƒ‰ãƒ«.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para>æ–‡å—列, エã‚スãƒãƒ¼ãƒˆã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã®åå‰.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para>オプションã®ãƒ‘ラメータã§, 'portrait' ã¾ãŸã¯ 'landscape'を指定ã§ãã¾ã™. + デフォルト値㯠'portrait'ã§ã™. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <literal>xs2svg</literal> ã¯ã‚°ãƒ©ãƒ•ã‚£ãƒƒã‚¯ã‚¦ã‚¤ãƒ³ãƒ‰ã‚¦ã®è¡¨ç¤ºå†…容を + SVGファイルã«ã‚¨ã‚スãƒãƒ¼ãƒˆã—ã¾ã™. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +//SVG export +xs2svg(0,'foo.svg') +xs2svg(gcf(),'foo.svg'); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>å‚ç…§</title> + <simplelist type="inline"> + <member>figure_size property</member> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/pt_BR/addchapter.sce b/modules/graphic_export/help/pt_BR/addchapter.sce new file mode 100755 index 000000000..e585dd680 --- /dev/null +++ b/modules/graphic_export/help/pt_BR/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Gráficos : exportando e imprimindo",SCI+"/modules/graphic_export/help/pt_BR",%T); + diff --git a/modules/graphic_export/help/pt_BR/driver.xml b/modules/graphic_export/help/pt_BR/driver.xml new file mode 100755 index 000000000..aaea42aef --- /dev/null +++ b/modules/graphic_export/help/pt_BR/driver.xml @@ -0,0 +1,106 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) ENPC - Jean-Philippe Chancelier + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="driver" xml:lang="en"> + <refnamediv> + <refname>driver</refname> + <refpurpose>seleciona um driver gráfico</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>driver(driver_name) + current_driver=driver() + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>driver_name</term> + <listitem> + <para>string, driver a ser selecionado.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para>Esta função seleciona um driver gráfico, ou, sem argumentos, retorna + o nome do driver gráfico corrente. Na maioria das vezes, o usuário pode + ignorar esta função e modificar o driver por uma chamada a funções de alto + nível como <literal>clf</literal>. O driver selecionado pode ser um dos + seguintes: + </para> + <variablelist> + <varlistentry> + <term>"X11"</term> + <listitem> + <para>saída para a tela do computador.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"Pos"</term> + <listitem> + <para>saída em formato Postscript.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"Rec"</term> + <listitem> + <para>saída para a tela do computador. É o mesmo que + <literal>X11</literal>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>"Fig"</term> + <listitem> + <para>saída em formato XFig.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"GIF"</term> + <listitem> + <para>saída em formato Gif.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"PPM"</term> + <listitem> + <para>saída em formato PPM.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Observação</title> + <para>Para converter arquivos "GIF" ou "PPM" para outro formato de imagem + para construir uma animação pode-se utilizar o programa "convert" para + ImageMagic (http://www.imagemagick.org/) + </para> + <para>Por exemplo, se é gerada uma seqüência de arquivos Gif nomeada + <literal>img*.gif</literal> é possível construir um arquivo Gif animado + (chamado anim.gif) por + </para> + <programlisting role=""><![CDATA[ +convert -delay 10 img*.gif anim.gif + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="clf">clf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/pt_BR/xend.xml b/modules/graphic_export/help/pt_BR/xend.xml new file mode 100755 index 000000000..8b4fbf568 --- /dev/null +++ b/modules/graphic_export/help/pt_BR/xend.xml @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) ENPC - Jean-Philippe Chancelier + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xend" xml:lang="en"> + <refnamediv> + <refname>xend</refname> + <refpurpose>termina uma sessão de gráficos</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>xend()</synopsis> + </refsynopsisdiv> + <refsection> + <title>Descrição</title> + <para> + <literal>xend</literal> é usado para encerrar uma sessão de + gráficos. Sob os drivers Postscript, Xfig ou Gif <literal>xend</literal> + fecha o arquivo que foi aberto por <literal>xinit</literal>. + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +driver("Pos") +xinit("foo.ps") +plot2d() +xend() +driver("X11") + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="xinit">xinit</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/pt_BR/xinit.xml b/modules/graphic_export/help/pt_BR/xinit.xml new file mode 100755 index 000000000..be83db47c --- /dev/null +++ b/modules/graphic_export/help/pt_BR/xinit.xml @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) ENPC - Jean-Philippe Chancelier + * Copyright (C) 2008 - INRIA - Jean-Baptiste Silvy + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xinit" xml:lang="en"> + <refnamediv> + <refname>xinit</refname> + <refpurpose>inicialização de um driver de gráficos</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis> + xinit(FileName) + xinit() + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>FileName</term> + <listitem> + <para>string: nome do arquivo a exportar</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para>Para os drivers Postscript, Xfig, Gif ou PPM, + <literal>FileName</literal> deve ser especificado. É o nome do arquivo + onde todas as operações gráficas são registradas. + </para> + <para> + Para os drivers (X11 ou Rec), <literal>xinit</literal> deve ser + chamado sem nenhum argumento e abre uma janela de gráficos vazia. + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +driver("Pos") +xinit("foo.ps") +plot2d() +xend() +driver("X11") + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="driver">driver</link> + </member> + <member> + <link linkend="xend">xend</link> + </member> + <member> + <link linkend="scf">scf</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>Autores</title> + <para>J.Ph.C.</para> + <para>Jean-Baptiste Silvy</para> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/pt_BR/xs2bmp.xml b/modules/graphic_export/help/pt_BR/xs2bmp.xml new file mode 100755 index 000000000..17f2f498b --- /dev/null +++ b/modules/graphic_export/help/pt_BR/xs2bmp.xml @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2bmp" xml:lang="en"> + <refnamediv> + <refname>xs2bmp</refname> + <refpurpose>envia gráficos para um arquivo em sintaxe BMP</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>xs2bmp(win_num,filen)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>escalar inteiro</para> + </listitem> + </varlistentry> + <varlistentry> + <term>filen</term> + <listitem> + <para>string, nome do arquivo</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para> + <literal>xs2bmp</literal> envia os gráficos gravados em uma janela + <literal>win_num</literal> para o arquivo <literal>filen</literal> no + formato BMP. + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +//Exportando para BMP +xs2bmp(0,'foo.bmp'); + ]]></programlisting> + </refsection> + <refsection> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/pt_BR/xs2emf.xml b/modules/graphic_export/help/pt_BR/xs2emf.xml new file mode 100755 index 000000000..d69e88da5 --- /dev/null +++ b/modules/graphic_export/help/pt_BR/xs2emf.xml @@ -0,0 +1,103 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2emf" xml:lang="en"> + <refnamediv> + <refname>xs2emf</refname> + <refpurpose>envia gráficos para um arquivo em sintaxe EMF (apenas para + Windows) + </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>xs2emf(win_num,filen [,orientation])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>escalar inteiro </para> + </listitem> + </varlistentry> + <varlistentry> + <term>filen</term> + <listitem> + <para>string, o nome do arquivo.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para>caractere opcional com valores possÃveis 'p' (retrato) ou 'l' + (paisagem). O valor padrão é 'p'. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para> + <literal>xs2emf</literal> envia os gráficos gravados em uma janela + <literal>win_num</literal> para o arquivo <literal>filen</literal> no + formato EMF. + </para> + <para>Para o formato EMF, criamos um arquivo EPS que será convertido para + o formato EMFpor pstoedit. + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +if getos() == 'Windows' then + scf(0); + plot2d(); + //Exportando para EMF + xs2emf(0,'foo.emf'); +end + ]]></programlisting> + </refsection> + <refsection> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/pt_BR/xs2eps.xml b/modules/graphic_export/help/pt_BR/xs2eps.xml new file mode 100755 index 000000000..b7b2f5aae --- /dev/null +++ b/modules/graphic_export/help/pt_BR/xs2eps.xml @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2eps" xml:lang="en"> + <refnamediv> + <refname>xs2eps</refname> + <refpurpose>salva gráficos em um arquivo Postscript</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>xs2eps(win_num,filen [,orientation])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>vetor de inteiros ou escalar inteiro </para> + </listitem> + </varlistentry> + <varlistentry> + <term>filen</term> + <listitem> + <para>string, nome do arquivo </para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para>caractere opcional, com possÃveis valores 'p' (retrato) ou 'l' + (paisagem). O valor padrão é 'p'. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para> + <literal>xs2eps</literal> salva os gráficos gravados da janela + <literal>win_num</literal> em um arquivo <literal>filen</literal> em + sintaxe Postscript. Note que <literal>filen</literal> não deve ter + extensão. + </para> + <para> + <literal>xs2eps</literal> produz um arquivo Postscript encapsulado + completo.<literal> </literal> + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +scf(0); +plot2d(); +//Exportando para EPS +filename='foo.eps'; +xs2eps(0,filename); + ]]></programlisting> + </refsection> + <refsection> + <title>Ver Também</title> + <simplelist type="inline"> + <member>figure_size property</member> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/pt_BR/xs2gif.xml b/modules/graphic_export/help/pt_BR/xs2gif.xml new file mode 100755 index 000000000..b1bea8220 --- /dev/null +++ b/modules/graphic_export/help/pt_BR/xs2gif.xml @@ -0,0 +1,99 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2gif" xml:lang="en"> + <refnamediv> + <refname>xs2gif</refname> + <refpurpose>envia gráficos a um arquivo em sintaxe GIF</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>xs2gif(win_num,filen)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>escalar inteiro ou vetor de inteiros. </para> + </listitem> + </varlistentry> + <varlistentry> + <term>filen</term> + <listitem> + <para>string, nome do arquivo </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para> + <literal>xs2gif</literal> envia os gráficos gravados da janela + window <literal>win_num</literal> para o arquivo <literal>filen</literal> + em formato GIF. + </para> + <para>Para converter uma seqüência de arquivos GIF em um arquivo GIF + animado, pode-se usar o programa "convert" para ImageMagic + (http://www.imagemagick.org/) + </para> + <para>Por exemplo, se for gerada uma seqüência de arquivos GIF chamada + <literal>img*.gif</literal> é possÃvel construir um arquivo GIF animado + (chamado anim.gif) através da seqüência + </para> + <programlisting role=""><![CDATA[ +convert -delay 10 img*.gif anim.gif + ]]></programlisting> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +//Exportando para GIF +xs2gif(0,'foo.gif'); + ]]></programlisting> + </refsection> + <refsection> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/pt_BR/xs2jpg.xml b/modules/graphic_export/help/pt_BR/xs2jpg.xml new file mode 100755 index 000000000..9886978cb --- /dev/null +++ b/modules/graphic_export/help/pt_BR/xs2jpg.xml @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2jpg" xml:lang="en"> + <refnamediv> + <refname>xs2jpg</refname> + <refpurpose>envia gráficos a um arquivo em sintaxe JPG</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>xs2jpg(win_num,filen)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>escalar inteiro</para> + </listitem> + </varlistentry> + <varlistentry> + <term>filen</term> + <listitem> + <para>string, nome do arquivo</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para> + <literal>xs2jpg</literal> envia os gráficos gravados da janela + <literal>win_num</literal> para o arquivo <literal>filen</literal> em + formato JPG. + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +scf(0); +plot2d(); +//Exportando para JPG +xs2jpg(0,'foo.jpg'); + ]]></programlisting> + </refsection> + <refsection> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/pt_BR/xs2pdf.xml b/modules/graphic_export/help/pt_BR/xs2pdf.xml new file mode 100755 index 000000000..4dc0bedd0 --- /dev/null +++ b/modules/graphic_export/help/pt_BR/xs2pdf.xml @@ -0,0 +1,107 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2pdf" xml:lang="en"> + <refnamediv> + <refname>xs2pdf</refname> + <refpurpose>salva gráficos a um arquivo PDF</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>xs2pdf(win_num,filen [,orientation])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>escalar inteiro</para> + </listitem> + </varlistentry> + <varlistentry> + <term>filen</term> + <listitem> + <para>string, nome do arquivo</para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para>caractere opcional, com possÃveis valores 'p' (retrato) ou 'l' + (paisagem). O valor padrão é 'p'. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para> + <literal>xs2pdf</literal> salva os gráficos gravados da janela + <literal>win_num</literal> em um arquivo <literal>filen</literal> in PDF + syntax. em sintaxe Postscript. Note que <literal>filen</literal> não deve + ter extensão. + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +scf(0); +plot2d(); +//Exportando para PDF +filename='foo'; // Sem extensão ! +xs2pdf(0,filename); + ]]></programlisting> + </refsection> + <refsection> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="figure_properties">figure_size property</link> + </member> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/pt_BR/xs2png.xml b/modules/graphic_export/help/pt_BR/xs2png.xml new file mode 100755 index 000000000..ac396f971 --- /dev/null +++ b/modules/graphic_export/help/pt_BR/xs2png.xml @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2png" xml:lang="en"> + <refnamediv> + <refname>xs2png</refname> + <refpurpose>envia gráficos a um arquivo em sintaxe PNG</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>xs2png(win_num,filen)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>escalar inteiro</para> + </listitem> + </varlistentry> + <varlistentry> + <term>filen</term> + <listitem> + <para>string, nome do arquivo</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para> + <literal>xs2png</literal> envia os gráficos gravados da janela + <literal>win_num</literal> em um arquivo <literal>filen</literal> em + formato PNG. + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +//Exportando para PNG +xs2png(0,'foo.png'); + ]]></programlisting> + </refsection> + <refsection> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/pt_BR/xs2ppm.xml b/modules/graphic_export/help/pt_BR/xs2ppm.xml new file mode 100755 index 000000000..aa833d7fb --- /dev/null +++ b/modules/graphic_export/help/pt_BR/xs2ppm.xml @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2ppm" xml:lang="en"> + <refnamediv> + <refname>xs2ppm</refname> + <refpurpose>envia gráficos para um arquivo em sintaxe PPM</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>xs2ppm(win_num,filen)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>vetor de inteiros ou escalar inteiro </para> + </listitem> + </varlistentry> + <varlistentry> + <term>filen</term> + <listitem> + <para>string, o nome do arquivo </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para> + <literal>xs2ppm</literal> envia os gráficos gravados em uma janela + <literal>win_num</literal> para o arquivo <literal>filen</literal> em + formato PPM. + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +//exportando para PPM +xs2ppm(0,(foo.ppm'); + ]]></programlisting> + </refsection> + <refsection> + <title>Ver Também</title> + <simplelist type="inline"> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/pt_BR/xs2ps.xml b/modules/graphic_export/help/pt_BR/xs2ps.xml new file mode 100755 index 000000000..802e935aa --- /dev/null +++ b/modules/graphic_export/help/pt_BR/xs2ps.xml @@ -0,0 +1,110 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2ps" xml:lang="en"> + <refnamediv> + <refname>xs2ps</refname> + <refpurpose>envia gráficos a um arquivo em sintaxe PS</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>xs2ps(win_num,filen,[orientation])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>vetor de inteiros ou escalar inteiro </para> + </listitem> + </varlistentry> + <varlistentry> + <term>filen</term> + <listitem> + <para>string, nome do arquivo </para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para>caractere opcional, com possÃveis valores 'p' (retrato) ou 'l' + (paisagem). O valor padrão é 'p'. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para> + <literal>xs2ps</literal> salva os gráficos gravados da janela + <literal>win_num</literal> em um arquivo <literal>filen</literal> em + sintaxe Postscript. Note que <literal>filen</literal> não deve ter + extensão. + </para> + <para>Note que o arquivo Postscript gerado não pode ser impresso + diretamente desde requer cabeçalho. A função <literal>xs2eps</literal> + pode ser usada diretamente para produzir um arquivo Postscript encapsulado + com cabeçalho. + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +scf(0); +plot2d(); +// exportando para Postscript +filename=foo.ps; +xs2ps(0,filename); + ]]></programlisting> + </refsection> + <refsection> + <title>Ver Também</title> + <simplelist type="inline"> + <member>figure_size property</member> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/pt_BR/xs2svg.xml b/modules/graphic_export/help/pt_BR/xs2svg.xml new file mode 100755 index 000000000..d625f5b7b --- /dev/null +++ b/modules/graphic_export/help/pt_BR/xs2svg.xml @@ -0,0 +1,105 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2svg" xml:lang="en"> + <refnamediv> + <refname>xs2svg</refname> + <refpurpose>Salva gráficos em um arquivo SVG</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Seqüência de Chamamento</title> + <synopsis>xs2svg(win_num,filen [,orientation])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Parâmetros</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>vetor de inteiros ou escalar inteiro </para> + </listitem> + </varlistentry> + <varlistentry> + <term>filen</term> + <listitem> + <para>string, nome do arquivo </para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para>caractere opcional, com possÃveis valores 'p' (retrato) ou 'l' + (paisagem). O valor padrão é 'p' + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Descrição</title> + <para> + <literal>xs2svg</literal> salva os gráficos gravados da janela + <literal>win_num</literal> em um arquivo <literal>filen</literal> em + sintaxe Postscript. Note que <literal>filen</literal> não deve ter + extensão. + </para> + </refsection> + <refsection> + <title>Exemplos</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +//exportando para SVG +filename='foo.svg' +xs2svg(0,filename); + ]]></programlisting> + </refsection> + <refsection> + <title>Ver Também</title> + <simplelist type="inline"> + <member>figure_size property</member> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ru_RU/addchapter.sce b/modules/graphic_export/help/ru_RU/addchapter.sce new file mode 100755 index 000000000..ecaba3339 --- /dev/null +++ b/modules/graphic_export/help/ru_RU/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Графики: ÑкÑпорт и печать",SCI+"/modules/graphic_export/help/ru_RU",%T); + diff --git a/modules/graphic_export/help/ru_RU/driver.xml b/modules/graphic_export/help/ru_RU/driver.xml new file mode 100755 index 000000000..8674687a3 --- /dev/null +++ b/modules/graphic_export/help/ru_RU/driver.xml @@ -0,0 +1,218 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) ENPC - Jean-Philippe Chancelier + * Copyright (C) - Scilab Enterprises - Clement David + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ru" xml:id="driver"> + <refnamediv> + <refname>driver</refname> + <refpurpose>выбирает графичеÑкий драйвер</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>ПоÑледовательноÑÑ‚ÑŒ вызова</title> + <synopsis> + current_driver = driver() + driver(driver_name) + previous_driver = driver(driver_name) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Ðргументы</title> + <variablelist> + <varlistentry> + <term>driver_name</term> + <listitem> + <para> + Ñтрока, драйвер, который Ñледует выбрать + (региÑÑ‚Ñ€ Ñимволов не учитываетÑÑ). + </para> + </listitem> + <term>current_driver</term> + <listitem> + <para>Ñтрока, выбранный драйвер.</para> + </listitem> + <term>previous_driver</term> + <listitem> + <para> + Ñтрока, драйвер, который был выбран до Ñтого. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>ОпиÑание</title> + <para> + Ðта Ñ„ÑƒÐ½ÐºÑ†Ð¸Ñ Ð¿Ð¾Ð·Ð²Ð¾Ð»Ñет переключатьÑÑ Ð¼ÐµÐ¶Ð´Ñƒ различными + драйверами Ð´Ð»Ñ ÑкÑпорта или отображениÑ. + </para> + <para> + ПрÑмой обÑчёт Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ Ð½Ð° Ñкране или ÑкÑпорт + Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ Ð±ÐµÐ· Ð¾Ñ‚Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ Ð½Ð° Ñкране без какого-либо + графичеÑкого пользовательÑкого интерфейÑа. Ðто + доÑтупно в режиме <literal>scilab-adv-cli</literal> + (или также вызываемом <literal>-nw</literal>) + </para> + <para> + При иÑпользовании без входного аргумента Ñ„ÑƒÐ½ÐºÑ†Ð¸Ñ + <function>driver</function> возвращает Ð¸Ð¼Ñ + текущего графичеÑкого драйвера. + </para> + </refsection> + <refsection> + <title>Вывод на Ñкран</title> + <para> + Ð”Ð»Ñ Ð¾Ñ‚Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ Ð³Ñ€Ð°Ñ„Ð¸ÐºÐ° в новом окне вмеÑто формата + без вывода на Ñкран. Ðто поведение по умолчанию. + </para> + <variablelist> + <varlistentry> + <term>X11 или Rec</term> + <listitem> + <para>вывод на Ñкран компьютера.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Поддерживаемые векторные форматы</title> + <para> + Выбранный драйвер может быть одним из Ñледующих + векторных форматов: + </para> + <variablelist> + <varlistentry> + <term>Pos или ps</term> + <listitem> + <para>вывод в формате Postscript.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>PDF</term> + <listitem> + <para>вывод в формате PDF.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>SVG</term> + <listitem> + <para>вывод в формате SVG.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Поддерживаемые раÑтровые форматы</title> + <para> + Выбранный драйвер может быть одним из Ñледующих раÑтровых + форматов: + </para> + <variablelist> + <varlistentry> + <term>GIF</term> + <listitem> + <para>вывод в формате GIF.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>PNG</term> + <listitem> + <para>вывод в формате PNG.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>JPEG или JPG</term> + <listitem> + <para>вывод в формате JPEG.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>BMP</term> + <listitem> + <para>вывод в формате BMP.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>PPM</term> + <listitem> + <para>вывод в формате portable pixmap (PPM).</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Примечание</title> + <para> + Чтобы перенаправить графичеÑкий вывод в GIF-файл (который + будет запиÑан во временную директорию), вы можете + иÑпользовать Ñледующий пример: + </para> + <programlisting role=""><![CDATA[ +previous_driver = driver('GIF'); +xinit(TMPDIR+'/mygiffile.gif'); +plot3d(); +xend(); +driver(previous_driver); // Возврат к предыдущему драйверу + ]]></programlisting> + <para> + ЕÑли же, например, было Ñформирована поÑледовательноÑÑ‚ÑŒ + GIF-файлов, названных <literal>img*.gif</literal>, то можно + Ñделать анимированный GIF-файл (Ñ Ð¸Ð¼ÐµÐ½ÐµÐ¼ + <literal>anim.gif</literal>) Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ + </para> + <synopsis> + convert -delay 10 img*.gif anim.gif + </synopsis> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + <link linkend="xinit">xinit</link> + </member> + <member> + <link linkend="xend">xend</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>ИÑториÑ</title> + <revhistory> + <revision> + <revnumber>5.4.0</revnumber> + <revremark> + <itemizedlist> + <listitem> + Возврат предыдущего имени драйвера. + </listitem> + <listitem> + ВозможноÑÑ‚ÑŒ ÑкÑпорта Ð¸Ð·Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ Ð±ÐµÐ· + Ð¾Ñ‚Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ Ð½Ð° Ñкране. Scilab ÑкÑпортирует + графики без Ð¾Ñ‚ÐºÑ€Ñ‹Ñ‚Ð¸Ñ Ð½Ð¾Ð²Ð¾Ð³Ð¾ окна. + </listitem> + <listitem> + Поддержка новых раÑтровых форматов: PNG, JPEG и BMP. + </listitem> + <listitem> + Поддержка новых векторных форматов: PDF и SVG. + </listitem> + <listitem> + Ð¤ÑƒÐ½ÐºÑ†Ð¸Ñ Ð¿Ñ€Ð¸Ð½Ð¸Ð¼Ð°ÐµÑ‚ аргумент в верхнем и нижнем региÑтре. + </listitem> + <listitem> + Драйвер Fig больше не поддерживаетÑÑ. + </listitem> + </itemizedlist> + </revremark> + </revision> + </revhistory> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ru_RU/xend.xml b/modules/graphic_export/help/ru_RU/xend.xml new file mode 100755 index 000000000..626825b2b --- /dev/null +++ b/modules/graphic_export/help/ru_RU/xend.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) ENPC - Jean-Philippe Chancelier + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ru" xml:id="xend"> + <refnamediv> + <refname>xend</refname> + <refpurpose>закрыть ÑеÑÑию ÑкÑпорта графиков</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>ПоÑледовательноÑÑ‚ÑŒ вызова</title> + <synopsis>xend()</synopsis> + </refsynopsisdiv> + <refsection> + <title>ОпиÑание</title> + <para> + Ð¤ÑƒÐ½ÐºÑ†Ð¸Ñ <function>xend</function> иÑпользуетÑÑ Ð´Ð»Ñ + Ð·Ð°ÐºÑ€Ñ‹Ñ‚Ð¸Ñ ÑеÑÑии ÑкÑпорта графиков. Во Ð²Ñ€ÐµÐ¼Ñ Ñ€Ð°Ð±Ð¾Ñ‚Ñ‹ + ÑкÑпорта графиков Ñ„ÑƒÐ½ÐºÑ†Ð¸Ñ <function>xend</function> + закрывает файл, который был открыт Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ функции + <function>xinit</function>. + </para> + </refsection> + <refsection> + <title>Примеры</title> + <programlisting role="example"><![CDATA[ +current_driver = driver() +driver("Pos") +xinit("foo.ps") +plot2d() +xend() +driver(current_driver) + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + <link linkend="driver">driver</link> + </member> + <member> + <link linkend="xinit">xinit</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ru_RU/xinit.xml b/modules/graphic_export/help/ru_RU/xinit.xml new file mode 100755 index 000000000..dd6c62eca --- /dev/null +++ b/modules/graphic_export/help/ru_RU/xinit.xml @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) ENPC - Jean-Philippe Chancelier + * Copyright (C) 2008 - INRIA - Jean-Baptiste Silvy + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ru" xml:id="xinit"> + <refnamediv> + <refname>xinit</refname> + <refpurpose> + открыть ÑеÑÑию ÑкÑпорта графиков + </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>ПоÑледовательноÑÑ‚ÑŒ вызова</title> + <synopsis> + xinit(FileName) + xinit() + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Ðргументы</title> + <variablelist> + <varlistentry> + <term>FileName</term> + <listitem> + <para> + Ñтроковое значение: Ð¸Ð¼Ñ Ñ„Ð°Ð¹Ð»Ð° ÑкÑпорта. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>ОпиÑание</title> + <para> + Ð¤ÑƒÐ½ÐºÑ†Ð¸Ñ <function>xinit</function> открывает ÑеÑÑию ÑкÑпорта графиков. + Чтобы ÑкÑпортировать в файл, должно быть указано Ð¸Ð¼Ñ + файла <varname>FileName</varname>. Ðто Ð¸Ð¼Ñ Ñ‚Ð¾Ð³Ð¾ файла, + куда будут запиÑаны вÑе графичеÑкие операции. + </para> + <para> + Ð”Ð»Ñ Ð´Ñ€Ð°Ð¹Ð²ÐµÑ€Ð¾Ð² диÑÐ¿Ð»ÐµÑ (<literal>X11</literal> или <literal>Rec</literal>), + функцию <function>xinit</function> Ñледует вызывать без + каких-либо аргументов, и она откроет пуÑтое графичеÑкое окно. + </para> + </refsection> + <refsection> + <title>Примеры</title> + <programlisting role="example"><![CDATA[ +current_driver = driver() +driver("Pos") +xinit(TMPDIR+"/foo.ps") +plot2d() +xend() +driver(current_driver) + ]]></programlisting> + <programlisting role="example"><![CDATA[ +current_driver = driver() +driver("PNG") +xinit(TMPDIR+"/foo.png") +plot3d() +xend() +driver(current_driver) + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + <link linkend="driver">driver</link> + </member> + <member> + <link linkend="xend">xend</link> + </member> + <member> + <link linkend="scf">scf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ru_RU/xs2bmp.xml b/modules/graphic_export/help/ru_RU/xs2bmp.xml new file mode 100755 index 000000000..26b902a15 --- /dev/null +++ b/modules/graphic_export/help/ru_RU/xs2bmp.xml @@ -0,0 +1,108 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2bmp" xml:lang="ru"> + <refnamediv> + <refname>xs2bmp</refname> + <refpurpose>ÑкÑпорт графиков в BMP</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>ПоÑледовательноÑÑ‚ÑŒ вызова</title> + <synopsis> + xs2bmp(win_num, file_name) + xs2bmp(fig, file_name) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Ðргументы</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para> + целое чиÑло, идентификатор графичеÑкого + окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para> + деÑкриптор графичеÑкого окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para> + Ñтроковое значение, Ð¸Ð¼Ñ ÑкÑпортируемого файла. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>ОпиÑание</title> + <para> + Ð¤ÑƒÐ½ÐºÑ†Ð¸Ñ <function>xs2bmp</function> ÑкÑпортирует отображение графичеÑкого окна в BMP-файл. + </para> + </refsection> + <refsection> + <title>Примеры</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +// ÑкÑпорт в BMP +xs2bmp(0,'foo.bmp'); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ru_RU/xs2emf.xml b/modules/graphic_export/help/ru_RU/xs2emf.xml new file mode 100755 index 000000000..489443ab1 --- /dev/null +++ b/modules/graphic_export/help/ru_RU/xs2emf.xml @@ -0,0 +1,129 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2emf" xml:lang="ru"> + <refnamediv> + <refname>xs2emf</refname> + <refpurpose> + ÑкÑпорт графиков в EMF (только в Windows) + </refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>ПоÑледовательноÑÑ‚ÑŒ вызова</title> + <synopsis> + xs2emf(win_num, file_name [,orientation]) + xs2emf(fig, file_name [,orientation]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Ðргументы</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para> + целое чиÑло, идентификатор графичеÑкого + окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para> + деÑкриптор графичеÑкого окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para> + Ñтроковое значение, Ð¸Ð¼Ñ ÑкÑпортируемого файла. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para> + необÑÐ·Ð°Ñ‚ÐµÐ»ÑŒÐ½Ð°Ñ Ñтрока, ориентациÑ; возможные + Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ <literal>'portrait'</literal> + ("портрет") и <literal>'landscape'</literal> + ("альбом"). Значение по умолчанию - + <literal>'portrait'</literal>. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>ОпиÑание</title> + <para> + Ð¤ÑƒÐ½ÐºÑ†Ð¸Ñ <function>xs2emf</function> ÑкÑпортирует + отображение графичеÑкого окна в EMF-файл. + </para> + <para> + ÐкÑпортированный файл получаетÑÑ Ñ‡ÐµÑ€ÐµÐ· Ñоздание EPS- файла + и Ð¿Ñ€ÐµÐ¾Ð±Ñ€Ð°Ð·Ð¾Ð²Ð°Ð½Ð¸Ñ ÐµÐ³Ð¾ в формат EMF Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ программы "pstoedit". + </para> + </refsection> + <refsection> + <title>Примеры</title> + <programlisting role="example"><![CDATA[ +if getos() == 'Windows' then + scf(0); + plot2d(); + // ÑкÑпорт в EMF + xs2emf(0,'foo.emf'); +end + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ru_RU/xs2eps.xml b/modules/graphic_export/help/ru_RU/xs2eps.xml new file mode 100755 index 000000000..d38be4612 --- /dev/null +++ b/modules/graphic_export/help/ru_RU/xs2eps.xml @@ -0,0 +1,125 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2eps" xml:lang="ru"> + <refnamediv> + <refname>xs2eps</refname> + <refpurpose>ÑкÑпорт графиков в EPS</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>ПоÑледовательноÑÑ‚ÑŒ вызова</title> + <synopsis> + xs2eps(win_num, file_name [,orientation]) + xs2eps(fig, file_name [,orientation]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Ðргументы</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para> + целое чиÑло, идентификатор графичеÑкого + окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para> + деÑкриптор графичеÑкого окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para> + Ñтроковое значение, Ð¸Ð¼Ñ ÑкÑпортируемого файла. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para> + необÑÐ·Ð°Ñ‚ÐµÐ»ÑŒÐ½Ð°Ñ Ñтрока, ориентациÑ; возможные + Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ <literal>'portrait'</literal> + ("портрет") и + <literal>'landscape'</literal> + ("альбом"). Значение по умолчанию - + <literal>'portrait'</literal>. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>ОпиÑание</title> + <para> + Ð¤ÑƒÐ½ÐºÑ†Ð¸Ñ <function>xs2eps</function> ÑкÑпортирует отображение графичеÑкого окна в полный Encapsulated PostScript-файл. + </para> + </refsection> + <refsection> + <title>Примеры</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +// ÑкÑпорт в EPS +xs2eps(0,'foo.eps') +xs2eps(gcf(),'foo.eps') + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + ÑвойÑтво <literal>figure_size</literal> в <link linkend="figure_properties">ÑвойÑтвах окон</link> + </member> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ru_RU/xs2gif.xml b/modules/graphic_export/help/ru_RU/xs2gif.xml new file mode 100755 index 000000000..b5ede39da --- /dev/null +++ b/modules/graphic_export/help/ru_RU/xs2gif.xml @@ -0,0 +1,121 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2gif" xml:lang="ru"> + <refnamediv> + <refname>xs2gif</refname> + <refpurpose>ÑкÑпорт графиков в GIF</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>ПоÑледовательноÑÑ‚ÑŒ вызова</title> + <synopsis> + xs2gif(win_num, file_name) + xs2gif(fig, file_name) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Ðргументы</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para> + целое чиÑло, идентификатор графичеÑкого + окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para> + деÑкриптор графичеÑкого окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para> + Ñтроковое значение, Ð¸Ð¼Ñ ÑкÑпортируемого файла. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>ОпиÑание</title> + <para> + Ð¤ÑƒÐ½ÐºÑ†Ð¸Ñ <function>xs2gif</function> ÑкÑпортирует отображение графичеÑкого окна в GIF-файл. + </para> + <para> + Чтобы преобразовать Ñерию GIF-файлов в анимированный + GIF-файл, можно иÑпользовать программу "convert" Ð´Ð»Ñ + ImageMagic (<ulink url="http://www.imagemagick.org/" + class="ulink">http://www.imagemagick.org/</ulink>) + </para> + <para> + Ðапример, еÑли Ñформирована ÑÐµÑ€Ð¸Ñ GIF-файлов, названных <literal>img*.gif</literal>, то можно поÑтроить анимированный GIF-файл (названный <literal>anim.gif</literal>) Ñ Ð¿Ð¾Ð¼Ð¾Ñ‰ÑŒÑŽ + </para> + <synopsis> + convert -delay 10 img*.gif anim.gif + </synopsis> + </refsection> + <refsection> + <title>Примеры</title> + <programlisting role="example"><![CDATA[ +scf(0); +plot2d(); +// ÑкÑпорт в GIF +xs2gif(0,'foo.gif'); +xs2gif(gcf(),'foo.gif'); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ru_RU/xs2jpg.xml b/modules/graphic_export/help/ru_RU/xs2jpg.xml new file mode 100755 index 000000000..a8ab5856e --- /dev/null +++ b/modules/graphic_export/help/ru_RU/xs2jpg.xml @@ -0,0 +1,122 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2jpg" xml:lang="ru"> + <refnamediv> + <refname>xs2jpg</refname> + <refpurpose>ÑкÑпорт графиков в JPG</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>ПоÑледовательноÑÑ‚ÑŒ вызова</title> + <synopsis> + xs2jpg(win_num, file_name [, compression_quality]) + xs2jpg(fig, file_name [, compression_quality]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Ðргументы</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para> + целое чиÑло, идентификатор графичеÑкого + окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para> + деÑкриптор графичеÑкого окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para> + Ñтроковое значение, Ð¸Ð¼Ñ ÑкÑпортируемого файла. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>compression_quality</term> + <listitem> + <para> + вещеÑтвенный ÑкалÑÑ€, чиÑло между 0 и 1 (наилучшее качеÑтво). По умолчанию качеÑтво ÑÐ¶Ð°Ñ‚Ð¸Ñ ÑƒÑтановлено в 0,95. + </para> + <note> + Ðргумент поÑвилÑÑ Ð² Scilab 5.3.2. + </note> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>ОпиÑание</title> + <para> + Ð¤ÑƒÐ½ÐºÑ†Ð¸Ñ <function>xs2jpg</function> ÑкÑпортирует отображение графичеÑкого окна в JPG-файл. + </para> + </refsection> + <refsection> + <title>Примеры</title> + <programlisting role="example"><![CDATA[ +scf(0); +plot2d(); +// ÑкÑпорт в JPG// ÑкÑпорт в +xs2jpg(0,'foo.jpg'); +xs2jpg(gcf(),'foo.jpg'); +xs2jpg(0,'foo_0.jpg', 0); // плохое качеÑтво +xs2jpg(gcf(),'foo_1.jpg', 1); // наилучшее качеÑтво + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ru_RU/xs2pdf.xml b/modules/graphic_export/help/ru_RU/xs2pdf.xml new file mode 100755 index 000000000..d4f0c3499 --- /dev/null +++ b/modules/graphic_export/help/ru_RU/xs2pdf.xml @@ -0,0 +1,130 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2pdf" xml:lang="ru"> + <refnamediv> + <refname>xs2pdf</refname> + <refpurpose>ÑкÑпорт графиков в PDF</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>ПоÑледовательноÑÑ‚ÑŒ вызова</title> + <synopsis> + xs2pdf(win_num, file_name [,orientation]) + xs2pdf(fig, file_name [,orientation]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Ðргументы</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para> + целое чиÑло, идентификатор графичеÑкого + окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para> + деÑкриптор графичеÑкого окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para> + Ñтроковое значение, Ð¸Ð¼Ñ ÑкÑпортируемого файла. + </para> + <para> + ЕÑли не указать раÑширениÑ, то оно будет + добавлено автоматичеÑки. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para> + необÑÐ·Ð°Ñ‚ÐµÐ»ÑŒÐ½Ð°Ñ Ñтрока, ориентациÑ; возможные + Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ <literal>'portrait'</literal> + ("портрет") и + <literal>'landscape'</literal> + ("альбом"). Значение по умолчанию - + <literal>'portrait'</literal>. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>ОпиÑание</title> + <para> + Ð¤ÑƒÐ½ÐºÑ†Ð¸Ñ <function>xs2pdf</function> ÑкÑпортирует отображение графичеÑкого окна в PDF-файл. + </para> + </refsection> + <refsection> + <title>Примеры</title> + <programlisting role="example"><![CDATA[ +scf(0); +plot2d(); +// ÑкÑпорт в PDF +filename='foo'; +xs2pdf(0,filename); +xs2pdf(gcf(),filename); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + ÑвойÑтво <literal>figure_size</literal> в <link linkend="figure_properties">ÑвойÑтвах окон</link> + </member> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ru_RU/xs2png.xml b/modules/graphic_export/help/ru_RU/xs2png.xml new file mode 100755 index 000000000..e6354cb5a --- /dev/null +++ b/modules/graphic_export/help/ru_RU/xs2png.xml @@ -0,0 +1,108 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2png" xml:lang="ru"> + <refnamediv> + <refname>xs2png</refname> + <refpurpose>ÑкÑпорт графиков в PNG</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>ПоÑледовательноÑÑ‚ÑŒ вызова</title> + <synopsis> + xs2png(win_num, file_name) + xs2png(fig, file_name) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Ðргументы</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>целое чиÑло, идентификатор графичеÑкого + окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para> + деÑкриптор графичеÑкого окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para> + Ñтроковое значение, Ð¸Ð¼Ñ ÑкÑпортируемого файла. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>ОпиÑание</title> + <para> + Ð¤ÑƒÐ½ÐºÑ†Ð¸Ñ <function>xs2png</function> ÑкÑпортирует отображение графичеÑкого окна в PNG-файл. + </para> + </refsection> + <refsection> + <title>Примеры</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +// ÑкÑпорт в PNG +xs2png(0,'foo.png'); +xs2png(gcf(),'foo.png'); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ru_RU/xs2ppm.xml b/modules/graphic_export/help/ru_RU/xs2ppm.xml new file mode 100755 index 000000000..7fecb0705 --- /dev/null +++ b/modules/graphic_export/help/ru_RU/xs2ppm.xml @@ -0,0 +1,108 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2ppm" xml:lang="ru"> + <refnamediv> + <refname>xs2ppm</refname> + <refpurpose>ÑкÑпорт графиков в PPM</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>ПоÑледовательноÑÑ‚ÑŒ вызова</title> + <synopsis> + xs2ppm(win_num, file_name) + xs2ppm(fig, file_name) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Ðргументы</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>целое чиÑло, идентификатор графичеÑкого + окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para> + деÑкриптор графичеÑкого окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para> + Ñтроковое значение, Ð¸Ð¼Ñ ÑкÑпортируемого файла. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>ОпиÑание</title> + <para> + Ð¤ÑƒÐ½ÐºÑ†Ð¸Ñ <function>xs2ppm</function> ÑкÑпортирует отображение графичеÑкого окна в PPM-файл. + </para> + </refsection> + <refsection> + <title>Примеры</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +// ÑкÑпорт в PPM +filename='foo.ppm'; +xs2ppm(0,filename); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ru_RU/xs2ps.xml b/modules/graphic_export/help/ru_RU/xs2ps.xml new file mode 100755 index 000000000..cb0c16add --- /dev/null +++ b/modules/graphic_export/help/ru_RU/xs2ps.xml @@ -0,0 +1,130 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2ps" xml:lang="ru"> + <refnamediv> + <refname>xs2ps</refname> + <refpurpose>ÑкÑпорт графиков в PS</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>ПоÑледовательноÑÑ‚ÑŒ вызова</title> + <synopsis> + xs2ps(win_num, file_name [,orientation]) + xs2ps(fig, file_name [,orientation]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Ðргументы</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para>целое чиÑло, идентификатор графичеÑкого + окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para> + деÑкриптор графичеÑкого окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para> + Ñтроковое значение, Ð¸Ð¼Ñ ÑкÑпортируемого файла. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para> + необÑÐ·Ð°Ñ‚ÐµÐ»ÑŒÐ½Ð°Ñ Ñтрока Ñ Ð²Ð¾Ð·Ð¼Ð¾Ð¶Ð½Ñ‹Ð¼Ð¸ + значениÑми <literal>'portrait'</literal> + ("портрет") <literal>'landscape'</literal> + ("альбом"). Значение по умолчанию - + <literal>'portrait'</literal>. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>ОпиÑание</title> + <para> + Ð¤ÑƒÐ½ÐºÑ†Ð¸Ñ <function>xs2ps</function> ÑкÑпортирует отображение графичеÑкого окна в PostScript-файл. + </para> + <note> + Заметьте, что генерируемый Postscript-файл не может + быть напрÑмую напечатан, поÑкольку Ð´Ð»Ñ Ñтого требуетÑÑ + заголовочный файл. Ð¤ÑƒÐ½ÐºÑ†Ð¸Ñ <function>xs2eps</function> + может быть иÑпользована Ð´Ð»Ñ Ð¿Ñ€Ñмого Ð¿Ð¾Ð»ÑƒÑ‡ÐµÐ½Ð¸Ñ Ñ„Ð°Ð¹Ð»Ð° в + формате Encapsulated Postscript Ñ Ð·Ð°Ð³Ð¾Ð»Ð¾Ð²Ð¾Ñ‡Ð½Ñ‹Ð¼ файлом. + </note> + </refsection> + <refsection> + <title>Примеры</title> + <programlisting role="example"><![CDATA[ +scf(0); +plot2d(); +// ÑкÑпорт в Postcript +filename='foo.ps'; +xs2ps(0,filename); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + ÑвойÑтво <literal>figure_size</literal> в <link linkend="figure_properties">ÑвойÑтвах окон</link> + </member> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2svg">xs2svg</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/help/ru_RU/xs2svg.xml b/modules/graphic_export/help/ru_RU/xs2svg.xml new file mode 100755 index 000000000..c74ff8a19 --- /dev/null +++ b/modules/graphic_export/help/ru_RU/xs2svg.xml @@ -0,0 +1,124 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="xs2svg" xml:lang="ru"> + <refnamediv> + <refname>xs2svg</refname> + <refpurpose>ÑкÑпорт графиков в SVG</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>ПоÑледовательноÑÑ‚ÑŒ вызова</title> + <synopsis> + xs2svg(win_num, file_name [,orientation]) + xs2svg(fig, file_name [,orientation]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Ðргументы</title> + <variablelist> + <varlistentry> + <term>win_num</term> + <listitem> + <para> + целое чиÑло, идентификатор графичеÑкого + окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>fig</term> + <listitem> + <para> + деÑкриптор графичеÑкого окна Ð´Ð»Ñ ÑкÑпорта. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>file_name</term> + <listitem> + <para> + Ñтроковое значение, Ð¸Ð¼Ñ ÑкÑпортируемого файла. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>orientation</term> + <listitem> + <para> + необÑÐ·Ð°Ñ‚ÐµÐ»ÑŒÐ½Ð°Ñ Ñтрока, ориентациÑ; возможные Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ + <literal>'portrait'</literal> + ("портрет") и <literal>'landscape'</literal> + ("альбом"). Значение по умолчанию - + <literal>'portrait'</literal>. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>ОпиÑание</title> + <para> + Ð¤ÑƒÐ½ÐºÑ†Ð¸Ñ <function>xs2svg</function> ÑкÑпортирует отображение графичеÑкого окна в SVG-файл. + </para> + </refsection> + <refsection> + <title>Примеры</title> + <programlisting role="example"><![CDATA[ +scf(0) +plot2d() +// ÑкÑпорт в SVG +xs2svg(0,'foo.svg') +xs2svg(gcf(),'foo.svg'); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>Смотрите также</title> + <simplelist type="inline"> + <member> + ÑвойÑтво <literal>figure_size</literal> в <link linkend="figure_properties">ÑвойÑтвах окон</link> + </member> + <member> + <link linkend="toprint">toprint</link> + </member> + <member> + <link linkend="printfigure">printfigure</link> + </member> + <member> + <link linkend="xs2bmp">xs2bmp</link> + </member> + <member> + <link linkend="xs2gif">xs2gif</link> + </member> + <member> + <link linkend="xs2jpg">xs2jpg</link> + </member> + <member> + <link linkend="xs2png">xs2png</link> + </member> + <member> + <link linkend="xs2ppm">xs2ppm</link> + </member> + <member> + <link linkend="xs2eps">xs2eps</link> + </member> + <member> + <link linkend="xs2pdf">xs2pdf</link> + </member> + <member> + <link linkend="xs2ps">xs2ps</link> + </member> + <member> + <link linkend="xs2emf">xs2emf</link> + </member> + </simplelist> + </refsection> +</refentry> diff --git a/modules/graphic_export/includes/dynlib_graphic_export.h b/modules/graphic_export/includes/dynlib_graphic_export.h new file mode 100755 index 000000000..2273951e4 --- /dev/null +++ b/modules/graphic_export/includes/dynlib_graphic_export.h @@ -0,0 +1,29 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) DIGITEO - 2009 - Allan CORNET +* +* This file must be used under the terms of the CeCILL. +* This source file is licensed as described in the file COPYING, which +* you should have received as part of this distribution. The terms +* are also available at +* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +* +*/ + +/*--------------------------------------------------------------------------*/ +#ifndef __DYNLIB_GRAPHIC_EXPORT_H__ +#define __DYNLIB_GRAPHIC_EXPORT_H__ + +#ifdef _MSC_VER +#ifdef GRAPHIC_EXPORT_EXPORTS +#define GRAPHIC_EXPORT_IMPEXP __declspec(dllexport) +#else +#define GRAPHIC_EXPORT_IMPEXP __declspec(dllimport) +#endif +#else +#define GRAPHIC_EXPORT_IMPEXP +#endif + +#endif /* __DYNLIB_GRAPHIC_EXPORT_H__ */ +/*--------------------------------------------------------------------------*/ + diff --git a/modules/graphic_export/includes/gw_graphic_export.h b/modules/graphic_export/includes/gw_graphic_export.h new file mode 100755 index 000000000..df4588dc1 --- /dev/null +++ b/modules/graphic_export/includes/gw_graphic_export.h @@ -0,0 +1,38 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2005 - INRIA - Allan CORNET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#ifndef __GW_GRAPHIC_EXPORT__ +#define __GW_GRAPHIC_EXPORT__ +/*--------------------------------------------------------------------------*/ +#include "dynlib_graphic_export.h" +/*--------------------------------------------------------------------------*/ +GRAPHIC_EXPORT_IMPEXP int gw_graphic_export(void); +/*--------------------------------------------------------------------------*/ +/* Declaration of all the profile function declared and */ +/* used in sci_gateway */ +/*--------------------------------------------------------------------------*/ +GRAPHIC_EXPORT_IMPEXP int sci_xs2bmp( char * fname, unsigned long fname_len ) ; +GRAPHIC_EXPORT_IMPEXP int sci_xs2eps( char * fname, unsigned long fname_len ) ; +GRAPHIC_EXPORT_IMPEXP int sci_xs2gif( char * fname, unsigned long fname_len ) ; +GRAPHIC_EXPORT_IMPEXP int sci_xs2jpg( char * fname, unsigned long fname_len ) ; +GRAPHIC_EXPORT_IMPEXP int sci_xs2pdf( char * fname, unsigned long fname_len ) ; +GRAPHIC_EXPORT_IMPEXP int sci_xs2png( char * fname, unsigned long fname_len ) ; +GRAPHIC_EXPORT_IMPEXP int sci_xs2ppm( char * fname, unsigned long fname_len ) ; +GRAPHIC_EXPORT_IMPEXP int sci_xs2svg( char * fname, unsigned long fname_len ) ; +GRAPHIC_EXPORT_IMPEXP int sci_xs2ps( char * fname, unsigned long fname_len ) ; +GRAPHIC_EXPORT_IMPEXP int sci_xs2emf( char * fname, unsigned long fname_len ) ; +GRAPHIC_EXPORT_IMPEXP int sci_driver( char * fname, unsigned long fname_len ) ; +GRAPHIC_EXPORT_IMPEXP int sci_xinit( char * fname, unsigned long fname_len ) ; +GRAPHIC_EXPORT_IMPEXP int sci_xend( char * fname, unsigned long fname_len ) ; +/*--------------------------------------------------------------------------*/ +#endif /* __GW_GRAPHIC_EXPORT__ */ +/*--------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/jar/org.scilab.modules.graphic_export.jar b/modules/graphic_export/jar/org.scilab.modules.graphic_export.jar Binary files differnew file mode 100755 index 000000000..d42f90fc2 --- /dev/null +++ b/modules/graphic_export/jar/org.scilab.modules.graphic_export.jar diff --git a/modules/graphic_export/libscigraphic_export-algo.la b/modules/graphic_export/libscigraphic_export-algo.la new file mode 100755 index 000000000..438fd5858 --- /dev/null +++ b/modules/graphic_export/libscigraphic_export-algo.la @@ -0,0 +1,41 @@ +# libscigraphic_export-algo.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='' + +# Names of this library. +library_names='' + +# The name of the static archive. +old_library='libscigraphic_export-algo.a' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs=' -lpthread -ldl -lcurses' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libscigraphic_export-algo. +current= +age= +revision= + +# Is this an already installed library? +installed=no + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='' diff --git a/modules/graphic_export/libscigraphic_export-disable.la b/modules/graphic_export/libscigraphic_export-disable.la new file mode 100755 index 000000000..178209d6a --- /dev/null +++ b/modules/graphic_export/libscigraphic_export-disable.la @@ -0,0 +1,41 @@ +# libscigraphic_export-disable.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='libscigraphic_export-disable.so.5' + +# Names of this library. +library_names='libscigraphic_export-disable.so.5.5.2 libscigraphic_export-disable.so.5 libscigraphic_export-disable.so' + +# The name of the static archive. +old_library='' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs=' -lpthread -ldl -lcurses -lm' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libscigraphic_export-disable. +current=10 +age=5 +revision=2 + +# Is this an already installed library? +installed=no + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/usr/local/lib/scilab' diff --git a/modules/graphic_export/libscigraphic_export.la b/modules/graphic_export/libscigraphic_export.la new file mode 100755 index 000000000..d6a005cc4 --- /dev/null +++ b/modules/graphic_export/libscigraphic_export.la @@ -0,0 +1,41 @@ +# libscigraphic_export.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='libscigraphic_export.so.5' + +# Names of this library. +library_names='libscigraphic_export.so.5.5.2 libscigraphic_export.so.5 libscigraphic_export.so' + +# The name of the static archive. +old_library='' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs=' -lpthread -ldl -lcurses' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libscigraphic_export. +current=10 +age=5 +revision=2 + +# Is this an already installed library? +installed=no + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/usr/local/lib/scilab' diff --git a/modules/graphic_export/license.txt b/modules/graphic_export/license.txt new file mode 100755 index 000000000..ceaa946a2 --- /dev/null +++ b/modules/graphic_export/license.txt @@ -0,0 +1,11 @@ +Copyright: +Copyright (c) 2008 - DIGITEO +Copyright (c) 1989-2008 - INRIA + +License: +This module must be used under the terms of the CeCILL. +This module file is licensed as described in the file COPYING, which +you should have received as part of this distribution. The terms +are also available at +http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + diff --git a/modules/graphic_export/locales/ca_ES.po b/modules/graphic_export/locales/ca_ES.po new file mode 100755 index 000000000..a8ef9e508 --- /dev/null +++ b/modules/graphic_export/locales/ca_ES.po @@ -0,0 +1,139 @@ +# Catalan translation for scilab +# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2011-09-01 09:39+0000\n" +"Last-Translator: oriolsbd <oriolsbd@yahoo.es>\n" +"Language-Team: Catalan <ca@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: ca\n" + +#, c-format +msgid "Scilab '%s' module disabled in -nogui or -nwni mode.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: An integer or a handle expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for argument #%d: A real expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for argument #%d: Handle matrix expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A graphic handle expected.\n" +msgstr "" + +#, c-format +msgid "%s: Input argument #%d must be a valid handle.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A ''%s'' handle expected.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A scalar or figure handle expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for argument #%d: String matrix expected.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: Single character string expected.\n" +msgstr "" +"%s: L'argument d'entrada #%d és d'un tipus incorrecte: Ha de ser un " +"carà cter.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n" +msgstr "" +"%s: L'argument d'entrada #%d té un valor incorrecte: Ha de ser '%s' or " +"'%s'.\n" + +#, c-format +msgid "" +"%s: Wrong size for input argument #%d: Single character string expected.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A real between 0 and 1 expected.\n" +msgstr "" + +#, c-format +msgid "%s: %s\n" +msgstr "" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "" + +#, c-format +msgid "%s: Invalid driver: %s.\n" +msgstr "" + +#, c-format +msgid "%s: An error occurred: %s\n" +msgstr "" + +#, c-format +msgid "%s: Invalid path: %s.\n" +msgstr "" + +msgid "xinit must be called before xend." +msgstr "" + +msgid "Unable to create export file, permission denied." +msgstr "" + +msgid "Unable to create export file, invalid file." +msgstr "" + +msgid "" +"Unable to create export file, not enough memory. Decreasing the number of " +"elements or the size of the figure should fix this error." +msgstr "" + +msgid "" +"Unable to create export file, please fill a bug report at " +"http://bugzilla.scilab.org." +msgstr "" + +msgid "" +"Unable to create export file, the file cannot be created or is locked by an " +"other process." +msgstr "" + +#, c-format +msgid "Scilab '%s' module not installed.\n" +msgstr "" diff --git a/modules/graphic_export/locales/cs_CZ.po b/modules/graphic_export/locales/cs_CZ.po new file mode 100755 index 000000000..00538a70b --- /dev/null +++ b/modules/graphic_export/locales/cs_CZ.po @@ -0,0 +1,150 @@ +# Czech translation for scilab +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2013-04-19 22:01+0000\n" +"Last-Translator: ZbynÄ›k Schwarz <Unknown>\n" +"Language-Team: Czech <cs@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" + +#, c-format +msgid "Scilab '%s' module disabled in -nogui or -nwni mode.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: An integer or a handle expected.\n" +msgstr "" +"%s: Å patný typ vstupnÃho argumentu #%d: OÄekáváno celé ÄÃslo nebo obslužná " +"rutina.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: A real expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "%s: Å patná velikost vstupnÃho argumentu #%d: OÄekáván skalár.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: Handle matrix expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A graphic handle expected.\n" +msgstr "" +"%s: Å patná velikost vstupnÃho argumentu #%d: OÄekávána grafická obslužná " +"rutina.\n" + +#, c-format +msgid "%s: Input argument #%d must be a valid handle.\n" +msgstr "%s: vstupnà argument #%d musà být platná obslužná rutina.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A ''%s'' handle expected.\n" +msgstr "" +"%s: Å patný typ vstupnÃho argumentu #%d: OÄekávána obslužná rutina ''%s''.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A scalar or figure handle expected.\n" +msgstr "" +"%s: Å patný typ vstupnÃho argumentu %d: OÄekáván skalár nebo obslužná rutina " +"ÄÃsla.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: String matrix expected.\n" +msgstr "%s: Å patný typ argumentu #%d: OÄekávána Å™etÄ›zcová matice.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: Single character string expected.\n" +msgstr "" +"%s: Chybný typ vstupnÃho argumentu #%d: OÄekáván Å™etÄ›zec s jednÃm znakem.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n" +msgstr "" +"%s: Å patná hodnota vstupnÃho argumentu #%d: OÄekáváno \"%s\", nebo \"%s\".\n" + +#, c-format +msgid "" +"%s: Wrong size for input argument #%d: Single character string expected.\n" +msgstr "" +"%s: Å patná velikost vstupnÃho argumentu #%d: OÄekáván Å™etÄ›zec s jednÃm " +"znakem.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A real between 0 and 1 expected.\n" +msgstr "" +"%s: Å patný typ vstupnÃho argumentu #%d: OÄekáváno realné ÄÃslo mezi 0 a 1.\n" + +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s: Nelze pÅ™eÄÃst vstupnà argument #%d.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "%s: Å patný typ vstupnÃho argumentu #%d: OÄekáván Å™etÄ›zec.\n" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "%s: Nenà vÃce pamÄ›ti.\n" + +#, c-format +msgid "%s: Invalid driver: %s.\n" +msgstr "%s: Neplatný ovladaÄ: %s.\n" + +#, c-format +msgid "%s: An error occurred: %s\n" +msgstr "%s: Nastala chyba: %s\n" + +#, c-format +msgid "%s: Invalid path: %s.\n" +msgstr "%s: Neplatná cesta: %s.\n" + +msgid "xinit must be called before xend." +msgstr "xinit musà být zavolán pÅ™ed xend." + +msgid "Unable to create export file, permission denied." +msgstr "Nelze vytvoÅ™it soubor exportu, pÅ™Ãstup odepÅ™en." + +msgid "Unable to create export file, invalid file." +msgstr "Nelze vytvoÅ™it soubor exportu, neplatný soubor." + +msgid "" +"Unable to create export file, not enough memory. Decreasing the number of " +"elements or the size of the figure should fix this error." +msgstr "" +"Nelze vytvoÅ™it soubor exportu, nedostateÄná paměť. SnÞenÃm poÄtu prvků nebo " +"velikosti ÄÃsla by tuto chybu mÄ›lo spravit." + +msgid "" +"Unable to create export file, please fill a bug report at " +"http://bugzilla.scilab.org." +msgstr "" +"Nelze vytvoÅ™it soubor exportu, prosÃm ohlaste tuto chybu na " +"http://bugzilla.scilab.org." + +msgid "" +"Unable to create export file, the file cannot be created or is locked by an " +"other process." +msgstr "" + +#, c-format +msgid "Scilab '%s' module not installed.\n" +msgstr "" diff --git a/modules/graphic_export/locales/de_DE.po b/modules/graphic_export/locales/de_DE.po new file mode 100755 index 000000000..b4e10bce9 --- /dev/null +++ b/modules/graphic_export/locales/de_DE.po @@ -0,0 +1,141 @@ +# German translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2011-09-01 09:51+0000\n" +"Last-Translator: Keruskerfuerst <armin_mohring@web.de>\n" +"Language-Team: German <de@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: de\n" + +#, c-format +msgid "Scilab '%s' module disabled in -nogui or -nwni mode.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: An integer or a handle expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for argument #%d: A real expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "%s: Falsche Größe für Eingangsargument #%d: Skalar erwartet.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: Handle matrix expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A graphic handle expected.\n" +msgstr "" +"%s: Falsche Größe für Eingangsargument #%d: Grafische Handhabung erwartet.\n" + +#, c-format +msgid "%s: Input argument #%d must be a valid handle.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A ''%s'' handle expected.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A scalar or figure handle expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for argument #%d: String matrix expected.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: Single character string expected.\n" +msgstr "" +"%s: falscher Typ für Eingangsargument #%d: ein einzelnes Zeichen erwartet.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n" +msgstr "" +"%s: falscher Wert für Eingangsargument #%d: '%s' oder '%s' erwartet.\n" + +#, c-format +msgid "" +"%s: Wrong size for input argument #%d: Single character string expected.\n" +msgstr "" +"%s: Falsche Größe für Eingangsargument #%d: Einzelne Zeichenfolge erwartet.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A real between 0 and 1 expected.\n" +msgstr "" +"%s: Falscher Typ für Eingangsargument #%d: Kommazahl zwischen 0 und 1 " +"erwartet.\n" + +#, c-format +msgid "%s: %s\n" +msgstr "" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "" + +#, c-format +msgid "%s: Invalid driver: %s.\n" +msgstr "" + +#, c-format +msgid "%s: An error occurred: %s\n" +msgstr "" + +#, c-format +msgid "%s: Invalid path: %s.\n" +msgstr "" + +msgid "xinit must be called before xend." +msgstr "" + +msgid "Unable to create export file, permission denied." +msgstr "" + +msgid "Unable to create export file, invalid file." +msgstr "" + +msgid "" +"Unable to create export file, not enough memory. Decreasing the number of " +"elements or the size of the figure should fix this error." +msgstr "" + +msgid "" +"Unable to create export file, please fill a bug report at " +"http://bugzilla.scilab.org." +msgstr "" + +msgid "" +"Unable to create export file, the file cannot be created or is locked by an " +"other process." +msgstr "" + +#, c-format +msgid "Scilab '%s' module not installed.\n" +msgstr "" diff --git a/modules/graphic_export/locales/es_ES.po b/modules/graphic_export/locales/es_ES.po new file mode 100755 index 000000000..2618731b0 --- /dev/null +++ b/modules/graphic_export/locales/es_ES.po @@ -0,0 +1,147 @@ +# Spanish translation for scilab +# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2011-10-21 22:47+0000\n" +"Last-Translator: Fido <Unknown>\n" +"Language-Team: Spanish <es@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: es\n" + +#, c-format +msgid "Scilab '%s' module disabled in -nogui or -nwni mode.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: An integer or a handle expected.\n" +msgstr "" +"%s: Tipo incorrecto del argumento de entrada #%d: Se esperaba un entero o un " +"manejador.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: A real expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "" +"%s: Tamaño incorrecto del argumento de entrada #%d: Se esperaba un escalar.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: Handle matrix expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A graphic handle expected.\n" +msgstr "" +"%s: Tamaño incorrecto del argumento de entrada #%d: Se esperaba un manejador " +"gráfico.\n" + +#, c-format +msgid "%s: Input argument #%d must be a valid handle.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A ''%s'' handle expected.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A scalar or figure handle expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for argument #%d: String matrix expected.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: Single character string expected.\n" +msgstr "" +"%s: Tipo incorrecto del argumento de entrada #%d: Se esperaba una cadena de " +"caracteres.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n" +msgstr "" +"%s: Valor incorrecto del argumento de entrada #%d: Se esperaba '%s' o '%s'.\n" + +#, c-format +msgid "" +"%s: Wrong size for input argument #%d: Single character string expected.\n" +msgstr "" +"%s: Tamaño incorrecto del argumento de entrada #%d: Se esperaba un string de " +"un caracter.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A real between 0 and 1 expected.\n" +msgstr "" +"%s: Tipo incorrecto para el argumento de entrada #%d: Se esperaba un real " +"entre 0 y 1.\n" + +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "" + +#, c-format +msgid "%s: Invalid driver: %s.\n" +msgstr "" + +#, c-format +msgid "%s: An error occurred: %s\n" +msgstr "" + +#, c-format +msgid "%s: Invalid path: %s.\n" +msgstr "" + +msgid "xinit must be called before xend." +msgstr "" + +msgid "Unable to create export file, permission denied." +msgstr "" + +msgid "Unable to create export file, invalid file." +msgstr "" + +msgid "" +"Unable to create export file, not enough memory. Decreasing the number of " +"elements or the size of the figure should fix this error." +msgstr "" + +msgid "" +"Unable to create export file, please fill a bug report at " +"http://bugzilla.scilab.org." +msgstr "" + +msgid "" +"Unable to create export file, the file cannot be created or is locked by an " +"other process." +msgstr "" + +#, c-format +msgid "Scilab '%s' module not installed.\n" +msgstr "" diff --git a/modules/graphic_export/locales/fr_FR.po b/modules/graphic_export/locales/fr_FR.po new file mode 100755 index 000000000..70fade5b9 --- /dev/null +++ b/modules/graphic_export/locales/fr_FR.po @@ -0,0 +1,160 @@ +# French translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2014-03-10 13:44+0000\n" +"Last-Translator: Julie PAUL <Unknown>\n" +"Language-Team: French <fr@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: fr\n" + +#, c-format +msgid "Scilab '%s' module disabled in -nogui or -nwni mode.\n" +msgstr "Le module Scilab '%s' est désactivé en mode -nogui ou -nwni.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: An integer or a handle expected.\n" +msgstr "" +"%s : Type erroné de l'argument d'entrée n°%d : Un entier ou handle attendu.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: A real expected.\n" +msgstr "%s : Type erroné de l'argument n°%d : Un réel attendu.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "" +"%s : Dimension erronée de l'argument d'entrée n°%d : Un scalaire attendu.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: Handle matrix expected.\n" +msgstr "" +"%s : Type erroné de l'argument n°%d : Une matrice de type handle attendue.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A graphic handle expected.\n" +msgstr "" +"%s : Dimension erronée de l'argument d'entrée n°%d : Un handle graphique " +"attendu.\n" + +#, c-format +msgid "%s: Input argument #%d must be a valid handle.\n" +msgstr "%s : L'argument d'entrée n°%d doit être un handle valide.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A ''%s'' handle expected.\n" +msgstr "" +"%s : Type erroné de l'argument d'entrée n°%d : Un handle ''%s'' attendu.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A scalar or figure handle expected.\n" +msgstr "" +"%s : Type erroné de l'argument d'entrée n°%d : Un scalaire ou un handle de " +"figure attendu.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: String matrix expected.\n" +msgstr "" +"%s : Type erroné de l'argument n°%d : Une matrice de chaînes de caractères " +"attendue.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: Single character string expected.\n" +msgstr "" +"%s : Type erroné de l'argument d'entrée n°%d : Un simple caractère attendu.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n" +msgstr "" +"%s : Valeur erronée de l'argument d'entrée n°%d : '%s' ou '%s' attendu.\n" + +#, c-format +msgid "" +"%s: Wrong size for input argument #%d: Single character string expected.\n" +msgstr "" +"%s : Dimension erronée de l'argument d'entrée n°%d : Un seul caractère " +"attendu.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A real between 0 and 1 expected.\n" +msgstr "" +"%s : Dimension erronée de l'argument d'entrée n°%d : Un réel compris entre 0 " +"et 1 attendu.\n" + +#, c-format +msgid "%s: %s\n" +msgstr "%s : %s\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s : Impossible de lire l'argument d'entrée n°%d.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" +"%s : Type erroné de l'argument d'entrée n°%d : Une chaîne de caractères " +"attendue.\n" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "%s : Plus de mémoire disponible.\n" + +#, c-format +msgid "%s: Invalid driver: %s.\n" +msgstr "%s : Pilote invalide : %s.\n" + +#, c-format +msgid "%s: An error occurred: %s\n" +msgstr "%s: Une erreur s'est produite: %s\n" + +#, c-format +msgid "%s: Invalid path: %s.\n" +msgstr "%s: Chemin non valide: %s.\n" + +msgid "xinit must be called before xend." +msgstr "xinit doit être appelé avant xend." + +msgid "Unable to create export file, permission denied." +msgstr "Impossible de créer le fichier d'exportation, permission refusée." + +msgid "Unable to create export file, invalid file." +msgstr "Impossible de créer le fichier d'exportation, fichier non valide." + +msgid "" +"Unable to create export file, not enough memory. Decreasing the number of " +"elements or the size of the figure should fix this error." +msgstr "" +"Impossible de créer le fichier d'export, pas assez de mémoire disponible. " +"Diminuer le nombre d'éléments ou la taille de la figure devrait corriger " +"cette erreur." + +msgid "" +"Unable to create export file, please fill a bug report at " +"http://bugzilla.scilab.org." +msgstr "" +"Impossible de créer le fichier d'export, veuillez signaler un bug sur " +"http://bugzilla.scilab.org." + +msgid "" +"Unable to create export file, the file cannot be created or is locked by an " +"other process." +msgstr "" +"Impossible de créer le fichier d'exportation, le fichier ne peut être créé " +"ou est verrouillé par un autre processus." + +#, c-format +msgid "Scilab '%s' module not installed.\n" +msgstr "Le module '%s' de Scilab n'est pas installé.\n" diff --git a/modules/graphic_export/locales/graphic_export.pot b/modules/graphic_export/locales/graphic_export.pot new file mode 100755 index 000000000..08297388e --- /dev/null +++ b/modules/graphic_export/locales/graphic_export.pot @@ -0,0 +1,198 @@ +# Localization of the module graphic_export +# Please see in SCI/tools/localization for localization management +# Copyright (C) 2007-2008 - INRIA +# Copyright (C) 2008-2011 - DIGITEO +# Copyright (C) 2012-2014 - Scilab-Enterprises +# This file is distributed under the same license as the Scilab package. +# +msgid "" +msgstr "" +"Project-Id-Version: Scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"Last-Translator: Vincent COUVERT <vincent.couvert@scilab-enterprises.com>\n" +"Language-Team: Scilab Localization <localization@lists.scilab.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"Revision-Date: 2015-03-27 13:54+0100\n" + +# File: sci_gateway/c/gw_graphic_export.c, line: 84 +# File: src/nographic_export/nographic_export.c, line: 26 +#, c-format +msgid "Scilab '%s' module disabled in -nogui or -nwni mode.\n" +msgstr "" + +# +# File: sci_gateway/c/xs2file.c, line: 63 +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: An integer or a handle expected.\n" +msgstr "" + +# +# File: sci_gateway/c/xs2file.c, line: 96 +# File: sci_gateway/c/xs2file.c, line: 251 +#, c-format +msgid "%s: Wrong type for argument #%d: A real expected.\n" +msgstr "" + +# +# File: sci_gateway/c/xs2file.c, line: 102 +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "" + +# +# File: sci_gateway/c/xs2file.c, line: 126 +#, c-format +msgid "%s: Wrong type for argument #%d: Handle matrix expected.\n" +msgstr "" + +# +# File: sci_gateway/c/xs2file.c, line: 132 +#, c-format +msgid "%s: Wrong size for input argument #%d: A graphic handle expected.\n" +msgstr "" + +# +# File: sci_gateway/c/xs2file.c, line: 139 +#, c-format +msgid "%s: Input argument #%d must be a valid handle.\n" +msgstr "" + +# +# File: sci_gateway/c/xs2file.c, line: 147 +#, c-format +msgid "%s: Wrong type for input argument #%d: A ''%s'' handle expected.\n" +msgstr "" + +# +# File: sci_gateway/c/xs2file.c, line: 153 +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A scalar or figure handle expected.\n" +msgstr "" + +# +# File: sci_gateway/c/xs2file.c, line: 168 +# File: sci_gateway/c/xs2file.c, line: 202 +#, c-format +msgid "%s: Wrong type for argument #%d: String matrix expected.\n" +msgstr "" + +# +# File: sci_gateway/c/xs2file.c, line: 187 +# File: sci_gateway/c/xs2file.c, line: 295 +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: Single character string expected.\n" +msgstr "" + +# +# File: sci_gateway/c/xs2file.c, line: 224 +#, c-format +msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n" +msgstr "" + +# +# File: sci_gateway/c/xs2file.c, line: 232 +# File: sci_gateway/c/xs2file.c, line: 289 +#, c-format +msgid "" +"%s: Wrong size for input argument #%d: Single character string expected.\n" +msgstr "" + +# +# File: sci_gateway/c/xs2file.c, line: 258 +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A real between 0 and 1 expected.\n" +msgstr "" + +# +# File: sci_gateway/c/xs2file.c, line: 282 +#, c-format +msgid "%s: %s\n" +msgstr "" + +# +# File: sci_gateway/cpp/sci_driver.cpp, line: 57 +# File: sci_gateway/cpp/sci_xinit.cpp, line: 42 +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "" + +# +# File: sci_gateway/cpp/sci_driver.cpp, line: 63 +# File: sci_gateway/cpp/sci_xinit.cpp, line: 48 +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" + +# +# File: sci_gateway/cpp/sci_driver.cpp, line: 69 +# File: sci_gateway/cpp/sci_xinit.cpp, line: 54 +#, c-format +msgid "%s: No more memory.\n" +msgstr "" + +# +# File: sci_gateway/cpp/sci_driver.cpp, line: 76 +#, c-format +msgid "%s: Invalid driver: %s.\n" +msgstr "" + +# +# File: sci_gateway/cpp/sci_xend.cpp, line: 50 +#, c-format +msgid "%s: An error occurred: %s\n" +msgstr "" + +# +# File: sci_gateway/cpp/sci_xinit.cpp, line: 67 +#, c-format +msgid "%s: Invalid path: %s.\n" +msgstr "" + +# +# File: src/java/org/scilab/modules/graphic_export/Driver.java, line: 73 +msgid "xinit must be called before xend." +msgstr "" + +# +# File: src/java/org/scilab/modules/graphic_export/FileExporter.java, line: 50 +msgid "Unable to create export file, permission denied." +msgstr "" + +# +# File: src/java/org/scilab/modules/graphic_export/FileExporter.java, line: 52 +msgid "Unable to create export file, invalid file." +msgstr "" + +# +# File: src/java/org/scilab/modules/graphic_export/FileExporter.java, line: 54 +msgid "" +"Unable to create export file, not enough memory. Decreasing the number of " +"elements or the size of the figure should fix this error." +msgstr "" + +# +# File: src/java/org/scilab/modules/graphic_export/FileExporter.java, line: 56 +msgid "" +"Unable to create export file, please fill a bug report at http://bugzilla." +"scilab.org." +msgstr "" + +# +# File: src/java/org/scilab/modules/graphic_export/FileExporter.java, line: 58 +msgid "" +"Unable to create export file, the file cannot be created or is locked by an " +"other process." +msgstr "" + +# +# File: src/nographic_export/nographic_export.c, line: 31 +#, c-format +msgid "Scilab '%s' module not installed.\n" +msgstr "" diff --git a/modules/graphic_export/locales/it_IT.po b/modules/graphic_export/locales/it_IT.po new file mode 100755 index 000000000..a83fe9b53 --- /dev/null +++ b/modules/graphic_export/locales/it_IT.po @@ -0,0 +1,167 @@ +# Italian translation for scilab +# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2015-02-15 20:07+0000\n" +"Last-Translator: Carml <mighty.carml@gmail.com>\n" +"Language-Team: Italian <it@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: it\n" + +#, c-format +msgid "Scilab '%s' module disabled in -nogui or -nwni mode.\n" +msgstr "" +"Il modulo \"%s\" di Scilab è disabilitato in modalità -nogui o -nwni.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: An integer or a handle expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d è di tipo sbagliato: era atteso un intero o " +"un gestore.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: A real expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d è di tipo sbagliato: era atteso un numero " +"reale.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d ha una dimensione sbagliata: era atteso uno " +"scalare.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: Handle matrix expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d è di tipo sbagliato: era attesa una matrice " +"di handle.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A graphic handle expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d ha una dimensione sbagliata: era atteso un " +"gestore grafico.\n" + +#, c-format +msgid "%s: Input argument #%d must be a valid handle.\n" +msgstr "%s: L'argomento in igresso #%d deve essere un handle valido.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A ''%s'' handle expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d è di tipo sbagliato: era atteso un handle " +"\"%s\".\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A scalar or figure handle expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d è di tipo sbagliato: era atteso uno scalare " +"o un handle a una figura.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: String matrix expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d è di tipo sbagliato: era attesa una matrice " +"di stringhe.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: Single character string expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d è di tipo sbagliato: era attesa una stringa " +"di caratteri singoli.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d ha un valore sbagliato: era atteso '%s' o " +"'%s'.\n" + +#, c-format +msgid "" +"%s: Wrong size for input argument #%d: Single character string expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d ha una dimensione sbagliata: era attesa una " +"stringa di un solo carattere.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A real between 0 and 1 expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d è di tipo sbagliato: era atteso un numero " +"reale fra 0 e 1.\n" + +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s: Impossibile leggere l'argomento in ingresso #%d.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d è di tipo sbagliato: era attesa una " +"stringa.\n" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "%s: Memoria esaurita.\n" + +#, c-format +msgid "%s: Invalid driver: %s.\n" +msgstr "%s: Driver non valido: %s.\n" + +#, c-format +msgid "%s: An error occurred: %s\n" +msgstr "%s: Si è verificato il seg. errore: %s\n" + +#, c-format +msgid "%s: Invalid path: %s.\n" +msgstr "%s: Percorso non valido: %s.\n" + +msgid "xinit must be called before xend." +msgstr "xinit deve essere chiamato prima di xend" + +msgid "Unable to create export file, permission denied." +msgstr "Impossibile esportare il file, permesso negato." + +msgid "Unable to create export file, invalid file." +msgstr "Impossibile esportare il file, file non valido." + +msgid "" +"Unable to create export file, not enough memory. Decreasing the number of " +"elements or the size of the figure should fix this error." +msgstr "" +"Impossibile esportare il file, memoria non sufficiente. Diminuire il numero " +"degli elementi o la dimensione della figura dovrebbe risolvere il problema." + +msgid "" +"Unable to create export file, please fill a bug report at " +"http://bugzilla.scilab.org." +msgstr "" +"Impossibile esportare il file, segnalare un bug a http://bugzilla.scilab.org." + +msgid "" +"Unable to create export file, the file cannot be created or is locked by an " +"other process." +msgstr "" +"Impossibile esportare il file, il file non può essere creato o è bloccato da " +"un altro processo." + +#, c-format +msgid "Scilab '%s' module not installed.\n" +msgstr "Il modulo \"%s\" di Scilab non è installato.\n" diff --git a/modules/graphic_export/locales/ja_JP.po b/modules/graphic_export/locales/ja_JP.po new file mode 100755 index 000000000..59136b061 --- /dev/null +++ b/modules/graphic_export/locales/ja_JP.po @@ -0,0 +1,137 @@ +# Japanese translation for scilab +# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2014-03-08 14:04+0000\n" +"Last-Translator: Rui Hirokawa <Unknown>\n" +"Language-Team: Japanese <z-saito@guitar.ocn.ne.jp>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"X-Poedit-Country: Japan\n" +"Language: ja\n" +"X-Poedit-Language: Japanese\n" + +#, c-format +msgid "Scilab '%s' module disabled in -nogui or -nwni mode.\n" +msgstr "-nogui ã¾ãŸã¯ -nwni モードã§ã¯ Scilab '%s' モジュールã¯ç„¡åŠ¹ã§ã™.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: An integer or a handle expected.\n" +msgstr "%s: 入力引数 #%d ã®åž‹ãŒé–“é•ã£ã¦ã„ã¾ã™: æ•´æ•°ã¾ãŸã¯ãƒãƒ³ãƒ‰ãƒ«ã‚’指定ã—ã¦ãã ã•ã„.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: A real expected.\n" +msgstr "%s: 入力引数 #%d ã®åž‹ãŒé–“é•ã£ã¦ã„ã¾ã™: 実数を指定ã—ã¦ãã ã•ã„.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "%s: 入力引数 #%d ã®å¤§ãã•ãŒé–“é•ã£ã¦ã„ã¾ã™: スカラーを指定ã—ã¦ãã ã•ã„.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: Handle matrix expected.\n" +msgstr "%s: 入力引数 #%d ã®åž‹ãŒé–“é•ã£ã¦ã„ã¾ã™: ãƒãƒ³ãƒ‰ãƒ«ã®è¡Œåˆ—を指定ã—ã¦ãã ã•ã„.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A graphic handle expected.\n" +msgstr "%s: 入力引数 #%d ã®å¤§ãã•ãŒé–“é•ã£ã¦ã„ã¾ã™: グラフィックã®ãƒãƒ³ãƒ‰ãƒ«ã‚’指定ã—ã¦ãã ã•ã„.\n" + +#, c-format +msgid "%s: Input argument #%d must be a valid handle.\n" +msgstr "%s: 入力引数 #%d ã«ã¯æœ‰åŠ¹ãªãƒãƒ³ãƒ‰ãƒ«ã‚’指定ã—ã¦ãã ã•ã„.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A ''%s'' handle expected.\n" +msgstr "%s: 入力引数 #%d ã®åž‹ãŒé–“é•ã£ã¦ã„ã¾ã™: ''%s'' ãƒãƒ³ãƒ‰ãƒ«ã‚’指定ã—ã¦ãã ã•ã„.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A scalar or figure handle expected.\n" +msgstr "%s: 引数 %d ã®åž‹ãŒé–“é•ã£ã¦ã„ã¾ã™: スカラーã¾ãŸã¯å›³ã®ãƒãƒ³ãƒ‰ãƒ«ã‚’指定ã—ã¦ãã ã•ã„.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: String matrix expected.\n" +msgstr "%s: 入力引数 %d åž‹ãŒé–“é•ã£ã¦ã„ã¾ã™: æ–‡å—列行列を指定ã—ã¦ãã ã•ã„.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: Single character string expected.\n" +msgstr "%s: 入力引数 #%d ã®åž‹ãŒé–“é•ã£ã¦ã„ã¾ã™: 1æ–‡å—(文å—列)を指定ã—ã¦ãã ã•ã„.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n" +msgstr "%s: 入力引数 #%d ã®å€¤ãŒé–“é•ã£ã¦ã„ã¾ã™: '%s' ã¾ãŸã¯ '%s' を指定ã—ã¦ãã ã•ã„.\n" + +#, c-format +msgid "" +"%s: Wrong size for input argument #%d: Single character string expected.\n" +msgstr "%s: 入力引数 #%d ã®å¤§ãã•ãŒé–“é•ã£ã¦ã„ã¾ã™: æ–‡å—列を指定ã—ã¦ãã ã•ã„.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A real between 0 and 1 expected.\n" +msgstr "%s: 入力引数 #%d ã®åž‹ãŒé–“é•ã£ã¦ã„ã¾ã™: 0 ã‹ã‚‰ 1 ã®ç¯„囲ã®å®Ÿæ•°ã‚’指定ã—ã¦ãã ã•ã„.\n" + +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s: 入力引数 #%d ã‚’èªã¿è¾¼ã‚ã¾ã›ã‚“.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "%s: 入力引数 #%d ã®åž‹ãŒé–“é•ã£ã¦ã„ã¾ã™: æ–‡å—列を指定ã—ã¦ãã ã•ã„.\n" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "%s: メモリä¸è¶³ã§ã™.\n" + +#, c-format +msgid "%s: Invalid driver: %s.\n" +msgstr "%s: ドライãƒãŒç„¡åŠ¹ã§ã™: %s.\n" + +#, c-format +msgid "%s: An error occurred: %s\n" +msgstr "%s: エラーãŒç™ºç”Ÿã—ã¾ã—ãŸ: %s\n" + +#, c-format +msgid "%s: Invalid path: %s.\n" +msgstr "%s: パスãŒç„¡åŠ¹ã§ã™: %s.\n" + +msgid "xinit must be called before xend." +msgstr "xinit 㯠xend ã®å‰ã«ã‚³ãƒ¼ãƒ«ã™ã‚‹å¿…è¦ãŒã‚ã‚Šã¾ã™." + +msgid "Unable to create export file, permission denied." +msgstr "許å¯ãŒãªã„ãŸã‚, エã‚スãƒãƒ¼ãƒˆãƒ•ã‚¡ã‚¤ãƒ«ã‚’作æˆã§ãã¾ã›ã‚“." + +msgid "Unable to create export file, invalid file." +msgstr "ファイルãŒç„¡åŠ¹ãªãŸã‚, エã‚スãƒãƒ¼ãƒˆãƒ•ã‚¡ã‚¤ãƒ«ã‚’作æˆã§ãã¾ã›ã‚“." + +msgid "" +"Unable to create export file, not enough memory. Decreasing the number of " +"elements or the size of the figure should fix this error." +msgstr "メモリä¸è¶³ã®ãŸã‚エã‚スãƒãƒ¼ãƒˆã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã‚’作æˆã§ãã¾ã›ã‚“.è¦ç´ æ•°ã¾ãŸã¯å›³ã®å¤§ãã•ã‚’減らã™ã“ã¨ã«ã‚ˆã‚Šã“ã®ã‚¨ãƒ©ãƒ¼ã‚’ä¿®æ£ã§ãã¾ã™." + +msgid "" +"Unable to create export file, please fill a bug report at " +"http://bugzilla.scilab.org." +msgstr "エã‚スãƒãƒ¼ãƒˆã™ã‚‹ãƒ•ã‚¡ã‚¤ãƒ«ã‚’作æˆã§ãã¾ã›ã‚“. http://bugzilla.scilab.org ã§ãƒã‚°ã‚’レãƒãƒ¼ãƒˆã—ã¦ãã ã•ã„." + +msgid "" +"Unable to create export file, the file cannot be created or is locked by an " +"other process." +msgstr "エクスãƒãƒ¼ãƒˆãƒ•ã‚¡ã‚¤ãƒ«ã‚’作æˆã§ãã¾ã›ã‚“ã§ã—ãŸ. ファイルを作æˆã§ããªã‹ã£ãŸã‹ä»–ã®ãƒ—ãƒã‚»ã‚¹ã«ãƒãƒƒã‚¯ã•ã‚Œã¦ã„ã¾ã™." + +#, c-format +msgid "Scilab '%s' module not installed.\n" +msgstr "Scilabモジュール '%s' ã¯ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã•ã‚Œã¦ã„ã¾ã›ã‚“.\n" diff --git a/modules/graphic_export/locales/pl_PL.po b/modules/graphic_export/locales/pl_PL.po new file mode 100755 index 000000000..ac560e2da --- /dev/null +++ b/modules/graphic_export/locales/pl_PL.po @@ -0,0 +1,143 @@ +# Polish translation for scilab +# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2011-12-03 13:41+0000\n" +"Last-Translator: I.Rokach <Unknown>\n" +"Language-Team: Polish <pl@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: pl\n" + +#, c-format +msgid "Scilab '%s' module disabled in -nogui or -nwni mode.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: An integer or a handle expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for argument #%d: A real expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "" +"%s: NieprawidÅ‚owy rozmiar dla argumentu wejÅ›ciowego nr %d: Oczekiwany " +"skalar.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: Handle matrix expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A graphic handle expected.\n" +msgstr "" +"%s: NieprawidÅ‚owy rozmiar parametru wejÅ›ciowego nr %d: oczekiwano uchwytu " +"(handle) graficznego.\n" + +#, c-format +msgid "%s: Input argument #%d must be a valid handle.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A ''%s'' handle expected.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A scalar or figure handle expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for argument #%d: String matrix expected.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: Single character string expected.\n" +msgstr "" +"%s: NieprawidÅ‚owy typ argumentu wejÅ›ciowego nr %d: oczekiwany pojedynczy " +"ciÄ…g znaków.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n" +msgstr "" +"%s: NieprawidÅ‚owa wartość argumentu wejÅ›ciowego nr %d: oczekiwano '%s' lub " +"'%s' .\n" + +#, c-format +msgid "" +"%s: Wrong size for input argument #%d: Single character string expected.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A real between 0 and 1 expected.\n" +msgstr "" + +#, c-format +msgid "%s: %s\n" +msgstr "" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "" + +#, c-format +msgid "%s: Invalid driver: %s.\n" +msgstr "" + +#, c-format +msgid "%s: An error occurred: %s\n" +msgstr "" + +#, c-format +msgid "%s: Invalid path: %s.\n" +msgstr "" + +msgid "xinit must be called before xend." +msgstr "" + +msgid "Unable to create export file, permission denied." +msgstr "" + +msgid "Unable to create export file, invalid file." +msgstr "" + +msgid "" +"Unable to create export file, not enough memory. Decreasing the number of " +"elements or the size of the figure should fix this error." +msgstr "" + +msgid "" +"Unable to create export file, please fill a bug report at " +"http://bugzilla.scilab.org." +msgstr "" + +msgid "" +"Unable to create export file, the file cannot be created or is locked by an " +"other process." +msgstr "" + +#, c-format +msgid "Scilab '%s' module not installed.\n" +msgstr "" diff --git a/modules/graphic_export/locales/pt_BR.po b/modules/graphic_export/locales/pt_BR.po new file mode 100755 index 000000000..732505296 --- /dev/null +++ b/modules/graphic_export/locales/pt_BR.po @@ -0,0 +1,160 @@ +# Brazilian Portuguese translation for scilab +# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2013-12-06 18:18+0000\n" +"Last-Translator: Roberto Coelho de Berredo <rcberredo@gmail.com>\n" +"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: pt_BR\n" + +#, c-format +msgid "Scilab '%s' module disabled in -nogui or -nwni mode.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: An integer or a handle expected.\n" +msgstr "" +"%s: Tipo incorreto para o argumento de entrada #%d: esperava-se um inteiro " +"ou um manipulador.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: A real expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "" +"%s: Tamanho incorreto para o argumento de entrada #%d: esperava-se um " +"escalar.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: Handle matrix expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A graphic handle expected.\n" +msgstr "" +"%s: Tamanho incorreto para o argumento de entrada #%d: esperava-se um " +"manipulador gráfico.\n" + +#, c-format +msgid "%s: Input argument #%d must be a valid handle.\n" +msgstr "%s: O argumento de entrada #%d deve ser um manipulador válido.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A ''%s'' handle expected.\n" +msgstr "" +"%s: Tipo incorreto para argumento de entrada #%d: esperava-se um " +"manipulador \"%s\".\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A scalar or figure handle expected.\n" +msgstr "" +"%s: Tipo incorreto para argumento de entrada #%d: esperava-se um " +"manipulador de figura ou um escalar.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: String matrix expected.\n" +msgstr "" +"%s: Tipo incorreto para argumento de entrada #%d: esperava-se uma matriz de " +"textos.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: Single character string expected.\n" +msgstr "" +"%s: Tipo incorreto para o argumento de entrada #%d: esperava-se um único " +"texto.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n" +msgstr "" +"%s: Valor incorreto para o argumento de entrada #%d: esperava-se '%s' ou " +"'%s'.\n" + +#, c-format +msgid "" +"%s: Wrong size for input argument #%d: Single character string expected.\n" +msgstr "" +"%s: Tamanho incorreto para o argumento de entrada #%d: esperava-se um texto " +"de um único caractere.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A real between 0 and 1 expected.\n" +msgstr "" +"%s: Tipo incorreto para o argumento de entrada #%d: esperava-se um número " +"real entre 0 e 1.\n" + +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s: Não foi possÃvel ler o argumento de entrada #%d.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" +"%s: Tipo incorreto para o argumento de entrada #%d: esperava-se um texto.\n" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "%s: Memória esgotada.\n" + +#, c-format +msgid "%s: Invalid driver: %s.\n" +msgstr "%s: driver inválido: %s.\n" + +#, c-format +msgid "%s: An error occurred: %s\n" +msgstr "%s: Ocorreu um erro: %s.\n" + +#, c-format +msgid "%s: Invalid path: %s.\n" +msgstr "%s: caminho inválido: %s.\n" + +msgid "xinit must be called before xend." +msgstr "xinit tem que ser chamada antes de xend." + +msgid "Unable to create export file, permission denied." +msgstr "ImpossÃvel criar arquivo de exportação, permissão negada." + +msgid "Unable to create export file, invalid file." +msgstr "ImpossÃvel criar arquivo de exportação, arquivo inválido." + +msgid "" +"Unable to create export file, not enough memory. Decreasing the number of " +"elements or the size of the figure should fix this error." +msgstr "" +"ImpossÃvel criar arquivo de exportação; memória esgotada. Reduzir a " +"quantidade de elementos ou o tamanho da figura pode corrigir este erro." + +msgid "" +"Unable to create export file, please fill a bug report at " +"http://bugzilla.scilab.org." +msgstr "" +"ImpossÃvel criar arquivo de exportação; por favor, relate o erro em " +"http://bugzilla.scilab.org." + +msgid "" +"Unable to create export file, the file cannot be created or is locked by an " +"other process." +msgstr "" + +#, c-format +msgid "Scilab '%s' module not installed.\n" +msgstr "" diff --git a/modules/graphic_export/locales/ru_RU.po b/modules/graphic_export/locales/ru_RU.po new file mode 100755 index 000000000..a335dd4ab --- /dev/null +++ b/modules/graphic_export/locales/ru_RU.po @@ -0,0 +1,154 @@ +# Russian translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2014-03-23 14:09+0000\n" +"Last-Translator: Stanislav V. Kroter <krotersv@gmail.com>\n" +"Language-Team: Russian <ru@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: ru\n" + +#, c-format +msgid "Scilab '%s' module disabled in -nogui or -nwni mode.\n" +msgstr "Модуль «%s» выключен в режимах -nogui и -nwni.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: An integer or a handle expected.\n" +msgstr "" +"%s: Ðеверный тип входного параметра â„–%d: ожидалоÑÑŒ целое или деÑкриптор.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: A real expected.\n" +msgstr "%s: Ðеверный тип аргумента â„–%d: ожидалоÑÑŒ вещеÑтвенное чиÑло.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "%s: Ðеверный размер входного параметра â„–%d: ожидалÑÑ ÑкалÑÑ€.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: Handle matrix expected.\n" +msgstr "%s: Ðеверный тип аргумента â„–%d: ожидалаÑÑŒ матрица деÑкрипторов.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A graphic handle expected.\n" +msgstr "" +"%s: Ðеверный размер входного аргумента â„–%d: ожидалÑÑ Ð³Ñ€Ð°Ñ„Ð¸Ñ‡ÐµÑкий " +"деÑкриптор.\n" + +#, c-format +msgid "%s: Input argument #%d must be a valid handle.\n" +msgstr "%s: Входной аргумент â„– #%d должен быть корректным деÑкриптором.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A ''%s'' handle expected.\n" +msgstr "" +"%s: Ðеверный тип входного аргумента â„–%d: ОжидалÑÑ Ð´ÐµÑкриптор ''%s''.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A scalar or figure handle expected.\n" +msgstr "" +"%s: Ðеверный тип входного аргумента â„–%d: ожидалÑÑ ÑкалÑÑ€ либо деÑкриптор " +"графичеÑкого окна.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: String matrix expected.\n" +msgstr "%s: Ðеверный тип аргумента â„–%d: ожидалаÑÑŒ матрица Ñтрок.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: Single character string expected.\n" +msgstr "" +"%s: Ðеверный тип входного параметра â„–%d: ожидалаÑÑŒ Ñтрока из одного " +"Ñимвола.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n" +msgstr "" +"%s: Ðеверное значение входного параметра â„–%d: ожидалоÑÑŒ «%s» или «%s».\n" + +#, c-format +msgid "" +"%s: Wrong size for input argument #%d: Single character string expected.\n" +msgstr "" +"%s: Ðеверный размер входного параметра â„–%d: ожидалаÑÑŒ одноÑÐ¸Ð¼Ð²Ð¾Ð»ÑŒÐ½Ð°Ñ " +"Ñтрока.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A real between 0 and 1 expected.\n" +msgstr "" +"%s: Ðеверный тип входного параметра â„–%d: ожидалоÑÑŒ вещеÑтвенное чиÑло между " +"0 и 1.\n" + +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s: Ðе могу прочитать входной аргумент â„–%d.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "%s: Ðеверный тип входного аргумента â„–%d: ОжидалаÑÑŒ Ñтрока.\n" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "%s: ÐедоÑтаточно памÑти.\n" + +#, c-format +msgid "%s: Invalid driver: %s.\n" +msgstr "%s: Ðеверный драйвер: %s.\n" + +#, c-format +msgid "%s: An error occurred: %s\n" +msgstr "%s: Произошла ошибка: %s\n" + +#, c-format +msgid "%s: Invalid path: %s.\n" +msgstr "%s: Ðекорректный путь: %s.\n" + +msgid "xinit must be called before xend." +msgstr "xinit должен быть вызван перед xend." + +msgid "Unable to create export file, permission denied." +msgstr "Ðевозможно Ñоздвать файл ÑкÑпорта, нет разрешениÑ." + +msgid "Unable to create export file, invalid file." +msgstr "Ðевозможно Ñоздать файл ÑкÑпорта, некорректный файл." + +msgid "" +"Unable to create export file, not enough memory. Decreasing the number of " +"elements or the size of the figure should fix this error." +msgstr "" +"Ðевозможно Ñоздать ÑкÑпортный файл, не хватает памÑти. Уменьшение количеÑтва " +"Ñлементов или размера фигуры должно иÑправить Ñту ошибку." + +msgid "" +"Unable to create export file, please fill a bug report at " +"http://bugzilla.scilab.org." +msgstr "" +"Ðевозможно Ñоздать ÑкÑпортный файл, пожалуйÑта, Ñообщите об ошибке на " +"http://bugzilla.scilab.org." + +msgid "" +"Unable to create export file, the file cannot be created or is locked by an " +"other process." +msgstr "" +"Ðевозможно Ñоздать файл ÑкÑпорта; Ñтот файл Ð½ÐµÐ»ÑŒÐ·Ñ Ñоздать либо он " +"заблокирован другим процеÑÑом." + +#, c-format +msgid "Scilab '%s' module not installed.\n" +msgstr "Модуль Scilab «%s» не уÑтановлен.\n" diff --git a/modules/graphic_export/locales/uk_UA.po b/modules/graphic_export/locales/uk_UA.po new file mode 100755 index 000000000..14cd92987 --- /dev/null +++ b/modules/graphic_export/locales/uk_UA.po @@ -0,0 +1,167 @@ +# Ukrainian translation for scilab +# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 +# This file is distributed under the same license as the scilab package. +# +# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. +# Yuri Chornoivan <yurchor@gmail.com>, 2010. +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2014-03-07 19:55+0000\n" +"Last-Translator: Yuri Chornoivan <yurchor@gmail.com>\n" +"Language-Team: Ukrainian <translation@linux.org.ua>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: uk\n" + +#, c-format +msgid "Scilab '%s' module disabled in -nogui or -nwni mode.\n" +msgstr "Модуль «%s» Scilab у режимі -nogui або -nwni вимкнено.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: An integer or a handle expected.\n" +msgstr "" +"%s: помилковий тип вхідного параметра â„–%d: мало бути вказано ціле чиÑло або " +"назву елемента керуваннÑ.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: A real expected.\n" +msgstr "" +"%s: помилковий тип параметра â„–%d: мало бути викориÑтано дійÑне чиÑло.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "" +"%s: помилкова розмірніÑÑ‚ÑŒ вхідного параметра â„–%d: Ñлід викориÑтовувати " +"дійÑне чиÑло.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: Handle matrix expected.\n" +msgstr "" +"%s: помилковий тип параметра â„–%d: мало бути викориÑтано матрицю елементів " +"керуваннÑ.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A graphic handle expected.\n" +msgstr "" +"%s: помилковий розмір вхідного параметра â„–%d: Ñлід викориÑтовувати елемент " +"ÐºÐµÑ€ÑƒÐ²Ð°Ð½Ð½Ñ Ð³Ñ€Ð°Ñ„Ñ–Ñ‡Ð½Ð¸Ð¼ об’єктом.\n" + +#, c-format +msgid "%s: Input argument #%d must be a valid handle.\n" +msgstr "%s: вхідний параметр â„–%d має бути коректним елементом керуваннÑ.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A ''%s'' handle expected.\n" +msgstr "" +"%s: помилковий тип вхідного параметра â„–%d: мало бути викориÑтано елемент " +"ÐºÐµÑ€ÑƒÐ²Ð°Ð½Ð½Ñ Â«%s».\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A scalar or figure handle expected.\n" +msgstr "" +"%s: помилковий тип вхідного параметра â„–%d: мало бути вказано ÑкалÑÑ€ або " +"елемент ÐºÐµÑ€ÑƒÐ²Ð°Ð½Ð½Ñ Ñ€Ð¸Ñунком.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: String matrix expected.\n" +msgstr "" +"%s: помилковий тип параметра %d: Ñлід викориÑтовувати матрицю з Ñ€Ñдків.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: Single character string expected.\n" +msgstr "" +"%s: помилковий тип вхідного параметра â„–%d: Ñлід викориÑтовувати Ñ€Ñдок з " +"одного Ñимволу.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n" +msgstr "" +"%s: Помилкове Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð²Ñ…Ñ–Ð´Ð½Ð¾Ð³Ð¾ параметра â„–%d: Ñлід викориÑтовувати «%s» або " +"«%s».\n" + +#, c-format +msgid "" +"%s: Wrong size for input argument #%d: Single character string expected.\n" +msgstr "" +"%s: помилкова розмірніÑÑ‚ÑŒ вхідного параметра â„–%d: мало бути вказано Ñ€Ñдок з " +"одного Ñимволу.\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A real between 0 and 1 expected.\n" +msgstr "" +"%s: помилковий тип вхідного параметра â„–%d. Мало бути дійÑне Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð²Ñ–Ð´ 0 " +"до 1.\n" + +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s: не вдалоÑÑ Ð¿Ñ€Ð¾Ñ‡Ð¸Ñ‚Ð°Ñ‚Ð¸ вхідний параметр â„–%d.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" +"%s: помилковий тип вхідного параметра â„–%d: Ñлід викориÑтовувати тип " +"«string».\n" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "%s: доÑтупну пам’ÑÑ‚ÑŒ вичерпано.\n" + +#, c-format +msgid "%s: Invalid driver: %s.\n" +msgstr "%s: некоректний драйвер: %s.\n" + +#, c-format +msgid "%s: An error occurred: %s\n" +msgstr "%s: ÑталаÑÑ Ð¿Ð¾Ð¼Ð¸Ð»ÐºÐ°: %s\n" + +#, c-format +msgid "%s: Invalid path: %s.\n" +msgstr "%s: некоректний шлÑÑ…: %s.\n" + +msgid "xinit must be called before xend." +msgstr "До xend має бути викликано xinit." + +msgid "Unable to create export file, permission denied." +msgstr "" +"Ðе вдалоÑÑ Ñтворити файл екÑпортованих даних: недоÑтатньо прав доÑтупу." + +msgid "Unable to create export file, invalid file." +msgstr "Ðе вдалоÑÑ Ñтворити файл екÑпортованих даних: некоректний файл." + +msgid "" +"Unable to create export file, not enough memory. Decreasing the number of " +"elements or the size of the figure should fix this error." +msgstr "" +"Ð”Ð»Ñ ÑÑ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ Ñ„Ð°Ð¹Ð»Ð° з екÑпортованими даними не виÑтачає пам’ÑÑ‚Ñ–. Може " +"допомогти Ð·Ð¼ÐµÐ½ÑˆÐµÐ½Ð½Ñ ÐºÑ–Ð»ÑŒÐºÐ¾ÑÑ‚Ñ– елементів або розміру риÑунка." + +msgid "" +"Unable to create export file, please fill a bug report at " +"http://bugzilla.scilab.org." +msgstr "" +"Ðе вдалоÑÑ Ñтворити файл з екÑпортованими даними. Будь лаÑка, повідомте про " +"цю помилку за допомогою Ñторінки http://bugzilla.scilab.org." + +msgid "" +"Unable to create export file, the file cannot be created or is locked by an " +"other process." +msgstr "" +"Ðе вдалоÑÑ Ñтворити файл з екÑпортованими даними. Файл неможливо Ñтворити " +"або файл заблоковано іншим процеÑом." + +#, c-format +msgid "Scilab '%s' module not installed.\n" +msgstr "Модуль «%s» Scilab не вÑтановлено.\n" diff --git a/modules/graphic_export/locales/zh_CN.po b/modules/graphic_export/locales/zh_CN.po new file mode 100755 index 000000000..a6a36c9ef --- /dev/null +++ b/modules/graphic_export/locales/zh_CN.po @@ -0,0 +1,135 @@ +# Simplified Chinese translation for scilab +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2012-07-16 15:54+0000\n" +"Last-Translator: Scilab.team <Unknown>\n" +"Language-Team: Simplified Chinese <zh_CN@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: \n" + +#, c-format +msgid "Scilab '%s' module disabled in -nogui or -nwni mode.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: An integer or a handle expected.\n" +msgstr "%s:第%d个输入å‚数的类型错误:应该为整数或å¥æŸ„。\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: A real expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "%s:第%d个输入å‚数的大å°é”™è¯¯ï¼šåº”è¯¥ä¸ºæ ‡é‡ã€‚\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: Handle matrix expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A graphic handle expected.\n" +msgstr "%s:第%d个输入å‚数的大å°é”™è¯¯ï¼šåº”该为图形å¥æŸ„。\n" + +#, c-format +msgid "%s: Input argument #%d must be a valid handle.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A ''%s'' handle expected.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A scalar or figure handle expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for argument #%d: String matrix expected.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: Single character string expected.\n" +msgstr "%s:输入å‚æ•°#%d的类型错误:应该为å•å—符å—符串。\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n" +msgstr "%s:输入å‚æ•°#%d的值错误:应该为'%s'或者'%s'。\n" + +#, c-format +msgid "" +"%s: Wrong size for input argument #%d: Single character string expected.\n" +msgstr "%s:第%d个输入å‚数的大å°é”™è¯¯ï¼šåº”该为å•ä¸ªå—符。\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A real between 0 and 1 expected.\n" +msgstr "%s:第%d个输入å‚数的类型错误:应该为介于0å’Œ1之间的实数。\n" + +#, c-format +msgid "%s: %s\n" +msgstr "%s:%s\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "%s:ä¸èƒ½è¯»å–第%d个输入å‚数。\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "%s:第%d个输入å‚数的类型错误:应该为å—符串。\n" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "%s:内å˜ä¸è¶³ã€‚\n" + +#, c-format +msgid "%s: Invalid driver: %s.\n" +msgstr "%sï¼šæ— æ•ˆé©±åŠ¨å™¨ï¼š%s。\n" + +#, c-format +msgid "%s: An error occurred: %s\n" +msgstr "%s:å‘生错误:%s\n" + +#, c-format +msgid "%s: Invalid path: %s.\n" +msgstr "%sï¼šæ— æ•ˆè·¯å¾„%s。\n" + +msgid "xinit must be called before xend." +msgstr "xinit必须在xend之å‰è¢«è°ƒç”¨ã€‚" + +msgid "Unable to create export file, permission denied." +msgstr "æ— æ³•åˆ›å»ºè¾“å‡ºæ–‡ä»¶ï¼Œæ²¡æœ‰æƒé™è®¿é—®ã€‚" + +msgid "Unable to create export file, invalid file." +msgstr "æ— æ³•åˆ›å»ºè¾“å‡ºæ–‡ä»¶ï¼Œæ— æ•ˆæ–‡ä»¶ã€‚" + +msgid "" +"Unable to create export file, not enough memory. Decreasing the number of " +"elements or the size of the figure should fix this error." +msgstr "" + +msgid "" +"Unable to create export file, please fill a bug report at " +"http://bugzilla.scilab.org." +msgstr "" + +msgid "" +"Unable to create export file, the file cannot be created or is locked by an " +"other process." +msgstr "" + +#, c-format +msgid "Scilab '%s' module not installed.\n" +msgstr "" diff --git a/modules/graphic_export/locales/zh_TW.po b/modules/graphic_export/locales/zh_TW.po new file mode 100755 index 000000000..3b3ce62e2 --- /dev/null +++ b/modules/graphic_export/locales/zh_TW.po @@ -0,0 +1,135 @@ +# Chinese (Traditional) translation for scilab +# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2011-09-01 09:52+0000\n" +"Last-Translator: Scilab.team <Unknown>\n" +"Language-Team: Chinese (Traditional) <zh_TW@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: \n" + +#, c-format +msgid "Scilab '%s' module disabled in -nogui or -nwni mode.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: An integer or a handle expected.\n" +msgstr "%s:第 %d 個輸入åƒæ•¸å½¢å¼éŒ¯èª¤ï¼šæ‡‰ç‚ºæ•´æ•¸æˆ–圖形代碼。\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: A real expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A scalar expected.\n" +msgstr "%s: 第 %d 個輸入åƒæ•¸é•·åº¦éŒ¯èª¤: 應為純é‡.\n" + +#, c-format +msgid "%s: Wrong type for argument #%d: Handle matrix expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A graphic handle expected.\n" +msgstr "%s: 第 %d 個輸入åƒæ•¸é•·åº¦éŒ¯èª¤: 應為一圖形代碼 (handle).\n" + +#, c-format +msgid "%s: Input argument #%d must be a valid handle.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A ''%s'' handle expected.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A scalar or figure handle expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for argument #%d: String matrix expected.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: Single character string expected.\n" +msgstr "%s: 輸入åƒæ•¸åž‹åˆ¥æœ‰èª¤#%d: 單一å—å…ƒå—串æ‰å°.\n" + +#, c-format +msgid "%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n" +msgstr "%s: 第 %d 個輸入åƒæ•¸æ•¸å€¼éŒ¯èª¤: 應為 '%s' 或 '%s' .\n" + +#, c-format +msgid "" +"%s: Wrong size for input argument #%d: Single character string expected.\n" +msgstr "%s:第 %d 個輸入åƒæ•¸å¤§å°éŒ¯èª¤ï¼šæ‡‰ç‚ºå–®ä¸€å—元。\n" + +#, c-format +msgid "" +"%s: Wrong type for input argument #%d: A real between 0 and 1 expected.\n" +msgstr "%s:第 %d 個輸入åƒæ•¸å½¢å¼éŒ¯èª¤ï¼šæ‡‰æ˜¯ä»‹æ–¼0å’Œ1之間的數值。\n" + +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#, c-format +msgid "%s: Can not read input argument #%d.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "" + +#, c-format +msgid "%s: Invalid driver: %s.\n" +msgstr "" + +#, c-format +msgid "%s: An error occurred: %s\n" +msgstr "" + +#, c-format +msgid "%s: Invalid path: %s.\n" +msgstr "" + +msgid "xinit must be called before xend." +msgstr "" + +msgid "Unable to create export file, permission denied." +msgstr "" + +msgid "Unable to create export file, invalid file." +msgstr "" + +msgid "" +"Unable to create export file, not enough memory. Decreasing the number of " +"elements or the size of the figure should fix this error." +msgstr "" + +msgid "" +"Unable to create export file, please fill a bug report at " +"http://bugzilla.scilab.org." +msgstr "" + +msgid "" +"Unable to create export file, the file cannot be created or is locked by an " +"other process." +msgstr "" + +#, c-format +msgid "Scilab '%s' module not installed.\n" +msgstr "" diff --git a/modules/graphic_export/macros/buildmacros.bat b/modules/graphic_export/macros/buildmacros.bat new file mode 100755 index 000000000..c4e35ec40 --- /dev/null +++ b/modules/graphic_export/macros/buildmacros.bat @@ -0,0 +1 @@ +@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
\ No newline at end of file diff --git a/modules/graphic_export/macros/buildmacros.sce b/modules/graphic_export/macros/buildmacros.sce new file mode 100755 index 000000000..6955cf2f6 --- /dev/null +++ b/modules/graphic_export/macros/buildmacros.sce @@ -0,0 +1,14 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Allan Cornet +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +//if (isdef("genlib") == %f) then +// exec(SCI+"/modules/functions/scripts/buildmacros/loadgenlib.sce"); +//end + +//genlib("graphic_exportlib","SCI/modules/graphic_export/macros",%f,%t); diff --git a/modules/graphic_export/macros/cleanmacros.bat b/modules/graphic_export/macros/cleanmacros.bat new file mode 100755 index 000000000..5079dfd71 --- /dev/null +++ b/modules/graphic_export/macros/cleanmacros.bat @@ -0,0 +1,3 @@ +@del *.bin 2>NUL +@del lib 2>NUL +@del names 2>NUL
\ No newline at end of file diff --git a/modules/graphic_export/sci_gateway/c/.deps/.dirstamp b/modules/graphic_export/sci_gateway/c/.deps/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.deps/.dirstamp diff --git a/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-gw_graphic_export.Plo b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-gw_graphic_export.Plo new file mode 100755 index 000000000..10f80306f --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-gw_graphic_export.Plo @@ -0,0 +1,306 @@ +sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo: \ + sci_gateway/c/gw_graphic_export.c /usr/include/stdc-predef.h \ + /usr/include/string.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + includes/gw_graphic_export.h includes/dynlib_graphic_export.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/core/includes/scilabmode.h \ + ../../modules/core/includes/callFunctionFromGateway.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/jvm/includes/loadOnUseClassPath.h \ + ../../modules/jvm/includes/dynlib_jvm.h + +/usr/include/stdc-predef.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +includes/gw_graphic_export.h: + +includes/dynlib_graphic_export.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/core/includes/scilabmode.h: + +../../modules/core/includes/callFunctionFromGateway.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/core/includes/BOOL.h: + +../../modules/jvm/includes/loadOnUseClassPath.h: + +../../modules/jvm/includes/dynlib_jvm.h: diff --git a/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2bmp.Plo b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2bmp.Plo new file mode 100755 index 000000000..f37e9cf54 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2bmp.Plo @@ -0,0 +1,14 @@ +sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo: \ + sci_gateway/c/sci_xs2bmp.c /usr/include/stdc-predef.h \ + includes/gw_graphic_export.h includes/dynlib_graphic_export.h \ + sci_gateway/c/xs2file.h src/cpp/exportToFile.hxx + +/usr/include/stdc-predef.h: + +includes/gw_graphic_export.h: + +includes/dynlib_graphic_export.h: + +sci_gateway/c/xs2file.h: + +src/cpp/exportToFile.hxx: diff --git a/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2emf.Plo b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2emf.Plo new file mode 100755 index 000000000..bbdbf7a37 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2emf.Plo @@ -0,0 +1,14 @@ +sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo: \ + sci_gateway/c/sci_xs2emf.c /usr/include/stdc-predef.h \ + includes/gw_graphic_export.h includes/dynlib_graphic_export.h \ + sci_gateway/c/xs2file.h src/cpp/exportToFile.hxx + +/usr/include/stdc-predef.h: + +includes/gw_graphic_export.h: + +includes/dynlib_graphic_export.h: + +sci_gateway/c/xs2file.h: + +src/cpp/exportToFile.hxx: diff --git a/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2eps.Plo b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2eps.Plo new file mode 100755 index 000000000..0aa366314 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2eps.Plo @@ -0,0 +1,14 @@ +sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo: \ + sci_gateway/c/sci_xs2eps.c /usr/include/stdc-predef.h \ + includes/gw_graphic_export.h includes/dynlib_graphic_export.h \ + sci_gateway/c/xs2file.h src/cpp/exportToFile.hxx + +/usr/include/stdc-predef.h: + +includes/gw_graphic_export.h: + +includes/dynlib_graphic_export.h: + +sci_gateway/c/xs2file.h: + +src/cpp/exportToFile.hxx: diff --git a/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2gif.Plo b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2gif.Plo new file mode 100755 index 000000000..65f544b45 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2gif.Plo @@ -0,0 +1,14 @@ +sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo: \ + sci_gateway/c/sci_xs2gif.c /usr/include/stdc-predef.h \ + includes/gw_graphic_export.h includes/dynlib_graphic_export.h \ + sci_gateway/c/xs2file.h src/cpp/exportToFile.hxx + +/usr/include/stdc-predef.h: + +includes/gw_graphic_export.h: + +includes/dynlib_graphic_export.h: + +sci_gateway/c/xs2file.h: + +src/cpp/exportToFile.hxx: diff --git a/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2jpg.Plo b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2jpg.Plo new file mode 100755 index 000000000..ce9edb3d8 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2jpg.Plo @@ -0,0 +1,14 @@ +sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo: \ + sci_gateway/c/sci_xs2jpg.c /usr/include/stdc-predef.h \ + includes/gw_graphic_export.h includes/dynlib_graphic_export.h \ + sci_gateway/c/xs2file.h src/cpp/exportToFile.hxx + +/usr/include/stdc-predef.h: + +includes/gw_graphic_export.h: + +includes/dynlib_graphic_export.h: + +sci_gateway/c/xs2file.h: + +src/cpp/exportToFile.hxx: diff --git a/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2pdf.Plo b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2pdf.Plo new file mode 100755 index 000000000..f1f602f4a --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2pdf.Plo @@ -0,0 +1,14 @@ +sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo: \ + sci_gateway/c/sci_xs2pdf.c /usr/include/stdc-predef.h \ + includes/gw_graphic_export.h includes/dynlib_graphic_export.h \ + sci_gateway/c/xs2file.h src/cpp/exportToFile.hxx + +/usr/include/stdc-predef.h: + +includes/gw_graphic_export.h: + +includes/dynlib_graphic_export.h: + +sci_gateway/c/xs2file.h: + +src/cpp/exportToFile.hxx: diff --git a/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2png.Plo b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2png.Plo new file mode 100755 index 000000000..64edc0d17 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2png.Plo @@ -0,0 +1,14 @@ +sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo: \ + sci_gateway/c/sci_xs2png.c /usr/include/stdc-predef.h \ + includes/gw_graphic_export.h includes/dynlib_graphic_export.h \ + sci_gateway/c/xs2file.h src/cpp/exportToFile.hxx + +/usr/include/stdc-predef.h: + +includes/gw_graphic_export.h: + +includes/dynlib_graphic_export.h: + +sci_gateway/c/xs2file.h: + +src/cpp/exportToFile.hxx: diff --git a/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2ppm.Plo b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2ppm.Plo new file mode 100755 index 000000000..3d5149681 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2ppm.Plo @@ -0,0 +1,14 @@ +sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo: \ + sci_gateway/c/sci_xs2ppm.c /usr/include/stdc-predef.h \ + includes/gw_graphic_export.h includes/dynlib_graphic_export.h \ + sci_gateway/c/xs2file.h src/cpp/exportToFile.hxx + +/usr/include/stdc-predef.h: + +includes/gw_graphic_export.h: + +includes/dynlib_graphic_export.h: + +sci_gateway/c/xs2file.h: + +src/cpp/exportToFile.hxx: diff --git a/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2ps.Plo b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2ps.Plo new file mode 100755 index 000000000..a91ff2a53 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2ps.Plo @@ -0,0 +1,14 @@ +sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo: \ + sci_gateway/c/sci_xs2ps.c /usr/include/stdc-predef.h \ + includes/gw_graphic_export.h includes/dynlib_graphic_export.h \ + sci_gateway/c/xs2file.h src/cpp/exportToFile.hxx + +/usr/include/stdc-predef.h: + +includes/gw_graphic_export.h: + +includes/dynlib_graphic_export.h: + +sci_gateway/c/xs2file.h: + +src/cpp/exportToFile.hxx: diff --git a/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2svg.Plo b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2svg.Plo new file mode 100755 index 000000000..eeb136d29 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-sci_xs2svg.Plo @@ -0,0 +1,14 @@ +sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo: \ + sci_gateway/c/sci_xs2svg.c /usr/include/stdc-predef.h \ + includes/gw_graphic_export.h includes/dynlib_graphic_export.h \ + sci_gateway/c/xs2file.h src/cpp/exportToFile.hxx + +/usr/include/stdc-predef.h: + +includes/gw_graphic_export.h: + +includes/dynlib_graphic_export.h: + +sci_gateway/c/xs2file.h: + +src/cpp/exportToFile.hxx: diff --git a/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-xs2file.Plo b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-xs2file.Plo new file mode 100755 index 000000000..a2622d9e6 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.deps/libscigraphic_export_la-xs2file.Plo @@ -0,0 +1,369 @@ +sci_gateway/c/libscigraphic_export_la-xs2file.lo: sci_gateway/c/xs2file.c \ + /usr/include/stdc-predef.h /usr/include/string.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h sci_gateway/c/xs2file.h \ + src/cpp/exportToFile.hxx ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/graphics/includes/GetProperty.h \ + ../../modules/graphics/includes/dynlib_graphics.h \ + ../../modules/graphics/includes/StringMatrix.h \ + ../../modules/graphics/includes/sciMatrix.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/IsAScalar.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/renderer/includes/SetJavaProperty.h \ + ../../modules/renderer/includes/dynlib_renderer.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/fileio/includes/expandPathVariable.h \ + ../../modules/fileio/includes/dynlib_fileio.h \ + ../../modules/core/includes/PATH_MAX.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/graphic_objects/includes/FigureList.h \ + ../../modules/graphic_objects/includes/dynlib_graphic_objects.h \ + ../../modules/core/includes/freeArrayOfString.h \ + sci_gateway/c/../../../graphics/src/c/getHandleProperty/getPropertyAssignedValue.h \ + ../../modules/graphics/includes/dynlib_graphics.h \ + ../../modules/graphic_objects/includes/HandleManagement.h \ + ../../modules/graphic_objects/includes/getGraphicObjectProperty.h \ + ../../modules/graphic_objects/includes/returnType.h \ + ../../modules/graphic_objects/includes/CurrentObject.h \ + ../../modules/graphic_objects/includes/graphicObjectProperties.h + +/usr/include/stdc-predef.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +sci_gateway/c/xs2file.h: + +src/cpp/exportToFile.hxx: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/graphics/includes/GetProperty.h: + +../../modules/graphics/includes/dynlib_graphics.h: + +../../modules/graphics/includes/StringMatrix.h: + +../../modules/graphics/includes/sciMatrix.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/IsAScalar.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/renderer/includes/SetJavaProperty.h: + +../../modules/renderer/includes/dynlib_renderer.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/fileio/includes/expandPathVariable.h: + +../../modules/fileio/includes/dynlib_fileio.h: + +../../modules/core/includes/PATH_MAX.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/graphic_objects/includes/FigureList.h: + +../../modules/graphic_objects/includes/dynlib_graphic_objects.h: + +../../modules/core/includes/freeArrayOfString.h: + +sci_gateway/c/../../../graphics/src/c/getHandleProperty/getPropertyAssignedValue.h: + +../../modules/graphics/includes/dynlib_graphics.h: + +../../modules/graphic_objects/includes/HandleManagement.h: + +../../modules/graphic_objects/includes/getGraphicObjectProperty.h: + +../../modules/graphic_objects/includes/returnType.h: + +../../modules/graphic_objects/includes/CurrentObject.h: + +../../modules/graphic_objects/includes/graphicObjectProperties.h: diff --git a/modules/graphic_export/sci_gateway/c/.dirstamp b/modules/graphic_export/sci_gateway/c/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.dirstamp diff --git a/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-gw_graphic_export.o b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-gw_graphic_export.o Binary files differnew file mode 100755 index 000000000..5e0a68f7c --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-gw_graphic_export.o diff --git a/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2bmp.o b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2bmp.o Binary files differnew file mode 100755 index 000000000..6c10efec1 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2bmp.o diff --git a/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2emf.o b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2emf.o Binary files differnew file mode 100755 index 000000000..db3bc2136 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2emf.o diff --git a/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2eps.o b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2eps.o Binary files differnew file mode 100755 index 000000000..451b53d3b --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2eps.o diff --git a/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2gif.o b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2gif.o Binary files differnew file mode 100755 index 000000000..29d864812 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2gif.o diff --git a/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2jpg.o b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2jpg.o Binary files differnew file mode 100755 index 000000000..60870327b --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2jpg.o diff --git a/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2pdf.o b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2pdf.o Binary files differnew file mode 100755 index 000000000..f6599b5ad --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2pdf.o diff --git a/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2png.o b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2png.o Binary files differnew file mode 100755 index 000000000..49174d39d --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2png.o diff --git a/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2ppm.o b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2ppm.o Binary files differnew file mode 100755 index 000000000..603b7125f --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2ppm.o diff --git a/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2ps.o b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2ps.o Binary files differnew file mode 100755 index 000000000..343106fd4 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2ps.o diff --git a/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2svg.o b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2svg.o Binary files differnew file mode 100755 index 000000000..fc0dc380f --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-sci_xs2svg.o diff --git a/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-xs2file.o b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-xs2file.o Binary files differnew file mode 100755 index 000000000..5388aa08e --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/.libs/libscigraphic_export_la-xs2file.o diff --git a/modules/graphic_export/sci_gateway/c/gw_graphic_export.c b/modules/graphic_export/sci_gateway/c/gw_graphic_export.c new file mode 100755 index 000000000..c8b61d13f --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/gw_graphic_export.c @@ -0,0 +1,88 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Allan CORNET + * Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY + * + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include <string.h> +#include "gw_graphic_export.h" +#include "api_scilab.h" +#include "MALLOC.h" +#include "scilabmode.h" +#include "callFunctionFromGateway.h" +#include "localization.h" +#include "Scierror.h" +#include "BOOL.h" +#include "loadOnUseClassPath.h" +/*--------------------------------------------------------------------------*/ +static BOOL loadedDep = FALSE; +static BOOL loadedDepVectorialExport = FALSE; +static BOOL loadedDepEMFVectorialExport = FALSE; +/*--------------------------------------------------------------------------*/ +static gw_generic_table Tab[] = +{ + {sci_xs2bmp, "xs2bmp"}, + {sci_xs2gif, "xs2gif"}, + {sci_xs2jpg, "xs2jpg"}, + {sci_xs2png, "xs2png"}, + {sci_xs2ppm, "xs2ppm"}, + {sci_xs2eps, "xs2eps"}, + {sci_xs2pdf, "xs2pdf"}, + {sci_xs2svg, "xs2svg"}, + {sci_xs2ps, "xs2ps"}, + {sci_xs2emf, "xs2emf"}, + {sci_driver, "driver"}, + {sci_xinit, "xinit"}, + {sci_xend, "xend"} +}; +/*--------------------------------------------------------------------------*/ +int gw_graphic_export(void) +{ + Rhs = Max(0, Rhs); + + if (pvApiCtx == NULL) + { + pvApiCtx = (StrCtx*)MALLOC(sizeof(StrCtx)); + } + + pvApiCtx->pstName = (char*)Tab[Fin - 1].name; + + if ( getScilabMode() != SCILAB_NWNI ) + { + if (!loadedDep) + { + loadOnUseClassPath("graphics"); + loadedDep = TRUE; + } + if (!loadedDepVectorialExport && (strcmp(Tab[Fin - 1].name, "xs2eps") == 0 + || strcmp(Tab[Fin - 1].name, "xs2pdf") == 0 + || strcmp(Tab[Fin - 1].name, "xs2svg") == 0 + || strcmp(Tab[Fin - 1].name, "xs2ps") == 0)) + { + loadOnUseClassPath("pdf_ps_eps_graphic_export"); + loadedDepVectorialExport = TRUE; + } + + if (!loadedDepEMFVectorialExport && (strcmp(Tab[Fin - 1].name, "xs2eps") == 0)) + { + loadOnUseClassPath("emf_graphic_export"); + loadedDepEMFVectorialExport = TRUE; + } + + callFunctionFromGateway(Tab, SIZE_CURRENT_GENERIC_TABLE(Tab)); + } + else + { + Scierror(999, _("Scilab '%s' module disabled in -nogui or -nwni mode.\n"), "graphic_export"); + } + return 0; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo new file mode 100755 index 000000000..42770ba06 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscigraphic_export_la-gw_graphic_export.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_la-gw_graphic_export.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo new file mode 100755 index 000000000..e6cc501dd --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscigraphic_export_la-sci_xs2bmp.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_la-sci_xs2bmp.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo new file mode 100755 index 000000000..5bffe0dd3 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscigraphic_export_la-sci_xs2emf.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_la-sci_xs2emf.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo new file mode 100755 index 000000000..d4eed6ec7 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscigraphic_export_la-sci_xs2eps.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_la-sci_xs2eps.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo new file mode 100755 index 000000000..8dc4cfe85 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscigraphic_export_la-sci_xs2gif.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_la-sci_xs2gif.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo new file mode 100755 index 000000000..48653f664 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscigraphic_export_la-sci_xs2jpg.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_la-sci_xs2jpg.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo new file mode 100755 index 000000000..ddc8679ff --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscigraphic_export_la-sci_xs2pdf.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_la-sci_xs2pdf.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo new file mode 100755 index 000000000..48607c293 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscigraphic_export_la-sci_xs2png.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_la-sci_xs2png.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo new file mode 100755 index 000000000..af87df3c4 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscigraphic_export_la-sci_xs2ppm.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_la-sci_xs2ppm.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo new file mode 100755 index 000000000..d6d88eca4 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscigraphic_export_la-sci_xs2ps.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_la-sci_xs2ps.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo new file mode 100755 index 000000000..c64b011e6 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscigraphic_export_la-sci_xs2svg.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_la-sci_xs2svg.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-xs2file.lo b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-xs2file.lo new file mode 100755 index 000000000..ca35f2dd8 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/libscigraphic_export_la-xs2file.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscigraphic_export_la-xs2file.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_la-xs2file.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/sci_gateway/c/sci_xs2bmp.c b/modules/graphic_export/sci_gateway/c/sci_xs2bmp.c new file mode 100755 index 000000000..cf12db784 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/sci_xs2bmp.c @@ -0,0 +1,22 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2006 - INRIA - Allan Cornet + * desc : interface for xs2bmp routine + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "gw_graphic_export.h" +#include "xs2file.h" + +/*--------------------------------------------------------------------------*/ +int sci_xs2bmp( char * fname, unsigned long fname_len ) +{ + return xs2file( fname, BMP_EXPORT ) ; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/sci_gateway/c/sci_xs2emf.c b/modules/graphic_export/sci_gateway/c/sci_xs2emf.c new file mode 100755 index 000000000..d9443c10a --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/sci_xs2emf.c @@ -0,0 +1,22 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2014 - Scilab Enterprises - Calixte DENIZET + * desc : interface for xs2emf routine + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "gw_graphic_export.h" +#include "xs2file.h" + +/*--------------------------------------------------------------------------*/ +int sci_xs2emf( char * fname, unsigned long fname_len ) +{ + return xs2file( fname, EMF_EXPORT ) ; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/sci_gateway/c/sci_xs2eps.c b/modules/graphic_export/sci_gateway/c/sci_xs2eps.c new file mode 100755 index 000000000..23e8b7993 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/sci_xs2eps.c @@ -0,0 +1,22 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Koumar Sylvestre + * desc : interface for xs2eps routine + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "gw_graphic_export.h" +#include "xs2file.h" + +/*--------------------------------------------------------------------------*/ +int sci_xs2eps( char * fname, unsigned long fname_len ) +{ + return xs2file( fname, EPS_EXPORT ) ; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/sci_gateway/c/sci_xs2gif.c b/modules/graphic_export/sci_gateway/c/sci_xs2gif.c new file mode 100755 index 000000000..1b93c3bba --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/sci_xs2gif.c @@ -0,0 +1,23 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2006 - INRIA - Fabrice Leray + * Copyright (C) 2006 - INRIA - Jean-Baptiste Silvy + * desc : interface for xs2gif routine + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "gw_graphic_export.h" +#include "xs2file.h" + +/*--------------------------------------------------------------------------*/ +int sci_xs2gif( char * fname, unsigned long fname_len ) +{ + return xs2file( fname, GIF_EXPORT ) ; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/sci_gateway/c/sci_xs2jpg.c b/modules/graphic_export/sci_gateway/c/sci_xs2jpg.c new file mode 100755 index 000000000..a7d016b28 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/sci_xs2jpg.c @@ -0,0 +1,22 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Koumar Sylvestre + * desc : interface for xs2jpg routine + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "gw_graphic_export.h" +#include "xs2file.h" + +/*--------------------------------------------------------------------------*/ +int sci_xs2jpg( char * fname, unsigned long fname_len ) +{ + return xs2file( fname, JPG_EXPORT ) ; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/sci_gateway/c/sci_xs2pdf.c b/modules/graphic_export/sci_gateway/c/sci_xs2pdf.c new file mode 100755 index 000000000..b615214b1 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/sci_xs2pdf.c @@ -0,0 +1,22 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Koumar Sylvestre + * desc : interface for xs2pdf routine + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "gw_graphic_export.h" +#include "xs2file.h" + +/*--------------------------------------------------------------------------*/ +int sci_xs2pdf( char * fname, unsigned long fname_len ) +{ + return xs2file( fname, PDF_EXPORT ) ; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/sci_gateway/c/sci_xs2png.c b/modules/graphic_export/sci_gateway/c/sci_xs2png.c new file mode 100755 index 000000000..926379076 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/sci_xs2png.c @@ -0,0 +1,22 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Koumar Sylvestre + * desc : interface for xs2png routine + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "gw_graphic_export.h" +#include "xs2file.h" + +/*--------------------------------------------------------------------------*/ +int sci_xs2png( char * fname, unsigned long fname_len ) +{ + return xs2file( fname, PNG_EXPORT ) ; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/sci_gateway/c/sci_xs2ppm.c b/modules/graphic_export/sci_gateway/c/sci_xs2ppm.c new file mode 100755 index 000000000..bec49d891 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/sci_xs2ppm.c @@ -0,0 +1,22 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Koumar Sylvestre + * desc : interface for xs2ppm routine + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "gw_graphic_export.h" +#include "xs2file.h" + +/*--------------------------------------------------------------------------*/ +int sci_xs2ppm( char * fname, unsigned long fname_len ) +{ + return xs2file( fname, PPM_EXPORT); +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/sci_gateway/c/sci_xs2ps.c b/modules/graphic_export/sci_gateway/c/sci_xs2ps.c new file mode 100755 index 000000000..5613ac694 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/sci_xs2ps.c @@ -0,0 +1,23 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2006 - INRIA - Fabrice Leray + * Copyright (C) 2006 - INRIA - Jean-Baptiste Silvy + * desc : interface for xs2ps routine + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "gw_graphic_export.h" +#include "xs2file.h" + +/*--------------------------------------------------------------------------*/ +int sci_xs2ps(char *fname, unsigned long fname_len) +{ + return xs2file( fname, PS_EXPORT ) ; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/sci_gateway/c/sci_xs2svg.c b/modules/graphic_export/sci_gateway/c/sci_xs2svg.c new file mode 100755 index 000000000..e96d81157 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/sci_xs2svg.c @@ -0,0 +1,22 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Koumar Sylvestre + * desc : interface for xs2svg routine + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "gw_graphic_export.h" +#include "xs2file.h" + +/*--------------------------------------------------------------------------*/ +int sci_xs2svg( char * fname, unsigned long fname_len ) +{ + return xs2file( fname, SVG_EXPORT ) ; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/sci_gateway/c/xs2file.c b/modules/graphic_export/sci_gateway/c/xs2file.c new file mode 100755 index 000000000..ce0627686 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/xs2file.c @@ -0,0 +1,313 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2006 - INRIA - Fabrice Leray + * Copyright (C) 2006 - INRIA - Jean-Baptiste Silvy + * Copyright (C) 2009 - DIGITEO - Allan CORNET + * desc : interface for xs2file routine + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include <string.h> +#include <stdio.h> +#include <stdlib.h> + +#include "xs2file.h" +#include "api_scilab.h" +#include "GetProperty.h" +#include "IsAScalar.h" +#include "localization.h" +#include "SetJavaProperty.h" +#include "Scierror.h" +#include "expandPathVariable.h" +#include "PATH_MAX.h" +#include "MALLOC.h" +#include "FigureList.h" +#include "freeArrayOfString.h" +#include "../../../graphics/src/c/getHandleProperty/getPropertyAssignedValue.h" +#include "HandleManagement.h" +#include "getGraphicObjectProperty.h" +#include "graphicObjectProperties.h" + +/*--------------------------------------------------------------------------*/ +static BOOL isVectorialExport(ExportFileType fileType); +/*--------------------------------------------------------------------------*/ +int xs2file(char * fname, ExportFileType fileType ) +{ + SciErr sciErr; + + int* piAddrl1 = NULL; + int* piAddrfileName = NULL; + int* piAddrsciOrientation = NULL; + int* piAddrquality = NULL; + double* quality = NULL; + + /* Check input and output sizes */ + CheckOutputArgument(pvApiCtx, 0, 1); + if (isVectorialExport(fileType) || fileType == JPG_EXPORT) + { + CheckInputArgument(pvApiCtx, 2, 3); + } + else + { + CheckInputArgument(pvApiCtx, 2, 2); + } + + if ((!checkInputArgumentType(pvApiCtx, 1, sci_matrix)) && (!checkInputArgumentType(pvApiCtx, 1, sci_handles))) + { + Scierror(999, _("%s: Wrong type for input argument #%d: An integer or a handle expected.\n"), fname, 1); + AssignOutputVariable(pvApiCtx, 1) = 0; + ReturnArguments(pvApiCtx); + return 1; + } + + if ( (checkInputArgumentType(pvApiCtx, 2, sci_strings)) ) + { + char **fileName = NULL; + char *real_filename = NULL; + float jpegCompressionQuality = 0.95f; + ExportOrientation orientation = EXPORT_PORTRAIT; /* default orientation */ + int m1 = 0, n1 = 0; + int figurenum = -1; + int figureUID = 0; + char *status = NULL; + + sciErr = getVarAddressFromPosition(pvApiCtx, 1, &piAddrl1); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 1; + } + + /* get handle by figure number */ + if (checkInputArgumentType(pvApiCtx, 1, sci_matrix)) + { + // Retrieve a matrix of double at position 1. + int* l1 = NULL; + sciErr = getMatrixOfDoubleAsInteger(pvApiCtx, piAddrl1, &m1, &n1, &l1); + if (sciErr.iErr) + { + printError(&sciErr, 0); + Scierror(202, _("%s: Wrong type for argument #%d: A real expected.\n"), fname, 1); + return 1; + } + + if (m1 * n1 != 1) + { + Scierror(999, _("%s: Wrong size for input argument #%d: A scalar expected.\n"), fname, 1); + return 1; + } + + figurenum = *l1; + if (!sciIsExistingFigure(figurenum)) + { + Scierror(999, "%s: Input argument #%d must be a valid figure_id.\n", fname, 1); + return 1; + } + figureUID = getFigureFromIndex(figurenum); + } + /* check given handle */ + else if (checkInputArgumentType(pvApiCtx, 1, sci_handles)) + { + int iHandleType = -1; + int* piHandleType = &iHandleType; + long long* l1 = NULL; + + // Retrieve a matrix of handle at position 1. + sciErr = getMatrixOfHandle(pvApiCtx, piAddrl1, &m1, &n1, &l1); + if (sciErr.iErr) + { + printError(&sciErr, 0); + Scierror(202, _("%s: Wrong type for argument #%d: Handle matrix expected.\n"), fname, 1); + return 1; + } + + if (m1 * n1 != 1) + { + Scierror(999, _("%s: Wrong size for input argument #%d: A graphic handle expected.\n"), fname, 1); + return 1; + } + + figureUID = getObjectFromHandle((unsigned long) * l1); + if (figureUID == 0) + { + Scierror(999, _("%s: Input argument #%d must be a valid handle.\n"), fname, 1); + return 1; + } + + getGraphicObjectProperty(figureUID, __GO_TYPE__, jni_int, (void**)&piHandleType); + + if (iHandleType != __GO_FIGURE__) + { + Scierror(999, _("%s: Wrong type for input argument #%d: A ''%s'' handle expected.\n"), fname, 1, "Figure"); + return 1; + } + } + else + { + Scierror(999, _("%s: Wrong type for input argument #%d: A scalar or figure handle expected.\n"), fname, 1); + return 1; + } + + /* get file name */ + sciErr = getVarAddressFromPosition(pvApiCtx, 2, &piAddrfileName); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 1; + } + + // Retrieve a matrix of string at position 2. + if (getAllocatedMatrixOfString(pvApiCtx, piAddrfileName, &m1, &n1, &fileName)) + { + Scierror(202, _("%s: Wrong type for argument #%d: String matrix expected.\n"), fname, 2); + return 1; + } + + if (m1 * n1 == 1) + { + if (nbInputArgument(pvApiCtx) == 3) + { + int nbCol = 0; + int nbRow = 0; + + if (isVectorialExport(fileType)) + { + + char **sciOrientation = NULL; + + if ((!checkInputArgumentType(pvApiCtx, 3, sci_strings))) + { + freeAllocatedMatrixOfString(m1, n1, fileName); + Scierror(999, _("%s: Wrong type for input argument #%d: Single character string expected.\n"), fname, 3); + return 1; + } + + sciErr = getVarAddressFromPosition(pvApiCtx, 3, &piAddrsciOrientation); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 1; + } + + // Retrieve a matrix of string at position 3. + if (getAllocatedMatrixOfString(pvApiCtx, piAddrsciOrientation, &nbRow, &nbCol, &sciOrientation)) + { + freeAllocatedMatrixOfString(m1, n1, fileName); + Scierror(202, _("%s: Wrong type for argument #%d: String matrix expected.\n"), fname, 3); + return 1; + } + + if (nbRow * nbCol == 1) + { + /* Value should be 'landscape' or 'portrait' but check only the first character */ + /* for compatibility with Scilab 4*/ + if (strcmp(sciOrientation[0], "landscape") == 0 || strcmp(sciOrientation[0], "l") == 0) + { + freeAllocatedMatrixOfString(nbRow, nbCol, sciOrientation); + orientation = EXPORT_LANDSCAPE; + } + else if (strcmp(sciOrientation[0], "portrait") == 0 || strcmp(sciOrientation[0], "p") == 0) + { + freeAllocatedMatrixOfString(nbRow, nbCol, sciOrientation); + orientation = EXPORT_PORTRAIT; + } + else + { + freeAllocatedMatrixOfString(m1, n1, fileName); + freeAllocatedMatrixOfString(nbRow, nbCol, sciOrientation); + Scierror(999, _("%s: Wrong value for input argument #%d: '%s' or '%s' expected.\n"), fname, 3, "portrait", "landscape"); + return 1; + } + } + else + { + freeAllocatedMatrixOfString(m1, n1, fileName); + freeAllocatedMatrixOfString(nbRow, nbCol, sciOrientation); + Scierror(999, _("%s: Wrong size for input argument #%d: Single character string expected.\n"), fname, 3); + return 1; + } + } + else + { + sciErr = getVarAddressFromPosition(pvApiCtx, 3, &piAddrquality); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 1; + } + + // Retrieve a matrix of double at position 3. + sciErr = getMatrixOfDouble(pvApiCtx, piAddrquality, &nbRow, &nbCol, &quality); + if (sciErr.iErr) + { + freeAllocatedMatrixOfString(m1, n1, fileName); + printError(&sciErr, 0); + Scierror(202, _("%s: Wrong type for argument #%d: A real expected.\n"), fname, 3); + return 1; + } + + if (nbRow != 1 || nbCol != 1 || *quality < 0 || *quality > 1) + { + freeAllocatedMatrixOfString(m1, n1, fileName); + Scierror(999, _("%s: Wrong type for input argument #%d: A real between 0 and 1 expected.\n"), fname, 3); + return 1; + } + jpegCompressionQuality = (float) * quality; + } + } + + /* Replaces SCI, ~, HOME, TMPDIR by the real path */ + real_filename = expandPathVariable(fileName[0]); + + /* Call the function for exporting file */ + status = exportToFile(figureUID, real_filename, fileType, jpegCompressionQuality, orientation); + + /* free pointers no more used */ + if (real_filename) + { + FREE(real_filename); + real_filename = NULL; + } + freeAllocatedMatrixOfString(m1, n1, fileName); + + /* treat errors */ + if (strlen(status) != 0) + { + Scierror(999, _("%s: %s\n"), fname, status); + return 1; + } + } + else + { + freeAllocatedMatrixOfString(m1, n1, fileName); + Scierror(999, _("%s: Wrong size for input argument #%d: Single character string expected.\n"), fname, 2); + return 1; + } + } + else + { + Scierror(999, _("%s: Wrong type for input argument #%d: Single character string expected.\n"), fname, 2); + return 1; + } + + AssignOutputVariable(pvApiCtx, 1) = 0; + ReturnArguments(pvApiCtx); + + return 0; +} +/*--------------------------------------------------------------------------*/ +static BOOL isVectorialExport(ExportFileType fileType) +{ + return fileType == EPS_EXPORT + || fileType == PS_EXPORT + || fileType == PDF_EXPORT + || fileType == SVG_EXPORT + || fileType == EMF_EXPORT; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/sci_gateway/c/xs2file.h b/modules/graphic_export/sci_gateway/c/xs2file.h new file mode 100755 index 000000000..a2d7735e5 --- /dev/null +++ b/modules/graphic_export/sci_gateway/c/xs2file.h @@ -0,0 +1,30 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2006 - INRIA - Fabrice Leray + * Copyright (C) 2006 - INRIA - Jean-Baptiste Silvy + * desc : interface for xs2file routine + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#ifndef _XS2FILE_H_ +#define _XS2FILE_H_ + +#include "exportToFile.hxx" + +/** + * Generic function to create either ps, fig, gif or ppm files. + * + * @param[in] fname name of the routine (ie xs2ps, xs2fig,...) + * @param fileType type of the export (ie JPG_EXPORT, BMP_EXPORT, PS_EXPORT, ...). + * @return 0 if success, -1 otherwise + */ +int xs2file(char * fname, ExportFileType fileType) ; + + +#endif /* _INT_XS2FILE_H_ */ diff --git a/modules/graphic_export/sci_gateway/cpp/.deps/.dirstamp b/modules/graphic_export/sci_gateway/cpp/.deps/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/graphic_export/sci_gateway/cpp/.deps/.dirstamp diff --git a/modules/graphic_export/sci_gateway/cpp/.deps/libscigraphic_export_la-sci_driver.Plo b/modules/graphic_export/sci_gateway/cpp/.deps/libscigraphic_export_la-sci_driver.Plo new file mode 100755 index 000000000..f3a065336 --- /dev/null +++ b/modules/graphic_export/sci_gateway/cpp/.deps/libscigraphic_export_la-sci_driver.Plo @@ -0,0 +1,571 @@ +sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo: \ + sci_gateway/cpp/sci_driver.cpp /usr/include/stdc-predef.h \ + /usr/include/string.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/graphic_objects/includes/ScilabView.hxx \ + /usr/include/c++/5/map /usr/include/c++/5/bits/stl_tree.h \ + /usr/include/c++/5/bits/stl_algobase.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \ + /usr/include/c++/5/bits/functexcept.h \ + /usr/include/c++/5/bits/exception_defines.h \ + /usr/include/c++/5/bits/cpp_type_traits.h \ + /usr/include/c++/5/ext/type_traits.h \ + /usr/include/c++/5/ext/numeric_traits.h \ + /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \ + /usr/include/c++/5/bits/concept_check.h \ + /usr/include/c++/5/bits/stl_iterator_base_types.h \ + /usr/include/c++/5/bits/stl_iterator_base_funcs.h \ + /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \ + /usr/include/c++/5/bits/ptr_traits.h \ + /usr/include/c++/5/bits/predefined_ops.h \ + /usr/include/c++/5/bits/allocator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \ + /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \ + /usr/include/c++/5/exception \ + /usr/include/c++/5/bits/atomic_lockfree_defines.h \ + /usr/include/c++/5/bits/memoryfwd.h \ + /usr/include/c++/5/bits/stl_function.h \ + /usr/include/c++/5/backward/binders.h \ + /usr/include/c++/5/ext/alloc_traits.h /usr/include/c++/5/bits/stl_map.h \ + /usr/include/c++/5/bits/stl_multimap.h \ + /usr/include/c++/5/bits/range_access.h /usr/include/c++/5/list \ + /usr/include/c++/5/bits/stl_list.h /usr/include/c++/5/bits/list.tcc \ + /usr/include/c++/5/vector /usr/include/c++/5/bits/stl_construct.h \ + /usr/include/c++/5/bits/stl_uninitialized.h \ + /usr/include/c++/5/bits/stl_vector.h \ + /usr/include/c++/5/bits/stl_bvector.h /usr/include/c++/5/bits/vector.tcc \ + /usr/include/c++/5/string /usr/include/c++/5/bits/stringfwd.h \ + /usr/include/c++/5/bits/char_traits.h /usr/include/c++/5/bits/postypes.h \ + /usr/include/c++/5/cwchar /usr/include/wchar.h /usr/include/stdio.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + /usr/include/c++/5/bits/localefwd.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \ + /usr/include/c++/5/clocale /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/iosfwd \ + /usr/include/c++/5/cctype /usr/include/ctype.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/c++/5/bits/ostream_insert.h \ + /usr/include/c++/5/bits/cxxabi_forced.h \ + /usr/include/c++/5/bits/basic_string.h \ + /usr/include/c++/5/ext/atomicity.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \ + /usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \ + /usr/include/c++/5/bits/basic_string.tcc \ + ../../modules/graphic_objects/includes/dynlib_graphic_objects.h \ + ../../modules/gui/src/jni/SwingView.hxx /usr/include/c++/5/iostream \ + /usr/include/c++/5/ostream /usr/include/c++/5/ios \ + /usr/include/c++/5/bits/ios_base.h \ + /usr/include/c++/5/bits/locale_classes.h \ + /usr/include/c++/5/bits/locale_classes.tcc /usr/include/c++/5/stdexcept \ + /usr/include/c++/5/streambuf /usr/include/c++/5/bits/streambuf.tcc \ + /usr/include/c++/5/bits/basic_ios.h \ + /usr/include/c++/5/bits/locale_facets.h /usr/include/c++/5/cwctype \ + /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h \ + /usr/include/c++/5/bits/streambuf_iterator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h \ + /usr/include/c++/5/bits/locale_facets.tcc \ + /usr/include/c++/5/bits/basic_ios.tcc \ + /usr/include/c++/5/bits/ostream.tcc /usr/include/c++/5/istream \ + /usr/include/c++/5/bits/istream.tcc /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + ../../modules/commons/src/jni/GiwsException.hxx src/jni/Driver.hxx \ + ../../modules/jvm/includes/getScilabJavaVM.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/core/includes/machine.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h \ + /usr/include/x86_64-linux-gnu/bits/xopen_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/values.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/localization/includes/localization.h \ + /usr/include/libintl.h \ + ../../modules/graphic_objects/includes/deleteGraphicObject.h \ + includes/gw_graphic_export.h includes/dynlib_graphic_export.h + +/usr/include/stdc-predef.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/graphic_objects/includes/ScilabView.hxx: + +/usr/include/c++/5/map: + +/usr/include/c++/5/bits/stl_tree.h: + +/usr/include/c++/5/bits/stl_algobase.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h: + +/usr/include/c++/5/bits/functexcept.h: + +/usr/include/c++/5/bits/exception_defines.h: + +/usr/include/c++/5/bits/cpp_type_traits.h: + +/usr/include/c++/5/ext/type_traits.h: + +/usr/include/c++/5/ext/numeric_traits.h: + +/usr/include/c++/5/bits/stl_pair.h: + +/usr/include/c++/5/bits/move.h: + +/usr/include/c++/5/bits/concept_check.h: + +/usr/include/c++/5/bits/stl_iterator_base_types.h: + +/usr/include/c++/5/bits/stl_iterator_base_funcs.h: + +/usr/include/c++/5/debug/debug.h: + +/usr/include/c++/5/bits/stl_iterator.h: + +/usr/include/c++/5/bits/ptr_traits.h: + +/usr/include/c++/5/bits/predefined_ops.h: + +/usr/include/c++/5/bits/allocator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h: + +/usr/include/c++/5/ext/new_allocator.h: + +/usr/include/c++/5/new: + +/usr/include/c++/5/exception: + +/usr/include/c++/5/bits/atomic_lockfree_defines.h: + +/usr/include/c++/5/bits/memoryfwd.h: + +/usr/include/c++/5/bits/stl_function.h: + +/usr/include/c++/5/backward/binders.h: + +/usr/include/c++/5/ext/alloc_traits.h: + +/usr/include/c++/5/bits/stl_map.h: + +/usr/include/c++/5/bits/stl_multimap.h: + +/usr/include/c++/5/bits/range_access.h: + +/usr/include/c++/5/list: + +/usr/include/c++/5/bits/stl_list.h: + +/usr/include/c++/5/bits/list.tcc: + +/usr/include/c++/5/vector: + +/usr/include/c++/5/bits/stl_construct.h: + +/usr/include/c++/5/bits/stl_uninitialized.h: + +/usr/include/c++/5/bits/stl_vector.h: + +/usr/include/c++/5/bits/stl_bvector.h: + +/usr/include/c++/5/bits/vector.tcc: + +/usr/include/c++/5/string: + +/usr/include/c++/5/bits/stringfwd.h: + +/usr/include/c++/5/bits/char_traits.h: + +/usr/include/c++/5/bits/postypes.h: + +/usr/include/c++/5/cwchar: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/c++/5/bits/localefwd.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h: + +/usr/include/c++/5/clocale: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/c++/5/iosfwd: + +/usr/include/c++/5/cctype: + +/usr/include/ctype.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/c++/5/bits/ostream_insert.h: + +/usr/include/c++/5/bits/cxxabi_forced.h: + +/usr/include/c++/5/bits/basic_string.h: + +/usr/include/c++/5/ext/atomicity.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h: + +/usr/include/pthread.h: + +/usr/include/sched.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/timex.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h: + +/usr/include/c++/5/bits/basic_string.tcc: + +../../modules/graphic_objects/includes/dynlib_graphic_objects.h: + +../../modules/gui/src/jni/SwingView.hxx: + +/usr/include/c++/5/iostream: + +/usr/include/c++/5/ostream: + +/usr/include/c++/5/ios: + +/usr/include/c++/5/bits/ios_base.h: + +/usr/include/c++/5/bits/locale_classes.h: + +/usr/include/c++/5/bits/locale_classes.tcc: + +/usr/include/c++/5/stdexcept: + +/usr/include/c++/5/streambuf: + +/usr/include/c++/5/bits/streambuf.tcc: + +/usr/include/c++/5/bits/basic_ios.h: + +/usr/include/c++/5/bits/locale_facets.h: + +/usr/include/c++/5/cwctype: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h: + +/usr/include/c++/5/bits/streambuf_iterator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h: + +/usr/include/c++/5/bits/locale_facets.tcc: + +/usr/include/c++/5/bits/basic_ios.tcc: + +/usr/include/c++/5/bits/ostream.tcc: + +/usr/include/c++/5/istream: + +/usr/include/c++/5/bits/istream.tcc: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +../../modules/commons/src/jni/GiwsException.hxx: + +src/jni/Driver.hxx: + +../../modules/jvm/includes/getScilabJavaVM.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/core/includes/machine.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/x86_64-linux-gnu/bits/xopen_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/values.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/localization/includes/localization.h: + +/usr/include/libintl.h: + +../../modules/graphic_objects/includes/deleteGraphicObject.h: + +includes/gw_graphic_export.h: + +includes/dynlib_graphic_export.h: diff --git a/modules/graphic_export/sci_gateway/cpp/.deps/libscigraphic_export_la-sci_xend.Plo b/modules/graphic_export/sci_gateway/cpp/.deps/libscigraphic_export_la-sci_xend.Plo new file mode 100755 index 000000000..48bb92555 --- /dev/null +++ b/modules/graphic_export/sci_gateway/cpp/.deps/libscigraphic_export_la-sci_xend.Plo @@ -0,0 +1,570 @@ +sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo: \ + sci_gateway/cpp/sci_xend.cpp /usr/include/stdc-predef.h \ + ../../modules/graphic_objects/includes/ScilabView.hxx \ + /usr/include/c++/5/map /usr/include/c++/5/bits/stl_tree.h \ + /usr/include/c++/5/bits/stl_algobase.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \ + /usr/include/c++/5/bits/functexcept.h \ + /usr/include/c++/5/bits/exception_defines.h \ + /usr/include/c++/5/bits/cpp_type_traits.h \ + /usr/include/c++/5/ext/type_traits.h \ + /usr/include/c++/5/ext/numeric_traits.h \ + /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \ + /usr/include/c++/5/bits/concept_check.h \ + /usr/include/c++/5/bits/stl_iterator_base_types.h \ + /usr/include/c++/5/bits/stl_iterator_base_funcs.h \ + /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \ + /usr/include/c++/5/bits/ptr_traits.h \ + /usr/include/c++/5/bits/predefined_ops.h \ + /usr/include/c++/5/bits/allocator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \ + /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \ + /usr/include/c++/5/exception \ + /usr/include/c++/5/bits/atomic_lockfree_defines.h \ + /usr/include/c++/5/bits/memoryfwd.h \ + /usr/include/c++/5/bits/stl_function.h \ + /usr/include/c++/5/backward/binders.h \ + /usr/include/c++/5/ext/alloc_traits.h /usr/include/c++/5/bits/stl_map.h \ + /usr/include/c++/5/bits/stl_multimap.h \ + /usr/include/c++/5/bits/range_access.h /usr/include/c++/5/list \ + /usr/include/c++/5/bits/stl_list.h /usr/include/c++/5/bits/list.tcc \ + /usr/include/c++/5/vector /usr/include/c++/5/bits/stl_construct.h \ + /usr/include/c++/5/bits/stl_uninitialized.h \ + /usr/include/c++/5/bits/stl_vector.h \ + /usr/include/c++/5/bits/stl_bvector.h /usr/include/c++/5/bits/vector.tcc \ + /usr/include/c++/5/string /usr/include/c++/5/bits/stringfwd.h \ + /usr/include/c++/5/bits/char_traits.h /usr/include/c++/5/bits/postypes.h \ + /usr/include/c++/5/cwchar /usr/include/wchar.h /usr/include/stdio.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + /usr/include/c++/5/bits/localefwd.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \ + /usr/include/c++/5/clocale /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/iosfwd \ + /usr/include/c++/5/cctype /usr/include/ctype.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/c++/5/bits/ostream_insert.h \ + /usr/include/c++/5/bits/cxxabi_forced.h \ + /usr/include/c++/5/bits/basic_string.h \ + /usr/include/c++/5/ext/atomicity.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \ + /usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \ + /usr/include/c++/5/bits/basic_string.tcc \ + ../../modules/graphic_objects/includes/dynlib_graphic_objects.h \ + ../../modules/gui/src/jni/SwingView.hxx /usr/include/c++/5/iostream \ + /usr/include/c++/5/ostream /usr/include/c++/5/ios \ + /usr/include/c++/5/bits/ios_base.h \ + /usr/include/c++/5/bits/locale_classes.h \ + /usr/include/c++/5/bits/locale_classes.tcc /usr/include/c++/5/stdexcept \ + /usr/include/c++/5/streambuf /usr/include/c++/5/bits/streambuf.tcc \ + /usr/include/c++/5/bits/basic_ios.h \ + /usr/include/c++/5/bits/locale_facets.h /usr/include/c++/5/cwctype \ + /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h \ + /usr/include/c++/5/bits/streambuf_iterator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h \ + /usr/include/c++/5/bits/locale_facets.tcc \ + /usr/include/c++/5/bits/basic_ios.tcc \ + /usr/include/c++/5/bits/ostream.tcc /usr/include/c++/5/istream \ + /usr/include/c++/5/bits/istream.tcc /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + ../../modules/commons/src/jni/GiwsException.hxx src/jni/Driver.hxx \ + ../../modules/jvm/includes/getScilabJavaVM.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/core/includes/machine.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h \ + /usr/include/x86_64-linux-gnu/bits/xopen_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/values.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/localization/includes/localization.h \ + /usr/include/libintl.h \ + ../../modules/graphic_objects/includes/deleteGraphicObject.h \ + includes/gw_graphic_export.h includes/dynlib_graphic_export.h + +/usr/include/stdc-predef.h: + +../../modules/graphic_objects/includes/ScilabView.hxx: + +/usr/include/c++/5/map: + +/usr/include/c++/5/bits/stl_tree.h: + +/usr/include/c++/5/bits/stl_algobase.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h: + +/usr/include/c++/5/bits/functexcept.h: + +/usr/include/c++/5/bits/exception_defines.h: + +/usr/include/c++/5/bits/cpp_type_traits.h: + +/usr/include/c++/5/ext/type_traits.h: + +/usr/include/c++/5/ext/numeric_traits.h: + +/usr/include/c++/5/bits/stl_pair.h: + +/usr/include/c++/5/bits/move.h: + +/usr/include/c++/5/bits/concept_check.h: + +/usr/include/c++/5/bits/stl_iterator_base_types.h: + +/usr/include/c++/5/bits/stl_iterator_base_funcs.h: + +/usr/include/c++/5/debug/debug.h: + +/usr/include/c++/5/bits/stl_iterator.h: + +/usr/include/c++/5/bits/ptr_traits.h: + +/usr/include/c++/5/bits/predefined_ops.h: + +/usr/include/c++/5/bits/allocator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h: + +/usr/include/c++/5/ext/new_allocator.h: + +/usr/include/c++/5/new: + +/usr/include/c++/5/exception: + +/usr/include/c++/5/bits/atomic_lockfree_defines.h: + +/usr/include/c++/5/bits/memoryfwd.h: + +/usr/include/c++/5/bits/stl_function.h: + +/usr/include/c++/5/backward/binders.h: + +/usr/include/c++/5/ext/alloc_traits.h: + +/usr/include/c++/5/bits/stl_map.h: + +/usr/include/c++/5/bits/stl_multimap.h: + +/usr/include/c++/5/bits/range_access.h: + +/usr/include/c++/5/list: + +/usr/include/c++/5/bits/stl_list.h: + +/usr/include/c++/5/bits/list.tcc: + +/usr/include/c++/5/vector: + +/usr/include/c++/5/bits/stl_construct.h: + +/usr/include/c++/5/bits/stl_uninitialized.h: + +/usr/include/c++/5/bits/stl_vector.h: + +/usr/include/c++/5/bits/stl_bvector.h: + +/usr/include/c++/5/bits/vector.tcc: + +/usr/include/c++/5/string: + +/usr/include/c++/5/bits/stringfwd.h: + +/usr/include/c++/5/bits/char_traits.h: + +/usr/include/c++/5/bits/postypes.h: + +/usr/include/c++/5/cwchar: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/c++/5/bits/localefwd.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h: + +/usr/include/c++/5/clocale: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/c++/5/iosfwd: + +/usr/include/c++/5/cctype: + +/usr/include/ctype.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/c++/5/bits/ostream_insert.h: + +/usr/include/c++/5/bits/cxxabi_forced.h: + +/usr/include/c++/5/bits/basic_string.h: + +/usr/include/c++/5/ext/atomicity.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h: + +/usr/include/pthread.h: + +/usr/include/sched.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/timex.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h: + +/usr/include/c++/5/bits/basic_string.tcc: + +../../modules/graphic_objects/includes/dynlib_graphic_objects.h: + +../../modules/gui/src/jni/SwingView.hxx: + +/usr/include/c++/5/iostream: + +/usr/include/c++/5/ostream: + +/usr/include/c++/5/ios: + +/usr/include/c++/5/bits/ios_base.h: + +/usr/include/c++/5/bits/locale_classes.h: + +/usr/include/c++/5/bits/locale_classes.tcc: + +/usr/include/c++/5/stdexcept: + +/usr/include/c++/5/streambuf: + +/usr/include/c++/5/bits/streambuf.tcc: + +/usr/include/c++/5/bits/basic_ios.h: + +/usr/include/c++/5/bits/locale_facets.h: + +/usr/include/c++/5/cwctype: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h: + +/usr/include/c++/5/bits/streambuf_iterator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h: + +/usr/include/c++/5/bits/locale_facets.tcc: + +/usr/include/c++/5/bits/basic_ios.tcc: + +/usr/include/c++/5/bits/ostream.tcc: + +/usr/include/c++/5/istream: + +/usr/include/c++/5/bits/istream.tcc: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +../../modules/commons/src/jni/GiwsException.hxx: + +src/jni/Driver.hxx: + +../../modules/jvm/includes/getScilabJavaVM.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/core/includes/machine.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/x86_64-linux-gnu/bits/xopen_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/values.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/localization/includes/localization.h: + +/usr/include/libintl.h: + +../../modules/graphic_objects/includes/deleteGraphicObject.h: + +includes/gw_graphic_export.h: + +includes/dynlib_graphic_export.h: diff --git a/modules/graphic_export/sci_gateway/cpp/.deps/libscigraphic_export_la-sci_xinit.Plo b/modules/graphic_export/sci_gateway/cpp/.deps/libscigraphic_export_la-sci_xinit.Plo new file mode 100755 index 000000000..d872b1efd --- /dev/null +++ b/modules/graphic_export/sci_gateway/cpp/.deps/libscigraphic_export_la-sci_xinit.Plo @@ -0,0 +1,535 @@ +sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo: \ + sci_gateway/cpp/sci_xinit.cpp /usr/include/stdc-predef.h \ + src/jni/Driver.hxx /usr/include/c++/5/iostream \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \ + /usr/include/c++/5/ostream /usr/include/c++/5/ios \ + /usr/include/c++/5/iosfwd /usr/include/c++/5/bits/stringfwd.h \ + /usr/include/c++/5/bits/memoryfwd.h /usr/include/c++/5/bits/postypes.h \ + /usr/include/c++/5/cwchar /usr/include/wchar.h /usr/include/stdio.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h /usr/include/c++/5/exception \ + /usr/include/c++/5/bits/atomic_lockfree_defines.h \ + /usr/include/c++/5/bits/char_traits.h \ + /usr/include/c++/5/bits/stl_algobase.h \ + /usr/include/c++/5/bits/functexcept.h \ + /usr/include/c++/5/bits/exception_defines.h \ + /usr/include/c++/5/bits/cpp_type_traits.h \ + /usr/include/c++/5/ext/type_traits.h \ + /usr/include/c++/5/ext/numeric_traits.h \ + /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \ + /usr/include/c++/5/bits/concept_check.h \ + /usr/include/c++/5/bits/stl_iterator_base_types.h \ + /usr/include/c++/5/bits/stl_iterator_base_funcs.h \ + /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \ + /usr/include/c++/5/bits/ptr_traits.h \ + /usr/include/c++/5/bits/predefined_ops.h \ + /usr/include/c++/5/bits/localefwd.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \ + /usr/include/c++/5/clocale /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/cctype \ + /usr/include/ctype.h /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/c++/5/bits/ios_base.h /usr/include/c++/5/ext/atomicity.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \ + /usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \ + /usr/include/c++/5/bits/locale_classes.h /usr/include/c++/5/string \ + /usr/include/c++/5/bits/allocator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \ + /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \ + /usr/include/c++/5/bits/ostream_insert.h \ + /usr/include/c++/5/bits/cxxabi_forced.h \ + /usr/include/c++/5/bits/stl_function.h \ + /usr/include/c++/5/backward/binders.h \ + /usr/include/c++/5/bits/range_access.h \ + /usr/include/c++/5/bits/basic_string.h \ + /usr/include/c++/5/ext/alloc_traits.h \ + /usr/include/c++/5/bits/basic_string.tcc \ + /usr/include/c++/5/bits/locale_classes.tcc /usr/include/c++/5/stdexcept \ + /usr/include/c++/5/streambuf /usr/include/c++/5/bits/streambuf.tcc \ + /usr/include/c++/5/bits/basic_ios.h \ + /usr/include/c++/5/bits/locale_facets.h /usr/include/c++/5/cwctype \ + /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h \ + /usr/include/c++/5/bits/streambuf_iterator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h \ + /usr/include/c++/5/bits/locale_facets.tcc \ + /usr/include/c++/5/bits/basic_ios.tcc \ + /usr/include/c++/5/bits/ostream.tcc /usr/include/c++/5/istream \ + /usr/include/c++/5/bits/istream.tcc /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + ../../modules/commons/src/jni/GiwsException.hxx \ + ../../modules/jvm/includes/getScilabJavaVM.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/core/includes/machine.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h \ + /usr/include/x86_64-linux-gnu/bits/xopen_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/values.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/localization/includes/localization.h \ + /usr/include/libintl.h \ + ../../modules/fileio/includes/expandPathVariable.h \ + ../../modules/fileio/includes/dynlib_fileio.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h includes/gw_graphic_export.h \ + includes/dynlib_graphic_export.h + +/usr/include/stdc-predef.h: + +src/jni/Driver.hxx: + +/usr/include/c++/5/iostream: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h: + +/usr/include/c++/5/ostream: + +/usr/include/c++/5/ios: + +/usr/include/c++/5/iosfwd: + +/usr/include/c++/5/bits/stringfwd.h: + +/usr/include/c++/5/bits/memoryfwd.h: + +/usr/include/c++/5/bits/postypes.h: + +/usr/include/c++/5/cwchar: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/c++/5/exception: + +/usr/include/c++/5/bits/atomic_lockfree_defines.h: + +/usr/include/c++/5/bits/char_traits.h: + +/usr/include/c++/5/bits/stl_algobase.h: + +/usr/include/c++/5/bits/functexcept.h: + +/usr/include/c++/5/bits/exception_defines.h: + +/usr/include/c++/5/bits/cpp_type_traits.h: + +/usr/include/c++/5/ext/type_traits.h: + +/usr/include/c++/5/ext/numeric_traits.h: + +/usr/include/c++/5/bits/stl_pair.h: + +/usr/include/c++/5/bits/move.h: + +/usr/include/c++/5/bits/concept_check.h: + +/usr/include/c++/5/bits/stl_iterator_base_types.h: + +/usr/include/c++/5/bits/stl_iterator_base_funcs.h: + +/usr/include/c++/5/debug/debug.h: + +/usr/include/c++/5/bits/stl_iterator.h: + +/usr/include/c++/5/bits/ptr_traits.h: + +/usr/include/c++/5/bits/predefined_ops.h: + +/usr/include/c++/5/bits/localefwd.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h: + +/usr/include/c++/5/clocale: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/c++/5/cctype: + +/usr/include/ctype.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/c++/5/bits/ios_base.h: + +/usr/include/c++/5/ext/atomicity.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h: + +/usr/include/pthread.h: + +/usr/include/sched.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/timex.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h: + +/usr/include/c++/5/bits/locale_classes.h: + +/usr/include/c++/5/string: + +/usr/include/c++/5/bits/allocator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h: + +/usr/include/c++/5/ext/new_allocator.h: + +/usr/include/c++/5/new: + +/usr/include/c++/5/bits/ostream_insert.h: + +/usr/include/c++/5/bits/cxxabi_forced.h: + +/usr/include/c++/5/bits/stl_function.h: + +/usr/include/c++/5/backward/binders.h: + +/usr/include/c++/5/bits/range_access.h: + +/usr/include/c++/5/bits/basic_string.h: + +/usr/include/c++/5/ext/alloc_traits.h: + +/usr/include/c++/5/bits/basic_string.tcc: + +/usr/include/c++/5/bits/locale_classes.tcc: + +/usr/include/c++/5/stdexcept: + +/usr/include/c++/5/streambuf: + +/usr/include/c++/5/bits/streambuf.tcc: + +/usr/include/c++/5/bits/basic_ios.h: + +/usr/include/c++/5/bits/locale_facets.h: + +/usr/include/c++/5/cwctype: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h: + +/usr/include/c++/5/bits/streambuf_iterator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h: + +/usr/include/c++/5/bits/locale_facets.tcc: + +/usr/include/c++/5/bits/basic_ios.tcc: + +/usr/include/c++/5/bits/ostream.tcc: + +/usr/include/c++/5/istream: + +/usr/include/c++/5/bits/istream.tcc: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +../../modules/commons/src/jni/GiwsException.hxx: + +../../modules/jvm/includes/getScilabJavaVM.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/core/includes/machine.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/x86_64-linux-gnu/bits/xopen_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/values.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/localization/includes/localization.h: + +/usr/include/libintl.h: + +../../modules/fileio/includes/expandPathVariable.h: + +../../modules/fileio/includes/dynlib_fileio.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +includes/gw_graphic_export.h: + +includes/dynlib_graphic_export.h: diff --git a/modules/graphic_export/sci_gateway/cpp/.dirstamp b/modules/graphic_export/sci_gateway/cpp/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/graphic_export/sci_gateway/cpp/.dirstamp diff --git a/modules/graphic_export/sci_gateway/cpp/.libs/libscigraphic_export_la-sci_driver.o b/modules/graphic_export/sci_gateway/cpp/.libs/libscigraphic_export_la-sci_driver.o Binary files differnew file mode 100755 index 000000000..628f65caf --- /dev/null +++ b/modules/graphic_export/sci_gateway/cpp/.libs/libscigraphic_export_la-sci_driver.o diff --git a/modules/graphic_export/sci_gateway/cpp/.libs/libscigraphic_export_la-sci_xend.o b/modules/graphic_export/sci_gateway/cpp/.libs/libscigraphic_export_la-sci_xend.o Binary files differnew file mode 100755 index 000000000..8f9bfe092 --- /dev/null +++ b/modules/graphic_export/sci_gateway/cpp/.libs/libscigraphic_export_la-sci_xend.o diff --git a/modules/graphic_export/sci_gateway/cpp/.libs/libscigraphic_export_la-sci_xinit.o b/modules/graphic_export/sci_gateway/cpp/.libs/libscigraphic_export_la-sci_xinit.o Binary files differnew file mode 100755 index 000000000..b86892505 --- /dev/null +++ b/modules/graphic_export/sci_gateway/cpp/.libs/libscigraphic_export_la-sci_xinit.o diff --git a/modules/graphic_export/sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo b/modules/graphic_export/sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo new file mode 100755 index 000000000..5a518da4b --- /dev/null +++ b/modules/graphic_export/sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo @@ -0,0 +1,12 @@ +# sci_gateway/cpp/libscigraphic_export_la-sci_driver.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_la-sci_driver.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo b/modules/graphic_export/sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo new file mode 100755 index 000000000..53e61101a --- /dev/null +++ b/modules/graphic_export/sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo @@ -0,0 +1,12 @@ +# sci_gateway/cpp/libscigraphic_export_la-sci_xend.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_la-sci_xend.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo b/modules/graphic_export/sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo new file mode 100755 index 000000000..f2aa5ce1d --- /dev/null +++ b/modules/graphic_export/sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo @@ -0,0 +1,12 @@ +# sci_gateway/cpp/libscigraphic_export_la-sci_xinit.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_la-sci_xinit.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/sci_gateway/cpp/sci_driver.cpp b/modules/graphic_export/sci_gateway/cpp/sci_driver.cpp new file mode 100755 index 000000000..6bd206cb1 --- /dev/null +++ b/modules/graphic_export/sci_gateway/cpp/sci_driver.cpp @@ -0,0 +1,97 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include <string.h> + +#include "ScilabView.hxx" +#include "SwingView.hxx" +#include "Driver.hxx" + +extern "C" +{ +#include "getScilabJavaVM.h" +#include "Scierror.h" +#include "api_scilab.h" +#include "localization.h" +#include "deleteGraphicObject.h" + +#include "gw_graphic_export.h" +} + + +#if _MSC_VER +#define strcasecmp _stricmp +#endif + +/*--------------------------------------------------------------------------*/ +int sci_driver(char * fname, unsigned long fname_len ) +{ + SciErr err; + int * addr = NULL; + char * driver = NULL; + char * previous_driver = NULL; + bool ok = true; + + CheckRhs(0, 1); + + // Get current driver + previous_driver = org_scilab_modules_graphic_export::Driver::getDriver(getScilabJavaVM()); + createSingleString(pvApiCtx, Rhs + 1, previous_driver); + freeAllocatedSingleString(previous_driver); + + if (Rhs == 1) // Change driver if applicable + { + err = getVarAddressFromPosition(pvApiCtx, 1, &addr); + if (err.iErr) + { + printError(&err, 0); + Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 1); + return 0; + } + + if (!isStringType(pvApiCtx, addr) || !checkVarDimension(pvApiCtx, addr, 1, 1)) + { + Scierror(999, gettext("%s: Wrong type for input argument #%d: A string expected.\n"), fname, 1); + return 0; + } + + if (getAllocatedSingleString(pvApiCtx, addr, &driver) != 0) + { + Scierror(999, _("%s: No more memory.\n"), fname); + return 0; + } + + ok = org_scilab_modules_graphic_export::Driver::setDriver(getScilabJavaVM(), driver); + if (!ok) + { + Scierror(999, _("%s: Invalid driver: %s.\n"), fname, driver); + freeAllocatedSingleString(driver); + return 0; + } + + if (strcasecmp(driver, "X11") && strcasecmp(driver, "Rec")) + { + org_scilab_modules_gui::SwingView::setHeadless(getScilabJavaVM(), true); + } + else if (org_scilab_modules_gui::SwingView::isHeadless(getScilabJavaVM())) + { + org_scilab_modules_gui::SwingView::setHeadless(getScilabJavaVM(), false); + } + + freeAllocatedSingleString(driver); + } + + LhsVar(1) = Rhs + 1; + PutLhsVar(); + return 0; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/sci_gateway/cpp/sci_xend.cpp b/modules/graphic_export/sci_gateway/cpp/sci_xend.cpp new file mode 100755 index 000000000..63f13d08e --- /dev/null +++ b/modules/graphic_export/sci_gateway/cpp/sci_xend.cpp @@ -0,0 +1,61 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "ScilabView.hxx" +#include "SwingView.hxx" +#include "Driver.hxx" + +extern "C" +{ +#include "getScilabJavaVM.h" +#include "Scierror.h" +#include "api_scilab.h" +#include "localization.h" +#include "deleteGraphicObject.h" + +#include "gw_graphic_export.h" +#ifdef _MSC_VER +#include "strdup_windows.h" +#endif +} + +/*--------------------------------------------------------------------------*/ +int sci_xend(char * fname, unsigned long fname_len) +{ + CheckInputArgument(pvApiCtx, 0, 0); + + int iCurrentFigureReference = ScilabView::getCurrentFigure(); + + if (iCurrentFigureReference != 0) + { + int uid = iCurrentFigureReference; + + if (uid) + { + char * ret = org_scilab_modules_graphic_export::Driver::end(getScilabJavaVM(), uid); + + deleteGraphicObject(uid); + + if (*ret != '\0') + { + Scierror(999, _("%s: An error occurred: %s\n"), fname, ret); + return 0; + } + } + } + + LhsVar(1) = 0; + PutLhsVar(); + + return 0; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/sci_gateway/cpp/sci_xinit.cpp b/modules/graphic_export/sci_gateway/cpp/sci_xinit.cpp new file mode 100755 index 000000000..2b3cb9c2f --- /dev/null +++ b/modules/graphic_export/sci_gateway/cpp/sci_xinit.cpp @@ -0,0 +1,78 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + + +#include "Driver.hxx" + +extern "C" +{ +#include "getScilabJavaVM.h" +#include "Scierror.h" +#include "api_scilab.h" +#include "localization.h" +#include "expandPathVariable.h" +#include "MALLOC.h" + +#include "gw_graphic_export.h" +} + +/*--------------------------------------------------------------------------*/ +int sci_xinit(char * fname, unsigned long fname_len) +{ + SciErr err; + int * addr = 0; + char * path = 0; + char * realPath = 0; + + CheckInputArgument(pvApiCtx, 1, 1); + + err = getVarAddressFromPosition(pvApiCtx, 1, &addr); + if (err.iErr) + { + printError(&err, 0); + Scierror(999, _("%s: Can not read input argument #%d.\n"), fname, 1); + return 0; + } + + if (!isStringType(pvApiCtx, addr) || !checkVarDimension(pvApiCtx, addr, 1, 1)) + { + Scierror(999, gettext("%s: Wrong type for input argument #%d: A string expected.\n"), fname, 1); + return 0; + } + + if (getAllocatedSingleString(pvApiCtx, addr, &path) != 0) + { + Scierror(999, _("%s: No more memory.\n"), fname); + return 0; + } + + realPath = expandPathVariable(path); + + if (realPath) + { + org_scilab_modules_graphic_export::Driver::setPath(getScilabJavaVM(), realPath); + FREE(realPath); + } + else + { + Scierror(999, _("%s: Invalid path: %s.\n"), fname, path); + return 0; + } + + freeAllocatedSingleString(path); + + LhsVar(1) = 0; + PutLhsVar(); + + return 0; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/sci_gateway/graphic_export_gateway.xml b/modules/graphic_export/sci_gateway/graphic_export_gateway.xml new file mode 100755 index 000000000..e2cfacb0e --- /dev/null +++ b/modules/graphic_export/sci_gateway/graphic_export_gateway.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> + +<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd"> +<GATEWAY name="graphic_export"> + <!-- =================== --> + <!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Allan CORNET + * + * Scilab + * Interface description. In this file, we define the list of the function which + * will be available into Scilab and the link to the "native" function. + * + * gatewayId is the position in the hashtable 'Interfaces' defined in the + * file SCI/modules/core/src/c/callinterf.h + * + * primitiveId is the position in the hashtable '<module>Table Tab[]' defined + * in the file modules/<module>/sci_gateway/c/gw_<module>.c + * + * primitiveName is the name of the Scilab function + * + * Don't touch if you do not know what you are doing + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> + <!-- =================== --> + <PRIMITIVE gatewayId="57" primitiveId="1" primitiveName="xs2bmp" /> + <PRIMITIVE gatewayId="57" primitiveId="2" primitiveName="xs2gif" /> + <PRIMITIVE gatewayId="57" primitiveId="3" primitiveName="xs2jpg" /> + <PRIMITIVE gatewayId="57" primitiveId="4" primitiveName="xs2png" /> + <PRIMITIVE gatewayId="57" primitiveId="5" primitiveName="xs2ppm" /> + <PRIMITIVE gatewayId="57" primitiveId="6" primitiveName="xs2eps" /> + <PRIMITIVE gatewayId="57" primitiveId="7" primitiveName="xs2pdf" /> + <PRIMITIVE gatewayId="57" primitiveId="8" primitiveName="xs2svg" /> + <PRIMITIVE gatewayId="57" primitiveId="9" primitiveName="xs2ps" /> + <PRIMITIVE gatewayId="57" primitiveId="10" primitiveName="xs2emf" /> + <PRIMITIVE gatewayId="57" primitiveId="11" primitiveName="driver" /> + <PRIMITIVE gatewayId="57" primitiveId="12" primitiveName="xinit" /> + <PRIMITIVE gatewayId="57" primitiveId="13" primitiveName="xend" /> +</GATEWAY> diff --git a/modules/graphic_export/src/c/DllmainGraphics_export.c b/modules/graphic_export/src/c/DllmainGraphics_export.c new file mode 100755 index 000000000..c71097885 --- /dev/null +++ b/modules/graphic_export/src/c/DllmainGraphics_export.c @@ -0,0 +1,34 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Allan CORNET + * + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include <windows.h> +/*--------------------------------------------------------------------------*/ +#pragma comment(lib,"../../bin/libintl.lib") +/*--------------------------------------------------------------------------*/ +int WINAPI DllMain (HINSTANCE hInstance , DWORD reason, PVOID pvReserved) +{ + switch (reason) + { + case DLL_PROCESS_ATTACH: + break; + case DLL_PROCESS_DETACH: + break; + case DLL_THREAD_ATTACH: + break; + case DLL_THREAD_DETACH: + break; + } + return 1; +} +/*--------------------------------------------------------------------------*/ + diff --git a/modules/graphic_export/src/cpp/.deps/.dirstamp b/modules/graphic_export/src/cpp/.deps/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/graphic_export/src/cpp/.deps/.dirstamp diff --git a/modules/graphic_export/src/cpp/.deps/libscigraphic_export_algo_la-exportToFile.Plo b/modules/graphic_export/src/cpp/.deps/libscigraphic_export_algo_la-exportToFile.Plo new file mode 100755 index 000000000..eaa46b2ad --- /dev/null +++ b/modules/graphic_export/src/cpp/.deps/libscigraphic_export_algo_la-exportToFile.Plo @@ -0,0 +1,362 @@ +src/cpp/libscigraphic_export_algo_la-exportToFile.lo: \ + src/cpp/exportToFile.cpp /usr/include/stdc-predef.h \ + src/cpp/exportToFile.hxx src/jni/FileExporter.hxx \ + /usr/include/c++/5/iostream \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \ + /usr/include/c++/5/ostream /usr/include/c++/5/ios \ + /usr/include/c++/5/iosfwd /usr/include/c++/5/bits/stringfwd.h \ + /usr/include/c++/5/bits/memoryfwd.h /usr/include/c++/5/bits/postypes.h \ + /usr/include/c++/5/cwchar /usr/include/wchar.h /usr/include/stdio.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h /usr/include/c++/5/exception \ + /usr/include/c++/5/bits/atomic_lockfree_defines.h \ + /usr/include/c++/5/bits/char_traits.h \ + /usr/include/c++/5/bits/stl_algobase.h \ + /usr/include/c++/5/bits/functexcept.h \ + /usr/include/c++/5/bits/exception_defines.h \ + /usr/include/c++/5/bits/cpp_type_traits.h \ + /usr/include/c++/5/ext/type_traits.h \ + /usr/include/c++/5/ext/numeric_traits.h \ + /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \ + /usr/include/c++/5/bits/concept_check.h \ + /usr/include/c++/5/bits/stl_iterator_base_types.h \ + /usr/include/c++/5/bits/stl_iterator_base_funcs.h \ + /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \ + /usr/include/c++/5/bits/ptr_traits.h \ + /usr/include/c++/5/bits/predefined_ops.h \ + /usr/include/c++/5/bits/localefwd.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \ + /usr/include/c++/5/clocale /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/cctype \ + /usr/include/ctype.h /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/c++/5/bits/ios_base.h /usr/include/c++/5/ext/atomicity.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \ + /usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \ + /usr/include/c++/5/bits/locale_classes.h /usr/include/c++/5/string \ + /usr/include/c++/5/bits/allocator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \ + /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \ + /usr/include/c++/5/bits/ostream_insert.h \ + /usr/include/c++/5/bits/cxxabi_forced.h \ + /usr/include/c++/5/bits/stl_function.h \ + /usr/include/c++/5/backward/binders.h \ + /usr/include/c++/5/bits/range_access.h \ + /usr/include/c++/5/bits/basic_string.h \ + /usr/include/c++/5/ext/alloc_traits.h \ + /usr/include/c++/5/bits/basic_string.tcc \ + /usr/include/c++/5/bits/locale_classes.tcc /usr/include/c++/5/stdexcept \ + /usr/include/c++/5/streambuf /usr/include/c++/5/bits/streambuf.tcc \ + /usr/include/c++/5/bits/basic_ios.h \ + /usr/include/c++/5/bits/locale_facets.h /usr/include/c++/5/cwctype \ + /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h \ + /usr/include/c++/5/bits/streambuf_iterator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h \ + /usr/include/c++/5/bits/locale_facets.tcc \ + /usr/include/c++/5/bits/basic_ios.tcc \ + /usr/include/c++/5/bits/ostream.tcc /usr/include/c++/5/istream \ + /usr/include/c++/5/bits/istream.tcc /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + ../../modules/commons/src/jni/GiwsException.hxx \ + ../../modules/jvm/includes/getScilabJavaVM.h \ + ../../modules/graphics/includes/GetProperty.h \ + ../../modules/graphics/includes/dynlib_graphics.h \ + ../../modules/graphics/includes/StringMatrix.h \ + ../../modules/graphics/includes/sciMatrix.h \ + ../../modules/core/includes/BOOL.h + +/usr/include/stdc-predef.h: + +src/cpp/exportToFile.hxx: + +src/jni/FileExporter.hxx: + +/usr/include/c++/5/iostream: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h: + +/usr/include/c++/5/ostream: + +/usr/include/c++/5/ios: + +/usr/include/c++/5/iosfwd: + +/usr/include/c++/5/bits/stringfwd.h: + +/usr/include/c++/5/bits/memoryfwd.h: + +/usr/include/c++/5/bits/postypes.h: + +/usr/include/c++/5/cwchar: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/c++/5/exception: + +/usr/include/c++/5/bits/atomic_lockfree_defines.h: + +/usr/include/c++/5/bits/char_traits.h: + +/usr/include/c++/5/bits/stl_algobase.h: + +/usr/include/c++/5/bits/functexcept.h: + +/usr/include/c++/5/bits/exception_defines.h: + +/usr/include/c++/5/bits/cpp_type_traits.h: + +/usr/include/c++/5/ext/type_traits.h: + +/usr/include/c++/5/ext/numeric_traits.h: + +/usr/include/c++/5/bits/stl_pair.h: + +/usr/include/c++/5/bits/move.h: + +/usr/include/c++/5/bits/concept_check.h: + +/usr/include/c++/5/bits/stl_iterator_base_types.h: + +/usr/include/c++/5/bits/stl_iterator_base_funcs.h: + +/usr/include/c++/5/debug/debug.h: + +/usr/include/c++/5/bits/stl_iterator.h: + +/usr/include/c++/5/bits/ptr_traits.h: + +/usr/include/c++/5/bits/predefined_ops.h: + +/usr/include/c++/5/bits/localefwd.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h: + +/usr/include/c++/5/clocale: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/c++/5/cctype: + +/usr/include/ctype.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/c++/5/bits/ios_base.h: + +/usr/include/c++/5/ext/atomicity.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h: + +/usr/include/pthread.h: + +/usr/include/sched.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/timex.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h: + +/usr/include/c++/5/bits/locale_classes.h: + +/usr/include/c++/5/string: + +/usr/include/c++/5/bits/allocator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h: + +/usr/include/c++/5/ext/new_allocator.h: + +/usr/include/c++/5/new: + +/usr/include/c++/5/bits/ostream_insert.h: + +/usr/include/c++/5/bits/cxxabi_forced.h: + +/usr/include/c++/5/bits/stl_function.h: + +/usr/include/c++/5/backward/binders.h: + +/usr/include/c++/5/bits/range_access.h: + +/usr/include/c++/5/bits/basic_string.h: + +/usr/include/c++/5/ext/alloc_traits.h: + +/usr/include/c++/5/bits/basic_string.tcc: + +/usr/include/c++/5/bits/locale_classes.tcc: + +/usr/include/c++/5/stdexcept: + +/usr/include/c++/5/streambuf: + +/usr/include/c++/5/bits/streambuf.tcc: + +/usr/include/c++/5/bits/basic_ios.h: + +/usr/include/c++/5/bits/locale_facets.h: + +/usr/include/c++/5/cwctype: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h: + +/usr/include/c++/5/bits/streambuf_iterator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h: + +/usr/include/c++/5/bits/locale_facets.tcc: + +/usr/include/c++/5/bits/basic_ios.tcc: + +/usr/include/c++/5/bits/ostream.tcc: + +/usr/include/c++/5/istream: + +/usr/include/c++/5/bits/istream.tcc: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +../../modules/commons/src/jni/GiwsException.hxx: + +../../modules/jvm/includes/getScilabJavaVM.h: + +../../modules/graphics/includes/GetProperty.h: + +../../modules/graphics/includes/dynlib_graphics.h: + +../../modules/graphics/includes/StringMatrix.h: + +../../modules/graphics/includes/sciMatrix.h: + +../../modules/core/includes/BOOL.h: diff --git a/modules/graphic_export/src/cpp/.dirstamp b/modules/graphic_export/src/cpp/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/graphic_export/src/cpp/.dirstamp diff --git a/modules/graphic_export/src/cpp/.libs/libscigraphic_export_algo_la-exportToFile.o b/modules/graphic_export/src/cpp/.libs/libscigraphic_export_algo_la-exportToFile.o Binary files differnew file mode 100755 index 000000000..9245316dd --- /dev/null +++ b/modules/graphic_export/src/cpp/.libs/libscigraphic_export_algo_la-exportToFile.o diff --git a/modules/graphic_export/src/cpp/exportToFile.cpp b/modules/graphic_export/src/cpp/exportToFile.cpp new file mode 100755 index 000000000..23f3305d3 --- /dev/null +++ b/modules/graphic_export/src/cpp/exportToFile.cpp @@ -0,0 +1,40 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Jean-Baptiste Silvy + * desc : Functions to export files + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "exportToFile.hxx" +#include "FileExporter.hxx" + + +extern "C" +{ +#include "getScilabJavaVM.h" +#include "GetProperty.h" +} + + + +/*---------------------------------------------------------------------------------*/ +char * exportToFile(int iFigureUID, + const char * fileName, + ExportFileType fileType, + const float jpegCompressionQuality, + ExportOrientation orientation) +{ + return org_scilab_modules_graphic_export::FileExporter::fileExport(getScilabJavaVM(), + iFigureUID, + (char *)fileName, + fileType, + jpegCompressionQuality, + orientation); +} +/*---------------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/src/cpp/exportToFile.hxx b/modules/graphic_export/src/cpp/exportToFile.hxx new file mode 100755 index 000000000..f339b92b7 --- /dev/null +++ b/modules/graphic_export/src/cpp/exportToFile.hxx @@ -0,0 +1,62 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Jean-Baptiste Silvy + * desc : Functions to export files + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#ifndef _EXPORT_TO_FILE_HXX_ +#define _EXPORT_TO_FILE_HXX_ + +#ifdef __cplusplus +extern "C" { +#endif + +/** Enum listing the supported type of export files */ +typedef enum +{ + NO_EXPORT = 0, + BMP_EXPORT = 1, + GIF_EXPORT = 2, + JPG_EXPORT = 3, + PNG_EXPORT = 4, + PPM_EXPORT = 5, + EPS_EXPORT = 6, + PDF_EXPORT = 7, + SVG_EXPORT = 8, + PS_EXPORT = 9, + EMF_EXPORT = 10, +} +ExportFileType; + +typedef enum +{ + EXPORT_SUCCESS = 0, + EXPORT_IOEXCEPTION_ERROR = 1, + EXPORT_INVALID_FILE = 2, +} ExportError; + +typedef enum +{ + EXPORT_PORTRAIT = 0, + EXPORT_LANDSCAPE = 1 +} ExportOrientation; + +char * exportToFile(int iFigureUID, + const char * fileName, + ExportFileType fileType, + const float jpegCompressionQuality, + ExportOrientation orientation); + +#ifdef __cplusplus +} +#endif + +#endif /* _EXPORT_TO_FILE_HXX_ */ + diff --git a/modules/graphic_export/src/cpp/libscigraphic_export_algo_la-exportToFile.lo b/modules/graphic_export/src/cpp/libscigraphic_export_algo_la-exportToFile.lo new file mode 100755 index 000000000..d488f70f4 --- /dev/null +++ b/modules/graphic_export/src/cpp/libscigraphic_export_algo_la-exportToFile.lo @@ -0,0 +1,12 @@ +# src/cpp/libscigraphic_export_algo_la-exportToFile.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_algo_la-exportToFile.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Driver.java b/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Driver.java new file mode 100755 index 000000000..62d02f0e5 --- /dev/null +++ b/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Driver.java @@ -0,0 +1,85 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +package org.scilab.modules.graphic_export; + +import org.scilab.modules.localization.Messages; + +/** + * Class to map driver function + * + * @author Calixte DENIZET + */ +public class Driver { + + private static String driver = "Rec"; + private static String filename; + + /** + * Set the driver + * @param driver the driver to use + */ + public static boolean setDriver(String driver) { + String d = driver.toLowerCase(); + if (!d.equals("x11") && !d.equals("rec") && !d.equals("null") && Export.getType(d) == -1) { + return false; + } + Driver.driver = driver; + + return true; + } + + /** + * Get the driver + * @return the driver used + */ + public static String getDriver() { + return driver; + } + + /** + * Set the path + * @param path the path + */ + public static void setPath(String path) { + Driver.filename = path; + } + + public static boolean isImageRendering() { + return !driver.equalsIgnoreCase("X11") && !driver.equalsIgnoreCase("Rec") && !driver.equals("null"); + } + + public static void setDefaultVisitor(int uid) { + if (isImageRendering()) { + Export.setVisitor(uid, Export.getType(driver), new ExportParams(-1.0f, 0, true)); + } + } + + /** + * Export the current figure + * @param uid the uid of the current figure + */ + public static String end(int uid) { + if (filename == null) { + return Messages.gettext("xinit must be called before xend."); + } + + if (isImageRendering()) { + String ret = FileExporter.headlessFileExport(uid, filename, driver, -1, 0); + filename = null; + + return ret; + } + + return ""; + } +} diff --git a/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java b/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java new file mode 100755 index 000000000..68a1cf9d7 --- /dev/null +++ b/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java @@ -0,0 +1,1189 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2012 - Scilab Enterprises - Calixte Denizet + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +package org.scilab.modules.graphic_export; + +import java.awt.Dimension; +import java.awt.Font; +import java.awt.Graphics2D; +import java.awt.Shape; +import java.awt.geom.AffineTransform; +import java.awt.geom.Ellipse2D; +import java.awt.geom.Path2D; +import java.awt.geom.PathIterator; +import java.awt.image.BufferedImage; +import java.io.BufferedOutputStream; +import java.io.ByteArrayOutputStream; +import java.io.File; +import java.io.FileNotFoundException; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.OutputStream; +import java.io.OutputStreamWriter; +import java.io.Writer; +import java.lang.reflect.Constructor; +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Type; +import java.nio.charset.Charset; +import java.nio.charset.CharsetEncoder; +import java.text.AttributedCharacterIterator; +import java.util.HashMap; +import java.util.Map; +import java.util.WeakHashMap; + +import org.apache.batik.dom.GenericDOMImplementation; +import org.apache.batik.svggen.SVGGeneratorContext; +import org.apache.batik.svggen.SVGGraphics2D; +import org.apache.fop.Version; +import org.apache.fop.svg.PDFDocumentGraphics2D; +import org.apache.xmlgraphics.java2d.GraphicContext; +import org.apache.xmlgraphics.java2d.ps.AbstractPSDocumentGraphics2D; +import org.apache.xmlgraphics.java2d.ps.EPSDocumentGraphics2D; +import org.apache.xmlgraphics.java2d.ps.PSDocumentGraphics2D; +import org.apache.xmlgraphics.ps.DSCConstants; +import org.apache.xmlgraphics.ps.PSGenerator; +import org.scilab.forge.scirenderer.Canvas; +import org.scilab.forge.scirenderer.implementation.g2d.G2DCanvas; +import org.scilab.forge.scirenderer.implementation.g2d.G2DCanvasFactory; +import org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvas; +import org.scilab.forge.scirenderer.implementation.jogl.JoGLCanvasFactory; +import org.scilab.modules.commons.ScilabCommonsUtils; +import org.scilab.modules.graphic_export.convertToPPM.PPMEncoder; +import org.scilab.modules.graphic_objects.figure.Figure; +import org.scilab.modules.graphic_objects.graphicController.GraphicController; +import org.scilab.modules.graphic_objects.graphicObject.GraphicObjectProperties; +import org.scilab.modules.renderer.JoGLView.DrawerVisitor; +import org.w3c.dom.DOMImplementation; +import org.w3c.dom.Document; + +/** + * Main class to export + * Dependancies are put in inner classes to avoid the deps loading. + * + * @author Calixte DENIZET + */ +public class Export { + + public static final int SUCCESS = 0; + public static final int IOEXCEPTION_ERROR = 1; + public static final int INVALID_FILE = 2; + public static final int MEMORY_ERROR = 3; + public static final int UNKNOWN_ERROR = 4; + public static final int FILENOTFOUND_ERROR = 5; + public static final int NOWRITER_ERROR = 5; + + private static final float DEFAULT_JPEG_COMPRESSION = 0.95f; + + private static final String CLASSPATH_PDF_PS_EPS_EXPORT_NAME = "pdf_ps_eps_graphic_export"; + private static final String CLASSPATH_SVG_EXPORT_NAME = "svg_graphic_export"; + private static final String CLASSPATH_EMF_EXPORT_NAME = "emf_graphic_export"; + + private static final Map<DrawerVisitor, Exporter> visitorsToExp = new WeakHashMap<DrawerVisitor, Exporter>(); + + private static final Map<String, Integer> extToType = new HashMap<String, Integer>(); + static { + extToType.put("bmp", 1); + extToType.put("gif", 2); + extToType.put("jpeg", 3); + extToType.put("jpg", 3); + extToType.put("png", 4); + extToType.put("ppm", 5); + extToType.put("eps", 6); + extToType.put("pdf", 7); + extToType.put("svg", 8); + extToType.put("ps", 9); + extToType.put("pos", 9); + extToType.put("emf", 10); + } + + private static boolean emfLoaded; + private static boolean svgLoaded; + private static boolean pdfLoaded; + + public enum TYPE { PNG, JPEG, GIF, BMP, PPM, SVG, PS, EPS, PDF, EMF } + private static final TYPE[] types = new TYPE[] {TYPE.PNG, TYPE.BMP, TYPE.GIF, TYPE.JPEG, TYPE.PNG, TYPE.PPM, TYPE.EPS, TYPE.PDF, TYPE.SVG, TYPE.PS, TYPE.EMF}; + + /** + * @param type the image type + * @return true if bitmap image format + */ + public static boolean isBitmapFormat(TYPE type) { + return type == TYPE.PNG || type == TYPE.JPEG || type == TYPE.GIF || type == TYPE.BMP || type == TYPE.PPM; + } + + public static int getType(String ext) { + Integer type = extToType.get(ext.toLowerCase()); + if (type == null) { + return -1; + } + + return type; + } + + /** + * Export in drawing in a Graphics2D + * @param uid the figure uid + * @param type the export type + * @param fileName the file name + * @param params the export paramaters + * @return the export status + */ + public static int export(int uid, int type, String fileName, ExportParams params, boolean headless) { + // Check that the fileName contains an extension + int dotPosition = fileName.lastIndexOf('.'); // position of the dot + boolean extensionFound = false; + if (dotPosition > 0 && dotPosition <= fileName.length() - 2) { + extensionFound = true; + } + + String extendedFilename = fileName; + if (!extensionFound) { // Add default extension if no one found + String[] extensions = {"png", "bmp", "gif", "jpeg", "png", "ppm", "eps", "pdf", "svg", "ps", "emf"}; + extendedFilename = fileName + "." + extensions[type]; + } + + DrawerVisitor visitor = DrawerVisitor.getVisitor(uid); + if (visitor != null) { + Canvas canvas = visitor.getCanvas(); + if (canvas instanceof JoGLCanvas && isBitmapFormat(types[type]) && visitor.getFigure().getVisible()) { + try { + return exportBitmap(uid, type, extendedFilename, true, params); + } catch (OutOfMemoryError e) { + return MEMORY_ERROR; + } catch (Throwable e) { + return UNKNOWN_ERROR; + } + } + } + + return exportVectorial(uid, type, extendedFilename, params, headless); + } + + /** + * Export in drawing in a Graphics2D + * @param uid the figure uid + * @param type the export type + * @param fileName the file name + * @param params the export paramaters + * @return the export status + */ + public static int exportVectorial(int uid, int type, String fileName, ExportParams params, boolean headless) { + if (fileName == null) { + return INVALID_FILE; + } + + File f = new File(fileName); + int ret = Utils.checkWritePermission(f); + if (ret != SUCCESS) { + return ret; + } + + try { + return exportVectorial(uid, types[type], f, params, headless); + } catch (IOException e) { + if (e instanceof FileNotFoundException) { + return FILENOTFOUND_ERROR; + } + return IOEXCEPTION_ERROR; + } + } + + /** + * Export in drawing in a Graphics2D + * @param uid the figure uid + * @param type the export type + * @param file the file where to export + * @param params the export paramaters + */ + public static int exportVectorial(int uid, TYPE type, File file, ExportParams params, boolean headless) throws IOException { + Figure figure = (Figure) GraphicController.getController().getObjectFromId(uid); + + if (!headless) { + Exporter exporter = getExporter(type); + Integer[] dims = figure.getAxesSize(); + int width = dims[0]; + int height = dims[1]; + + Graphics2D g2d = exporter.getGraphics2D(width, height, file, params); + if (g2d == null) { + return FILENOTFOUND_ERROR; + } + + params.setParamsOnGraphics(g2d); + + Canvas canvas = G2DCanvasFactory.createCanvas(g2d, width, height); + DrawerVisitor oldVisitor = DrawerVisitor.getVisitor(uid); + DrawerVisitor visitor = new DrawerVisitor(null, canvas, figure) { + @Override + public void updateObject(Integer id, int property) { + // Don't update during the export + } + + @Override + public void visit(Figure figure) { + // Fix for bug 13676: allow vectorial export even if the figure is invisible + synchronized (figure) { + super.visit(figure); + if (!figure.getVisible()) { + askAcceptVisitor(figure.getChildren()); + } + } + } + }; + + try { + canvas.setMainDrawer(visitor); + canvas.redraw(); + exporter.write(); + } catch (OutOfMemoryError e) { + return MEMORY_ERROR; + } catch (IOException e) { + throw e; + } catch (Throwable e) { + return UNKNOWN_ERROR; + } finally { + GraphicController.getController().unregister(visitor); + DrawerVisitor.changeVisitor(figure, oldVisitor); + exporter.dispose(); + exporter = null; + visitorsToExp.remove(visitor); + canvas.destroy(); + } + } else { + DrawerVisitor visitor = DrawerVisitor.getVisitor(uid); + if (visitor.getCanvas() instanceof G2DCanvas) { + G2DCanvas canvas = (G2DCanvas) visitor.getCanvas(); + canvas.enableDraw(); + Exporter exporter = null; + try { + canvas.redraw(); + exporter = visitorsToExp.get(visitor); + if (exporter != null) { + exporter.file = file; + exporter.write(); + } + } catch (OutOfMemoryError e) { + return MEMORY_ERROR; + } catch (IOException e) { + throw e; + } catch (Throwable e) { + return UNKNOWN_ERROR; + } finally { + if (exporter != null) { + exporter.dispose(); + exporter = null; + visitorsToExp.remove(visitor); + } + DrawerVisitor.changeVisitor(figure, null); + GraphicController.getController().unregister(visitor); + canvas.destroy(); + } + } + } + + return SUCCESS; + } + + /** + * Export in getting a buffered image from JoGL + * @param uid the figure uid + * @param type the export type + * @param fileName the file name + * @param fromScreen if true, then use the screen view + * @param params the export paramaters + * @return the export status + */ + public static int exportBitmap(int uid, int type, String fileName, boolean fromScreen, ExportParams params) { + if (fileName == null) { + return INVALID_FILE; + } + + File f = new File(fileName); + int ret = Utils.checkWritePermission(f); + if (ret != SUCCESS) { + return ret; + } + + try { + exportBitmap(uid, types[type], f, fromScreen, params); + } catch (IOException e) { + if (e instanceof FileNotFoundException) { + return FILENOTFOUND_ERROR; + } + return IOEXCEPTION_ERROR; + } + + return SUCCESS; + } + + /** + * Export in getting a buffered image from JoGL + * @param uid the figure uid + * @param type the export type + * @param file the file where to export + * @param fromScreen if true, then use the screen view + * @param params the export paramaters + */ + public static void exportBitmap(int uid, TYPE type, File file, boolean fromScreen, ExportParams params) throws IOException { + if (isBitmapFormat(type)) { + JoGLCanvas joglCanvas = null; + if (fromScreen) { + DrawerVisitor visitor = DrawerVisitor.getVisitor(uid); + Canvas canvas = visitor.getCanvas(); + if (canvas instanceof JoGLCanvas) { + joglCanvas = (JoGLCanvas) canvas; + } + } else { + Figure figure = (Figure) GraphicController.getController().getObjectFromId(uid); + Integer[] dims = figure.getAxesSize(); + DrawerVisitor oldVisitor = DrawerVisitor.getVisitor(uid); + joglCanvas = (JoGLCanvas) JoGLCanvasFactory.createCanvas(dims[0], dims[1]); + DrawerVisitor visitor = new DrawerVisitor(null, joglCanvas, figure) { + @Override + public void updateObject(Integer id, int property) { + // Don't update during the export + } + + @Override + public void deleteObject(Integer id) { + // Don't delete during the export + } + }; + joglCanvas.setMainDrawer(visitor); + joglCanvas.redraw(); + GraphicController.getController().unregister(visitor); + DrawerVisitor.changeVisitor(figure, oldVisitor); + } + + if (joglCanvas != null) { + BufferedImage image = joglCanvas.getImage(); + PNGExporter exporter = (PNGExporter) getExporter(type); + exporter.setImage(file, image, params); + int exportStatus = exporter.write(); + exporter.dispose(); + if (isBitmapFormat(type) && exportStatus == Export.NOWRITER_ERROR) { + // If export fails because no writer was found for bitmap format + // ==> Retry without Alpha channel in image + // Needed after JoGL 2.2.4 version + image = joglCanvas.getImage(false); + exporter = (PNGExporter) getExporter(type); + exporter.setImage(file, image, params); + exporter.write(); + exporter.dispose(); + } + + } + } + } + + /** + * Export in drawing in a Graphics2D + * @param uid the figure uid + * @param type the export type + * @param file the file where to export + * @param params the export paramaters + */ + public static void setVisitor(int uid, int type, final ExportParams params) { + final Exporter exporter = getExporter(types[type]); + Figure figure = (Figure) GraphicController.getController().getObjectFromId(uid); + final Integer[] dims = figure.getAxesSize(); + int width = dims[0]; + int height = dims[1]; + + final Graphics2D g2d = exporter.getGraphics2D(width, height, null, params); + params.setParamsOnGraphics(g2d); + + final G2DCanvas canvas = G2DCanvasFactory.createCanvas(g2d, width, height); + canvas.disableDraw(); + DrawerVisitor visitor = new DrawerVisitor(null, canvas, figure) { + @Override + public void deleteObject(Integer id) { + // Don't delete during the export + } + + @Override + public void updateObject(Integer id, int property) { + if (needUpdate(id, property)) { + axesDrawer.update(id, property); + if (property == GraphicObjectProperties.__GO_AXES_SIZE__) { + Integer[] size = getFigure().getAxesSize(); + if (size[0] != dims[0] || size[1] != dims[1]) { + Graphics2D newg2d = exporter.getGraphics2D(size[0], size[1], null, params); + params.setParamsOnGraphics(newg2d); + canvas.setGraphics(newg2d, size[0], size[1]); + dims[0] = size[0]; + dims[1] = size[1]; + + g2d.dispose(); + } + } else if (property == GraphicObjectProperties.__GO_ANTIALIASING__) { + canvas.setAntiAliasingLevel(getFigure().getAntialiasing()); + } + } + } + }; + visitor.setDrawingTools(canvas.getDrawingTools()); + canvas.setMainDrawer(visitor); + visitorsToExp.put(visitor, exporter); + } + + /** + * Get an exporter from a type + * @param type the exporter type. + * @return the corresponding exporter/ + */ + private static Exporter getExporter(TYPE type) { + switch (type) { + case PNG : + return new PNGExporter(); + case GIF : + return new GIFExporter(); + case JPEG : + return new JPEGExporter(); + case BMP : + return new BMPExporter(); + case PPM : + return new PPMExporter(); + case SVG : + if (!svgLoaded) { + ScilabCommonsUtils.loadOnUse(CLASSPATH_SVG_EXPORT_NAME); + svgLoaded = true; + } + return new SVGExporter(); + case PDF : + loadPDF(); + return new PDFExporter(); + case PS : + loadPDF(); + return new PSExporter(); + case EPS : + loadPDF(); + return new EPSExporter(); + case EMF : + if (!emfLoaded) { + ScilabCommonsUtils.loadOnUse(CLASSPATH_EMF_EXPORT_NAME); + emfLoaded = true; + } + return new EMFExporter(); + default : + break; + } + + return null; + } + + /** + * Load the PDF/PS/EPS dependencies + */ + private static final void loadPDF() { + if (!pdfLoaded) { + ScilabCommonsUtils.loadOnUse(CLASSPATH_PDF_PS_EPS_EXPORT_NAME); + pdfLoaded = true; + } + } + + /** + * Interface to export + */ + private static abstract class Exporter { + + protected File file; + + /** + * @param width graphics width + * @param height graphisc height + * @param file the file + * @param params the export parameters + */ + abstract Graphics2D getGraphics2D(int width, int height, File file, ExportParams params); + + /** + * Write the file + */ + abstract int write() throws IOException; + + abstract void dispose(); + } + + /** + * PNG Exporter + */ + private static class PNGExporter extends Exporter { + + protected BufferedImage image; + protected Graphics2D g2d; + protected ExportParams params; + + public PNGExporter() { } + + public void setImage(File file, BufferedImage image, ExportParams params) { + this.file = file; + this.image = image; + this.params = params; + } + + @Override + public Graphics2D getGraphics2D(int width, int height, File file, ExportParams params) { + this.file = file; + this.params = params; + image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); + g2d = image.createGraphics(); + + return g2d; + } + + @Override + public int write() throws IOException { + return ExportBitmap.writeFile(image, "png", file); + } + + @Override + public void dispose() { + if (g2d != null) { + g2d.dispose(); + } + } + } + + /** + * GIF Exporter + */ + private static class GIFExporter extends PNGExporter { + + public GIFExporter() { } + + @Override + public int write() throws IOException { + return ExportBitmap.writeFile(image, "gif", file); + } + } + + /** + * BMP Exporter + */ + private static class BMPExporter extends PNGExporter { + + public BMPExporter() { } + + @Override + public Graphics2D getGraphics2D(int width, int height, File file, ExportParams params) { + this.file = file; + this.params = params; + image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB); + g2d = image.createGraphics(); + + return g2d; + } + + @Override + public int write() throws IOException { + return ExportBitmap.writeFile(image, "bmp", file); + } + } + + /** + * JPEG Exporter + */ + private static class JPEGExporter extends BMPExporter { + + public JPEGExporter() { } + + @Override + public int write() throws IOException { + if (params.compressionQuality == -1) { + return ExportBitmap.writeJPEG(image, DEFAULT_JPEG_COMPRESSION, file); + } else { + return ExportBitmap.writeJPEG(image, params.compressionQuality, file); + } + } + } + + /** + * PPM Exporter + */ + private static class PPMExporter extends BMPExporter { + + public PPMExporter() { } + + @Override + public int write() throws IOException { + OutputStream out = new BufferedOutputStream(new FileOutputStream(file)); + PPMEncoder encoder = new PPMEncoder(image, out); + int[] pixels = image.getRGB(0, 0, image.getWidth(), image.getHeight(), null, 0, image.getWidth()); + encoder.encodeStart(image.getWidth(), image.getHeight()); + encoder.encodePixels(0, 0, image.getWidth(), image.getHeight(), pixels, 0, image.getWidth()); + out.flush(); + out.close(); + return Export.SUCCESS; + } + } + + /** + * SVG Exporter + */ + private static class SVGExporter extends Exporter { + + private SVGGraphics2D g2d; + private ExportParams params; + + public SVGExporter() { } + + @Override + public Graphics2D getGraphics2D(int width, int height, File file, ExportParams params) { + this.file = file; + this.params = params; + DOMImplementation domImpl = GenericDOMImplementation.getDOMImplementation(); + Document document = domImpl.createDocument("http://www.w3.org/2000/svg", "svg", null); + final SVGGeneratorContext ctx = SVGGeneratorContext.createDefault(document); + ctx.setComment("Generated by Scilab with Batik SVG Generator"); + // TODO: better handle of LaTeX fonts (should remove the 'true' below and include the font in the SVG) + // same thing for PDF & co... + ctx.setEmbeddedFontsOn(true); + g2d = new SVGGraphics2D(ctx, false) { + + @Override + public void drawString(String s, float x, float y) { + textAsShapes = getFont().getFontName().startsWith("jlm"); + super.drawString(s, x, y); + } + + @Override + public void drawString(AttributedCharacterIterator ati, float x, float y) { + textAsShapes = getFont().getFontName().startsWith("jlm"); + super.drawString(ati, x, y); + } + }; + if (params.orientation == ExportParams.LANDSCAPE) { + g2d.setSVGCanvasSize(new Dimension(height, width)); + AffineTransform transf = AffineTransform.getRotateInstance(Math.PI / 2); + transf.preConcatenate(AffineTransform.getTranslateInstance(height, 0)); + g2d.setTransform(transf); + } else { + g2d.setSVGCanvasSize(new Dimension(width, height)); + } + return g2d; + } + + @Override + public int write() throws IOException { + boolean useCSS = true; + OutputStream svgs = new BufferedOutputStream(new FileOutputStream(file)); + Writer out = new OutputStreamWriter(svgs, "UTF-8"); + g2d.stream(out, useCSS); + svgs.flush(); + svgs.close(); + return Export.SUCCESS; + } + + @Override + public void dispose() { + if (g2d != null) { + g2d.dispose(); + } + } + } + + /** + * PDF Exporter + */ + private static class PDFExporter extends Exporter { + + private OutputStream out; + private PDFDocumentGraphics2D g2d; + private ExportParams params; + private ByteArrayOutputStream buffer; + + public PDFExporter() { } + + @Override + public Graphics2D getGraphics2D(int width, int height, File file, ExportParams params) { + this.file = file; + this.params = params; + try { + if (file == null) { + buffer = new ByteArrayOutputStream(); + out = new BufferedOutputStream(buffer); + } else { + out = new BufferedOutputStream(new FileOutputStream(file)); + } + g2d = new PDFDocumentGraphics2D(true); + g2d.setupDefaultFontInfo(); + g2d.getPDFDocument().getInfo().setProducer("Generated by Scilab with Apache FOP Version " + Version.getVersion()); + g2d.setGraphicContext(new GraphicContext()); + if (params.orientation == ExportParams.LANDSCAPE) { + g2d.setupDocument(out, height, width); + g2d.setSVGDimension(height, width); + double s = PDFDocumentGraphics2D.NORMAL_PDF_RESOLUTION / g2d.getDeviceDPI(); + AffineTransform transf = AffineTransform.getRotateInstance(Math.PI / 2); + transf.preConcatenate(AffineTransform.getTranslateInstance(height / s, 0)); + g2d.setTransform(transf); + } else { + g2d.setupDocument(out, width, height); + g2d.setSVGDimension(width, height); + } + } catch (IOException e) { } + + return g2d; + } + + @Override + public int write() throws IOException { + if (g2d != null) { + g2d.finish(); + } + if (buffer != null && file != null) { + FileOutputStream fos = new FileOutputStream(file); + buffer.writeTo(fos); + buffer.close(); + fos.flush(); + fos.close(); + } + if (out != null) { + out.close(); + } + return Export.SUCCESS; + } + + @Override + public void dispose() { + g2d.dispose(); + } + } + + /** + * PS Exporter + */ + private static class PSExporter extends Exporter { + + protected OutputStream out; + protected AbstractPSDocumentGraphics2D g2d; + protected ExportParams params; + protected ByteArrayOutputStream buffer; + + public PSExporter() { } + + @Override + public Graphics2D getGraphics2D(int width, int height, File file, final ExportParams params) { + this.file = file; + this.params = params; + try { + if (file == null) { + buffer = new ByteArrayOutputStream(); + out = new BufferedOutputStream(buffer); + } else { + out = new BufferedOutputStream(new FileOutputStream(file)); + } + g2d = new PSDocumentGraphics2D(true, out, width, height) { + @Override + protected void writePageHeader() throws IOException { + super.writePageHeader(); + if (params.orientation == ExportParams.LANDSCAPE) { + gen.writeDSCComment(DSCConstants.PAGE_ORIENTATION, "Landscape"); + } else { + gen.writeDSCComment(DSCConstants.PAGE_ORIENTATION, "Portrait"); + } + gen.writeln("/ReEncode { /MyEncoding exch def exch findfont dup length dict begin {def} forall /Encoding MyEncoding def currentdict end definefont } def"); + gen.writeln("/Helvetica /HelveticaLatin1 ISOLatin1Encoding ReEncode"); + gen.writeln("/Times /TimesLatin1 ISOLatin1Encoding ReEncode"); + gen.writeln("/DP {/Points exch def N Points 0 get Points 1 get M 2 2 Points length 1 sub {/i exch def Points i get Points i 1 add get L}for} def"); + } + + @Override + public void drawString(String s, float x, float y) { + if (s != null && !s.isEmpty()) { + CharsetEncoder encoder = Charset.forName("ISO-8859-1").newEncoder(); + if (encoder.canEncode(s)) { + Font font = getFont(); + boolean sserif = font.getName().equals("SansSerif"); + boolean serif = font.getName().equals("Serif"); + if (sserif || serif) { + try { + preparePainting(); + establishColor(getColor()); + gen.writeln((sserif ? "/HelveticaLatin1" : "/TimesLatin1") + " " + gen.formatDouble(getFont().getSize()) + " F"); + + gen.saveGraphicsState(); + Shape imclip = getClip(); + writeClip(imclip); + + AffineTransform trans = getTransform(); + boolean newTransform = gen.getCurrentState().checkTransform(trans) && !trans.isIdentity(); + + if (newTransform) { + gen.concatMatrix(trans); + } + + gen.writeln(gen.formatDouble(x) + + " " + gen.formatDouble(y) + + " M 1 -1 scale"); + + StringBuffer buf = new StringBuffer("("); + for (int i = 0; i < s.length(); i++) { + PSGenerator.escapeChar(s.charAt(i), buf); + } + buf.append(") t"); + + gen.writeln(buf.toString()); + + gen.restoreGraphicsState(); + } catch (IOException e) { + System.err.println(e); + } + + return; + } + } + + super.drawString(s, x, y); + } + } + + @Override + public boolean shouldBeClipped(Shape clip, Shape s) { + if (clip == null || s == null) { + return false; + } + + return clip.getBounds2D().intersects(s.getBounds2D()); + } + + @Override + public int processShape(Shape s) throws IOException { + if (s instanceof Ellipse2D.Double) { + Ellipse2D.Double ell = (Ellipse2D.Double) s; + if (ell.height == ell.width) { + gen.writeln(gen.formatDouble(ell.x + ell.width / 2) + + " " + gen.formatDouble(ell.y + ell.height / 2) + + " " + gen.formatDouble(ell.width / 2) + + " " + gen.formatDouble(0d) + + " " + gen.formatDouble(360d) + + " arc cp"); + + return PathIterator.WIND_NON_ZERO; + } + } else if (s instanceof Path2D) { + StringBuilder buffer = new StringBuilder(); + double[] coords = new double[6]; + PathIterator it = ((Path2D) s).getPathIterator(new AffineTransform()); + if (!it.isDone()) { + int type = it.currentSegment(coords); + if (type == PathIterator.SEG_MOVETO) { + buffer.append("[").append(gen.formatDouble(coords[0])).append(" ").append(gen.formatDouble(coords[1])); + it.next(); + } else { + return super.processShape(s); + } + } else { + return super.processShape(s); + } + + for (; !it.isDone(); it.next()) { + int type = it.currentSegment(coords); + if (type == PathIterator.SEG_LINETO) { + buffer.append(" ").append(gen.formatDouble(coords[0])).append(" ").append(gen.formatDouble(coords[1])); + } else { + return super.processShape(s); + } + } + buffer.append("] DP"); + gen.writeln(buffer.toString()); + return PathIterator.WIND_NON_ZERO; + } + + return super.processShape(s); + } + }; + g2d.setGraphicContext(new GraphicContext()); + } catch (IOException e) { } + + return g2d; + } + + @Override + public int write() throws IOException { + if (g2d != null) { + g2d.finish(); + } + if (buffer != null && file != null) { + FileOutputStream fos = new FileOutputStream(file); + buffer.writeTo(fos); + buffer.close(); + fos.flush(); + fos.close(); + } + if (out != null) { + out.close(); + } + return Export.SUCCESS; + } + + @Override + public void dispose() { + if (g2d != null) { + g2d.dispose(); + } + } + } + + /** + * EPS Exporter + */ + private static class EPSExporter extends PSExporter { + + public EPSExporter() { } + + @Override + public Graphics2D getGraphics2D(int width, int height, File file, final ExportParams params) { + this.file = file; + this.params = params; + try { + if (file == null) { + buffer = new ByteArrayOutputStream(); + out = new BufferedOutputStream(buffer); + } else { + out = new BufferedOutputStream(new FileOutputStream(file)); + } + g2d = new EPSDocumentGraphics2D(true) { + @Override + protected void writePageHeader() throws IOException { + super.writePageHeader(); + if (params.orientation == ExportParams.LANDSCAPE) { + gen.writeDSCComment(DSCConstants.PAGE_ORIENTATION, "Landscape"); + } else { + gen.writeDSCComment(DSCConstants.PAGE_ORIENTATION, "Portrait"); + } + gen.writeln("/ReEncode { /MyEncoding exch def exch findfont dup length dict begin {def} forall /Encoding MyEncoding def currentdict end definefont } def"); + gen.writeln("/Helvetica /HelveticaLatin1 ISOLatin1Encoding ReEncode"); + gen.writeln("/Times /TimesLatin1 ISOLatin1Encoding ReEncode"); + + // DP macro is used to draw an array as a polyline + gen.writeln("/DP {/Points exch def Points 0 get Points 1 get M 2 2 Points length 1 sub {/i exch def Points i get Points i 1 add get L}for} def"); + } + + @Override + public boolean shouldBeClipped(Shape clip, Shape s) { + if (clip == null || s == null) { + return false; + } + + return clip.getBounds2D().intersects(s.getBounds2D()); + } + + @Override + public void drawString(String s, float x, float y) { + if (s != null && !s.isEmpty()) { + CharsetEncoder encoder = Charset.forName("ISO-8859-1").newEncoder(); + if (encoder.canEncode(s)) { + Font font = getFont(); + boolean sserif = font.getName().equals("SansSerif"); + boolean serif = font.getName().equals("Serif"); + if (sserif || serif) { + try { + preparePainting(); + establishColor(getColor()); + gen.writeln((sserif ? "/HelveticaLatin1" : "/TimesLatin1") + " " + gen.formatDouble(getFont().getSize()) + " F"); + + gen.saveGraphicsState(); + Shape imclip = getClip(); + writeClip(imclip); + + AffineTransform trans = getTransform(); + boolean newTransform = gen.getCurrentState().checkTransform(trans) && !trans.isIdentity(); + + if (newTransform) { + gen.concatMatrix(trans); + } + + gen.writeln(gen.formatDouble(x) + + " " + gen.formatDouble(y) + + " M 1 -1 scale"); + + StringBuffer buf = new StringBuffer("("); + for (int i = 0; i < s.length(); i++) { + PSGenerator.escapeChar(s.charAt(i), buf); + } + buf.append(") t"); + + gen.writeln(buf.toString()); + + gen.restoreGraphicsState(); + } catch (IOException e) { + System.err.println(e); + } + + return; + } + } + + super.drawString(s, x, y); + } + } + + @Override + public int processShape(Shape s) throws IOException { + if (s instanceof Ellipse2D.Double) { + Ellipse2D.Double ell = (Ellipse2D.Double) s; + if (ell.height == ell.width) { + gen.writeln(gen.formatDouble(ell.x + ell.width / 2) + + " " + gen.formatDouble(ell.y + ell.height / 2) + + " " + gen.formatDouble(ell.width / 2) + + " " + gen.formatDouble(0d) + + " " + gen.formatDouble(360d) + + " arc cp"); + + return PathIterator.WIND_NON_ZERO; + } + } else if (s instanceof Path2D) { + StringBuilder buffer = new StringBuilder(); + double[] coords = new double[6]; + PathIterator it = ((Path2D) s).getPathIterator(new AffineTransform()); + if (!it.isDone()) { + int type = it.currentSegment(coords); + if (type == PathIterator.SEG_MOVETO) { + buffer.append("[").append(gen.formatDouble(coords[0])).append(" ").append(gen.formatDouble(coords[1])); + it.next(); + } else { + return super.processShape(s); + } + } else { + return super.processShape(s); + } + + for (; !it.isDone(); it.next()) { + int type = it.currentSegment(coords); + if (type == PathIterator.SEG_LINETO) { + buffer.append(" ").append(gen.formatDouble(coords[0])).append(" ").append(gen.formatDouble(coords[1])); + } else { + return super.processShape(s); + } + } + buffer.append("] DP"); + gen.writeln(buffer.toString()); + return PathIterator.WIND_NON_ZERO; + } + + return super.processShape(s); + } + + }; + g2d.setupDocument(out, width, height); + g2d.setGraphicContext(new GraphicContext()); + } catch (IOException e) { } + + return g2d; + } + } + + /** + * EMF Exporter + */ + private static class EMFExporter extends Exporter { + + private OutputStream out; + private Class<Graphics2D> g2dClass; + private Constructor<Graphics2D> g2dCtor; + private Graphics2D g2d; + private ByteArrayOutputStream buffer; + + public EMFExporter() { + try { + g2dClass = (Class<Graphics2D>) Class.forName("org.freehep.graphicsio.emf.EMFGraphics2D"); + } catch (ClassNotFoundException e) { + throw new RuntimeException("This Scilab build does not provide EMF support"); + } + + final Constructor[] ctors = g2dClass.getDeclaredConstructors(); + Constructor ctor = null; + for (int i = 0; i < ctors.length; i++) { + ctor = ctors[i]; + final Type[] args = ctor.getGenericParameterTypes(); + if (args.length != 2) { + continue; + } + if (args[0] != OutputStream.class) { + continue; + } + if (args[1] != Dimension.class) { + continue; + } + + g2dCtor = ctor; + break; + } + } + + @Override + public Graphics2D getGraphics2D(int width, int height, File file, final ExportParams params) { + this.file = file; + try { + if (file == null) { + buffer = new ByteArrayOutputStream(); + out = new BufferedOutputStream(buffer); + } else { + out = new BufferedOutputStream(new FileOutputStream(file)); + } + if (params.orientation == ExportParams.LANDSCAPE) { + g2d = g2dCtor.newInstance(out, new Dimension(height, width)); + g2dClass.getMethod("startExport").invoke(g2d); + AffineTransform transf = AffineTransform.getRotateInstance(Math.PI / 2); + transf.preConcatenate(AffineTransform.getTranslateInstance(height, 0)); + g2d.setTransform(transf); + } else { + g2d = g2dCtor.newInstance(out, new Dimension(width, height)); + g2dClass.getMethod("startExport").invoke(g2d); + } + } catch (IOException e) { + } catch (IllegalAccessException e) { + } catch (IllegalArgumentException e) { + } catch (InvocationTargetException e) { + } catch (NoSuchMethodException e) { + } catch (SecurityException e) { + } catch (InstantiationException e) { + } + + return g2d; + } + + @Override + public int write() throws IOException { + if (g2d != null) { + try { + g2dClass.getMethod("endExport").invoke(g2d); + g2dClass.getMethod("closeStream").invoke(g2d); + } catch (IllegalAccessException e) { + } catch (IllegalArgumentException e) { + } catch (InvocationTargetException e) { + } catch (NoSuchMethodException e) { + } catch (SecurityException e) { + } + } + if (buffer != null && file != null) { + FileOutputStream fos = new FileOutputStream(file); + buffer.writeTo(fos); + buffer.close(); + fos.flush(); + fos.close(); + } + if (out != null) { + out.close(); + } + return Export.SUCCESS; + } + + @Override + public void dispose() { + if (g2d != null) { + g2d.dispose(); + } + } + } +} diff --git a/modules/graphic_export/src/java/org/scilab/modules/graphic_export/ExportBitmap.java b/modules/graphic_export/src/java/org/scilab/modules/graphic_export/ExportBitmap.java new file mode 100755 index 000000000..abbb68954 --- /dev/null +++ b/modules/graphic_export/src/java/org/scilab/modules/graphic_export/ExportBitmap.java @@ -0,0 +1,99 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * Copyright (C) 2011 - Calixte DENIZET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +package org.scilab.modules.graphic_export; + +import java.awt.image.BufferedImage; +import java.io.File; +import java.io.FileNotFoundException; +import java.io.FileOutputStream; +import java.io.IOException; +import java.util.Iterator; + +import javax.imageio.IIOImage; +import javax.imageio.ImageIO; +import javax.imageio.ImageWriteParam; +import javax.imageio.ImageWriter; +import javax.imageio.stream.FileImageOutputStream; + +/** + * Class which allows to export screen-shots in format Bitmap (BMP, GIF, JPG, PNG and PPM) + * @author Sylvestre Koumar + * @author Calixte DENIZET + * + */ +public class ExportBitmap { + + private static final int MAX_ATTEMPT = 100; + private static final int SLEEP_TIME = 10; + + /** + * Write the image in the file. If the file is locked (cf bug 9542), then retry. + * @param image the image + * @param ext the extension + * @param file the file + */ + public static final int writeFile(BufferedImage image, String ext, File file) { + int ret = Export.IOEXCEPTION_ERROR; + if (file.isFile() && file.canWrite()) { + FileOutputStream fos; + for (int i = 0; i < MAX_ATTEMPT && ret != Export.SUCCESS; i++) { + try { + fos = new FileOutputStream(file); + boolean writerFound = ImageIO.write(image, ext, fos); + if (writerFound == false) { + return Export.NOWRITER_ERROR; + } + fos.close(); + ret = Export.SUCCESS; + } catch (FileNotFoundException e) { + try { + Thread.sleep(SLEEP_TIME); + } catch (InterruptedException ex) { } + } catch (IOException e) { + return ret; + } + } + } + + return ret; + } + + /** + * @param image the image to compress + * @param compressionQuality the compression rate + * @param file the output file + */ + public static int writeJPEG(BufferedImage image, float compressionQuality, File file) throws IOException { + Iterator iter = ImageIO.getImageWritersByFormatName("jpeg"); + ImageWriter writer; + if (iter.hasNext()) { + writer = (ImageWriter) iter.next(); + } else { + return Export.NOWRITER_ERROR; + } + ImageWriteParam param = writer.getDefaultWriteParam(); + param.setCompressionMode(ImageWriteParam.MODE_EXPLICIT); + param.setCompressionQuality(compressionQuality); + FileImageOutputStream output = new FileImageOutputStream(file); + writer.setOutput(output); + try { + writer.write(null, new IIOImage(image, null, null), param); + } catch (IOException e) { + return Export.NOWRITER_ERROR; + } + writer.dispose(); + output.close(); + return Export.SUCCESS; + } +} diff --git a/modules/graphic_export/src/java/org/scilab/modules/graphic_export/ExportParams.java b/modules/graphic_export/src/java/org/scilab/modules/graphic_export/ExportParams.java new file mode 100755 index 000000000..282057a99 --- /dev/null +++ b/modules/graphic_export/src/java/org/scilab/modules/graphic_export/ExportParams.java @@ -0,0 +1,43 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2012 - Scilab Enterprises - Calixte Denizet + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +package org.scilab.modules.graphic_export; + +import java.awt.Graphics2D; +import java.awt.RenderingHints; + +public class ExportParams { + + /** Orientation of the exported figure */ + public static final int PORTRAIT = 0; + public static final int LANDSCAPE = 1; + + public float compressionQuality = -1; + public int orientation = PORTRAIT; + public boolean antialiasing = false; + + public ExportParams() { } + + public ExportParams(float compressionQuality, int orientation, boolean antialiasing) { + this.compressionQuality = compressionQuality; + this.orientation = orientation; + this.antialiasing = antialiasing; + } + + public void setParamsOnGraphics(Graphics2D g2d) { + if (antialiasing) { + g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); + } else { + g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF); + } + } +} diff --git a/modules/graphic_export/src/java/org/scilab/modules/graphic_export/FileExporter.java b/modules/graphic_export/src/java/org/scilab/modules/graphic_export/FileExporter.java new file mode 100755 index 000000000..54bcc364c --- /dev/null +++ b/modules/graphic_export/src/java/org/scilab/modules/graphic_export/FileExporter.java @@ -0,0 +1,107 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Jean-Baptiste Silvy + * Copyright (C) 2009 - Calixte Denizet + * desc : Static class used to create file export of graphic figures + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +package org.scilab.modules.graphic_export; + +import org.scilab.modules.localization.Messages; + +/** + * Static class used to create file export of graphic figures + * @author Jean-Baptiste Silvy + */ +public class FileExporter { + + /** Export waiting message */ + private static final String exportingMessage = "Exporting figure, please wait..."; + + /** + * Default constructor + */ + protected FileExporter() { } + + /** + * Export a figure into a file + * @param figureIndex index of the figure to export + * @param fileName name of the file to create + * @param fileType kind of the file + * @param jpegCompressionQuality the JPEG compression quality + * @param fileOrientation orientation of the file + * @return 0 if everything worked fine, a non null integer if an exception occurred + * depending on the kind of error + */ + public static String fileExport(int figureUID, String fileName, int fileType, float jpegCompressionQuality, int fileOrientation, boolean headless) { + int ret = Export.export(figureUID, fileType, fileName, new ExportParams(jpegCompressionQuality, fileOrientation, true), headless); + + switch (ret) { + case Export.SUCCESS : + return ""; + case Export.IOEXCEPTION_ERROR : + return Messages.gettext("Unable to create export file, permission denied."); + case Export.INVALID_FILE : + return Messages.gettext("Unable to create export file, invalid file."); + case Export.MEMORY_ERROR : + return Messages.gettext("Unable to create export file, not enough memory. Decreasing the number of elements or the size of the figure should fix this error."); + case Export.UNKNOWN_ERROR : + return Messages.gettext("Unable to create export file, please fill a bug report at http://bugzilla.scilab.org."); + case Export.FILENOTFOUND_ERROR : + return Messages.gettext("Unable to create export file, the file cannot be created or is locked by an other process."); + default : + return ""; + } + } + + /** + * Export a figure into a file + * @param figureIndex index of the figure to export + * @param fileName name of the file to create + * @param fileType kind of the file + * @param jpegCompressionQuality the JPEG compression quality + * @param fileOrientation orientation of the file + * @return 0 if everything worked fine, a non null integer if an exception occurred + * depending on the kind of error + */ + public static String fileExport(int figureUID, String fileName, int fileType, float jpegCompressionQuality, int fileOrientation) { + return fileExport(figureUID, fileName, fileType, jpegCompressionQuality, fileOrientation, false); + } + + /** + * Export a figure into a file + * @param figureIndex index of the figure to export + * @param fileName name of the file to create + * @param fileType kind of the file + * @param jpegCompressionQuality the JPEG compression quality + * @param fileOrientation orientation of the file + * @return 0 if everything worked fine, a non null integer if an exception occurred + * depending on the kind of error + */ + public static String fileExport(int figureUID, String fileName, String fileType, float jpegCompressionQuality, int fileOrientation) { + String ext = fileType.toLowerCase(); + return fileExport(figureUID, fileName, Export.getType(ext), jpegCompressionQuality, fileOrientation, false); + } + + /** + * Export a figure into a file + * @param figureIndex index of the figure to export + * @param fileName name of the file to create + * @param fileType kind of the file + * @param jpegCompressionQuality the JPEG compression quality + * @param fileOrientation orientation of the file + * @return 0 if everything worked fine, a non null integer if an exception occurred + * depending on the kind of error + */ + public static String headlessFileExport(int figureUID, String fileName, String fileType, float jpegCompressionQuality, int fileOrientation) { + String ext = fileType.toLowerCase(); + return fileExport(figureUID, fileName, Export.getType(ext), jpegCompressionQuality, fileOrientation, true); + } +} diff --git a/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Utils.java b/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Utils.java new file mode 100755 index 000000000..19fc3606d --- /dev/null +++ b/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Utils.java @@ -0,0 +1,39 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ +package org.scilab.modules.graphic_export; + +import java.io.File; +import java.io.IOException; + +public class Utils { + + /** + * Check if we have the permission to export on this file + * @param file exported file + * @return permission status + */ + public static int checkWritePermission(File file) { + try { + file.createNewFile(); + if (!file.canWrite()) { + return Export.INVALID_FILE; + } + return Export.SUCCESS; + } catch (IOException e1) { + return Export.IOEXCEPTION_ERROR; + } catch (SecurityException e2) { + return Export.INVALID_FILE; + } + } + + +}
\ No newline at end of file diff --git a/modules/graphic_export/src/java/org/scilab/modules/graphic_export/convertToPPM/ImageEncoder.java b/modules/graphic_export/src/java/org/scilab/modules/graphic_export/convertToPPM/ImageEncoder.java new file mode 100755 index 000000000..d22e2940c --- /dev/null +++ b/modules/graphic_export/src/java/org/scilab/modules/graphic_export/convertToPPM/ImageEncoder.java @@ -0,0 +1,247 @@ +package org.scilab.modules.graphic_export.convertToPPM; + +// ImageEncoder - abstract class for writing out an image +// +// Copyright (C) 1996 by Jef Poskanzer <jef@acme.com>. All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions +// are met: +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +// SUCH DAMAGE. +// +// Visit the ACME Labs Java page for up-to-date versions of this and other +// fine Java utilities: http://www.acme.com/java/ + +//package Acme.JPM.Encoders; + +import java.awt.Image; +import java.awt.image.ColorModel; +import java.awt.image.ImageConsumer; +import java.awt.image.ImageProducer; +import java.io.DataOutput; +import java.io.IOException; +import java.util.Hashtable; + +/// Abstract class for writing out an image. +// <P> +// A framework for classes that encode and write out an image in +// a particular file format. +// <P> +// This provides a simplified rendition of the ImageConsumer interface. +// It always delivers the pixels as ints in the RGBdefault color model. +// It always provides them in top-down left-right order. +// If you want more flexibility you can always implement ImageConsumer +// directly. +// <P> +// <A HREF="/resources/classes/Acme/JPM/Encoders/ImageEncoder.java">Fetch the software.</A><BR> +// <A HREF="/resources/classes/Acme.tar.gz">Fetch the entire Acme package.</A> +// <P> +// @see GifEncoder +// @see PpmEncoder +// @see Acme.JPM.Decoders.ImageDecoder + +public abstract class ImageEncoder implements ImageConsumer { + + protected DataOutput out; + + private ImageProducer producer; + + private int width = -1; + + private int height = -1; + + private int hintflags = 0; + + private boolean started = false; + + private boolean encoding; + + private IOException iox; + + private static final ColorModel rgbModel = ColorModel.getRGBdefault(); + + protected Hashtable props = null; + + // / Constructor. + // @param img The image to encode. + // @param out The stream to write the bytes to. + public ImageEncoder(Image img, DataOutput dos) throws IOException { + this(img.getSource(), dos); + } + + // / Constructor. + // @param producer The ImageProducer to encode. + // @param out The stream to write the bytes to. + public ImageEncoder(ImageProducer producer, DataOutput dos) + throws IOException { + this.producer = producer; + this.out = dos; + } + + // Methods that subclasses implement. + + // / Subclasses implement this to initialize an encoding. + protected abstract void encodeStart(int w, int h) throws IOException; + + // / Subclasses implement this to actually write out some bits. They + // are guaranteed to be delivered in top-down-left-right order. + // One int per pixel, index is row * scansize + off + col, + // RGBdefault (AARRGGBB) color model. + protected abstract void encodePixels(int x, int y, int w, int h, + int[] rgbPixels, int off, int scansize) throws IOException; + + // / Subclasses implement this to finish an encoding. + protected abstract void encodeDone() throws IOException; + + // Our own methods. + + // / Call this after initialization to get things going. + public synchronized void encode() throws IOException { + encoding = true; + iox = null; + producer.startProduction(this); + while (encoding) + try { + wait(); + } catch (InterruptedException e) { + } + if (iox != null) { + throw iox; + } + } + + private boolean accumulate = false; + + private int[] accumulator; + + private void encodePixelsWrapper(int x, int y, int w, int h, + int[] rgbPixels, int off, int scansize) throws IOException { + if (!started) { + started = true; + encodeStart(width, height); + if ((hintflags & TOPDOWNLEFTRIGHT) == 0) { + accumulate = true; + accumulator = new int[width * height]; + } + } + if (accumulate) + for (int row = 0; row < h; ++row) + System.arraycopy(rgbPixels, row * scansize + off, accumulator, + (y + row) * width + x, w); + else { + encodePixels(x, y, w, h, rgbPixels, off, scansize); + } + } + + private void encodeFinish() throws IOException { + if (accumulate) { + encodePixels(0, 0, width, height, accumulator, 0, width); + accumulator = null; + accumulate = false; + } + } + + private synchronized void stop() { + encoding = false; + notifyAll(); + } + + // Methods from ImageConsumer. + + public void setDimensions(int width, int height) { + this.width = width; + this.height = height; + } + + public void setProperties(Hashtable props) { + this.props = props; + } + + public void setColorModel(ColorModel model) { + // Ignore. + } + + public void setHints(int hintflags) { + this.hintflags = hintflags; + } + + public void setPixels(int x, int y, int w, int h, ColorModel model, + byte[] pixels, int off, int scansize) { + int[] rgbPixels = new int[w]; + for (int row = 0; row < h; ++row) { + int rowOff = off + row * scansize; + for (int col = 0; col < w; ++col) { + rgbPixels[col] = model.getRGB(pixels[rowOff + col] & 0xff); + } + try { + encodePixelsWrapper(x, y + row, w, 1, rgbPixels, 0, w); + } catch (IOException e) { + iox = e; + stop(); + return; + } + } + } + + public void setPixels(int x, int y, int w, int h, ColorModel model, + int[] pixels, int off, int scansize) { + if (model == rgbModel) { + try { + encodePixelsWrapper(x, y, w, h, pixels, off, scansize); + } catch (IOException e) { + iox = e; + stop(); + return; + } + } else { + int[] rgbPixels = new int[w]; + for (int row = 0; row < h; ++row) { + int rowOff = off + row * scansize; + for (int col = 0; col < w; ++col) { + rgbPixels[col] = model.getRGB(pixels[rowOff + col]); + } + try { + encodePixelsWrapper(x, y + row, w, 1, rgbPixels, 0, w); + } catch (IOException e) { + iox = e; + stop(); + return; + } + } + } + } + + public void imageComplete(int status) { + producer.removeConsumer(this); + if (status == ImageConsumer.IMAGEABORTED) { + iox = new IOException("image aborted"); + } else { + try { + encodeFinish(); + encodeDone(); + } catch (IOException e) { + iox = e; + } + } + stop(); + } + +} + +//This page was automatically generated by Maven diff --git a/modules/graphic_export/src/java/org/scilab/modules/graphic_export/convertToPPM/PPMEncoder.java b/modules/graphic_export/src/java/org/scilab/modules/graphic_export/convertToPPM/PPMEncoder.java new file mode 100755 index 000000000..e9bf88f87 --- /dev/null +++ b/modules/graphic_export/src/java/org/scilab/modules/graphic_export/convertToPPM/PPMEncoder.java @@ -0,0 +1,118 @@ +package org.scilab.modules.graphic_export.convertToPPM; + +// PpmEncoder - write out an image as a PPM +// +// Copyright (C)1996,1998 by Jef Poskanzer <jef@acme.com>. All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions +// are met: +// 1. Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// 2. Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +// ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +// SUCH DAMAGE. +// +// Visit the ACME Labs Java page for up-to-date versions of this and other +// fine Java utilities: http://www.acme.com/java/ + +//package Acme.JPM.Encoders; + +import java.awt.Image; +import java.awt.image.ImageProducer; +import java.io.DataOutput; +import java.io.DataOutputStream; +import java.io.IOException; +import java.io.OutputStream; +import java.util.ArrayList; +import java.util.Iterator; +import java.util.List; + +//import org.freehep.graphicsio.ImageEncoder; + +/// Write out an image as a PPM. +// <P> +// Writes an image onto a specified OutputStream in the PPM file format. +// <P> +// <A HREF="/resources/classes/Acme/JPM/Encoders/PpmEncoder.java">Fetch the software.</A><BR> +// <A HREF="/resources/classes/Acme.tar.gz">Fetch the entire Acme package.</A> +// <P> +// @see ToPpm + +public class PPMEncoder extends ImageEncoder { + + private List comments = new ArrayList(); + + // / Constructor. + // @param img The image to encode. + // @param out The stream to write the PPM to. + public PPMEncoder(Image img, OutputStream out) throws IOException { + super(img, new DataOutputStream(out)); + } + + public PPMEncoder(Image img, DataOutput dos) throws IOException { + super(img, dos); + } + + // / Constructor. + // @param prod The ImageProducer to encode. + // @param out The stream to write the PPM to. + public PPMEncoder(ImageProducer prod, OutputStream out) throws IOException { + super(prod, new DataOutputStream(out)); + } + + public PPMEncoder(ImageProducer prod, DataOutput dos) throws IOException { + super(prod, dos); + } + + public void addComment(String comment) { + comments.add(comment); + } + + public void encodeStart(int width, int height) throws IOException { + writeString("P6\n"); + for (Iterator i = comments.iterator(); i.hasNext();) { + String comment = (String) i.next(); + writeString("# " + comment + "\n"); + } + writeString(width + " " + height + "\n"); + writeString("255\n"); + } + + void writeString(String str) throws IOException { + byte[] buf = str.getBytes(); + out.write(buf); + } + + public void encodePixels(int x, int y, int w, int h, int[] rgbPixels, + int off, int scansize) throws IOException { + byte[] ppmPixels = new byte[w * 3]; + for (int row = 0; row < h; ++row) { + int rowOff = off + row * scansize; + for (int col = 0; col < w; ++col) { + int i = rowOff + col; + int j = col * 3; + ppmPixels[j] = (byte) ((rgbPixels[i] & 0xff0000) >> 16); + ppmPixels[j + 1] = (byte) ((rgbPixels[i] & 0x00ff00) >> 8); + ppmPixels[j + 2] = (byte) (rgbPixels[i] & 0x0000ff); + } + out.write(ppmPixels); + } + } + + protected void encodeDone() throws IOException { + // Nothing + } +}
\ No newline at end of file diff --git a/modules/graphic_export/src/jni/.deps/.dirstamp b/modules/graphic_export/src/jni/.deps/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/graphic_export/src/jni/.deps/.dirstamp diff --git a/modules/graphic_export/src/jni/.deps/libscigraphic_export_algo_la-Driver.Plo b/modules/graphic_export/src/jni/.deps/libscigraphic_export_algo_la-Driver.Plo new file mode 100755 index 000000000..fb0b17ddd --- /dev/null +++ b/modules/graphic_export/src/jni/.deps/libscigraphic_export_algo_la-Driver.Plo @@ -0,0 +1,341 @@ +src/jni/libscigraphic_export_algo_la-Driver.lo: src/jni/Driver.cpp \ + /usr/include/stdc-predef.h src/jni/Driver.hxx \ + /usr/include/c++/5/iostream \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \ + /usr/include/c++/5/ostream /usr/include/c++/5/ios \ + /usr/include/c++/5/iosfwd /usr/include/c++/5/bits/stringfwd.h \ + /usr/include/c++/5/bits/memoryfwd.h /usr/include/c++/5/bits/postypes.h \ + /usr/include/c++/5/cwchar /usr/include/wchar.h /usr/include/stdio.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h /usr/include/c++/5/exception \ + /usr/include/c++/5/bits/atomic_lockfree_defines.h \ + /usr/include/c++/5/bits/char_traits.h \ + /usr/include/c++/5/bits/stl_algobase.h \ + /usr/include/c++/5/bits/functexcept.h \ + /usr/include/c++/5/bits/exception_defines.h \ + /usr/include/c++/5/bits/cpp_type_traits.h \ + /usr/include/c++/5/ext/type_traits.h \ + /usr/include/c++/5/ext/numeric_traits.h \ + /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \ + /usr/include/c++/5/bits/concept_check.h \ + /usr/include/c++/5/bits/stl_iterator_base_types.h \ + /usr/include/c++/5/bits/stl_iterator_base_funcs.h \ + /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \ + /usr/include/c++/5/bits/ptr_traits.h \ + /usr/include/c++/5/bits/predefined_ops.h \ + /usr/include/c++/5/bits/localefwd.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \ + /usr/include/c++/5/clocale /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/cctype \ + /usr/include/ctype.h /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/c++/5/bits/ios_base.h /usr/include/c++/5/ext/atomicity.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \ + /usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \ + /usr/include/c++/5/bits/locale_classes.h /usr/include/c++/5/string \ + /usr/include/c++/5/bits/allocator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \ + /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \ + /usr/include/c++/5/bits/ostream_insert.h \ + /usr/include/c++/5/bits/cxxabi_forced.h \ + /usr/include/c++/5/bits/stl_function.h \ + /usr/include/c++/5/backward/binders.h \ + /usr/include/c++/5/bits/range_access.h \ + /usr/include/c++/5/bits/basic_string.h \ + /usr/include/c++/5/ext/alloc_traits.h \ + /usr/include/c++/5/bits/basic_string.tcc \ + /usr/include/c++/5/bits/locale_classes.tcc /usr/include/c++/5/stdexcept \ + /usr/include/c++/5/streambuf /usr/include/c++/5/bits/streambuf.tcc \ + /usr/include/c++/5/bits/basic_ios.h \ + /usr/include/c++/5/bits/locale_facets.h /usr/include/c++/5/cwctype \ + /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h \ + /usr/include/c++/5/bits/streambuf_iterator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h \ + /usr/include/c++/5/bits/locale_facets.tcc \ + /usr/include/c++/5/bits/basic_ios.tcc \ + /usr/include/c++/5/bits/ostream.tcc /usr/include/c++/5/istream \ + /usr/include/c++/5/bits/istream.tcc /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + ../../modules/commons/src/jni/GiwsException.hxx + +/usr/include/stdc-predef.h: + +src/jni/Driver.hxx: + +/usr/include/c++/5/iostream: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h: + +/usr/include/c++/5/ostream: + +/usr/include/c++/5/ios: + +/usr/include/c++/5/iosfwd: + +/usr/include/c++/5/bits/stringfwd.h: + +/usr/include/c++/5/bits/memoryfwd.h: + +/usr/include/c++/5/bits/postypes.h: + +/usr/include/c++/5/cwchar: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/c++/5/exception: + +/usr/include/c++/5/bits/atomic_lockfree_defines.h: + +/usr/include/c++/5/bits/char_traits.h: + +/usr/include/c++/5/bits/stl_algobase.h: + +/usr/include/c++/5/bits/functexcept.h: + +/usr/include/c++/5/bits/exception_defines.h: + +/usr/include/c++/5/bits/cpp_type_traits.h: + +/usr/include/c++/5/ext/type_traits.h: + +/usr/include/c++/5/ext/numeric_traits.h: + +/usr/include/c++/5/bits/stl_pair.h: + +/usr/include/c++/5/bits/move.h: + +/usr/include/c++/5/bits/concept_check.h: + +/usr/include/c++/5/bits/stl_iterator_base_types.h: + +/usr/include/c++/5/bits/stl_iterator_base_funcs.h: + +/usr/include/c++/5/debug/debug.h: + +/usr/include/c++/5/bits/stl_iterator.h: + +/usr/include/c++/5/bits/ptr_traits.h: + +/usr/include/c++/5/bits/predefined_ops.h: + +/usr/include/c++/5/bits/localefwd.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h: + +/usr/include/c++/5/clocale: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/c++/5/cctype: + +/usr/include/ctype.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/c++/5/bits/ios_base.h: + +/usr/include/c++/5/ext/atomicity.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h: + +/usr/include/pthread.h: + +/usr/include/sched.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/timex.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h: + +/usr/include/c++/5/bits/locale_classes.h: + +/usr/include/c++/5/string: + +/usr/include/c++/5/bits/allocator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h: + +/usr/include/c++/5/ext/new_allocator.h: + +/usr/include/c++/5/new: + +/usr/include/c++/5/bits/ostream_insert.h: + +/usr/include/c++/5/bits/cxxabi_forced.h: + +/usr/include/c++/5/bits/stl_function.h: + +/usr/include/c++/5/backward/binders.h: + +/usr/include/c++/5/bits/range_access.h: + +/usr/include/c++/5/bits/basic_string.h: + +/usr/include/c++/5/ext/alloc_traits.h: + +/usr/include/c++/5/bits/basic_string.tcc: + +/usr/include/c++/5/bits/locale_classes.tcc: + +/usr/include/c++/5/stdexcept: + +/usr/include/c++/5/streambuf: + +/usr/include/c++/5/bits/streambuf.tcc: + +/usr/include/c++/5/bits/basic_ios.h: + +/usr/include/c++/5/bits/locale_facets.h: + +/usr/include/c++/5/cwctype: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h: + +/usr/include/c++/5/bits/streambuf_iterator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h: + +/usr/include/c++/5/bits/locale_facets.tcc: + +/usr/include/c++/5/bits/basic_ios.tcc: + +/usr/include/c++/5/bits/ostream.tcc: + +/usr/include/c++/5/istream: + +/usr/include/c++/5/bits/istream.tcc: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +../../modules/commons/src/jni/GiwsException.hxx: diff --git a/modules/graphic_export/src/jni/.deps/libscigraphic_export_algo_la-FileExporter.Plo b/modules/graphic_export/src/jni/.deps/libscigraphic_export_algo_la-FileExporter.Plo new file mode 100755 index 000000000..496ff0382 --- /dev/null +++ b/modules/graphic_export/src/jni/.deps/libscigraphic_export_algo_la-FileExporter.Plo @@ -0,0 +1,341 @@ +src/jni/libscigraphic_export_algo_la-FileExporter.lo: \ + src/jni/FileExporter.cpp /usr/include/stdc-predef.h \ + src/jni/FileExporter.hxx /usr/include/c++/5/iostream \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h \ + /usr/include/c++/5/ostream /usr/include/c++/5/ios \ + /usr/include/c++/5/iosfwd /usr/include/c++/5/bits/stringfwd.h \ + /usr/include/c++/5/bits/memoryfwd.h /usr/include/c++/5/bits/postypes.h \ + /usr/include/c++/5/cwchar /usr/include/wchar.h /usr/include/stdio.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h /usr/include/c++/5/exception \ + /usr/include/c++/5/bits/atomic_lockfree_defines.h \ + /usr/include/c++/5/bits/char_traits.h \ + /usr/include/c++/5/bits/stl_algobase.h \ + /usr/include/c++/5/bits/functexcept.h \ + /usr/include/c++/5/bits/exception_defines.h \ + /usr/include/c++/5/bits/cpp_type_traits.h \ + /usr/include/c++/5/ext/type_traits.h \ + /usr/include/c++/5/ext/numeric_traits.h \ + /usr/include/c++/5/bits/stl_pair.h /usr/include/c++/5/bits/move.h \ + /usr/include/c++/5/bits/concept_check.h \ + /usr/include/c++/5/bits/stl_iterator_base_types.h \ + /usr/include/c++/5/bits/stl_iterator_base_funcs.h \ + /usr/include/c++/5/debug/debug.h /usr/include/c++/5/bits/stl_iterator.h \ + /usr/include/c++/5/bits/ptr_traits.h \ + /usr/include/c++/5/bits/predefined_ops.h \ + /usr/include/c++/5/bits/localefwd.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h \ + /usr/include/c++/5/clocale /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/c++/5/cctype \ + /usr/include/ctype.h /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/c++/5/bits/ios_base.h /usr/include/c++/5/ext/atomicity.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h \ + /usr/include/pthread.h /usr/include/sched.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/bits/sched.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/timex.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ + /usr/include/x86_64-linux-gnu/bits/setjmp.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h \ + /usr/include/c++/5/bits/locale_classes.h /usr/include/c++/5/string \ + /usr/include/c++/5/bits/allocator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h \ + /usr/include/c++/5/ext/new_allocator.h /usr/include/c++/5/new \ + /usr/include/c++/5/bits/ostream_insert.h \ + /usr/include/c++/5/bits/cxxabi_forced.h \ + /usr/include/c++/5/bits/stl_function.h \ + /usr/include/c++/5/backward/binders.h \ + /usr/include/c++/5/bits/range_access.h \ + /usr/include/c++/5/bits/basic_string.h \ + /usr/include/c++/5/ext/alloc_traits.h \ + /usr/include/c++/5/bits/basic_string.tcc \ + /usr/include/c++/5/bits/locale_classes.tcc /usr/include/c++/5/stdexcept \ + /usr/include/c++/5/streambuf /usr/include/c++/5/bits/streambuf.tcc \ + /usr/include/c++/5/bits/basic_ios.h \ + /usr/include/c++/5/bits/locale_facets.h /usr/include/c++/5/cwctype \ + /usr/include/wctype.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h \ + /usr/include/c++/5/bits/streambuf_iterator.h \ + /usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h \ + /usr/include/c++/5/bits/locale_facets.tcc \ + /usr/include/c++/5/bits/basic_ios.tcc \ + /usr/include/c++/5/bits/ostream.tcc /usr/include/c++/5/istream \ + /usr/include/c++/5/bits/istream.tcc /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/jni.h /usr/include/libio.h \ + /usr/include/_G_config.h /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h \ + ../../modules/commons/src/jni/GiwsException.hxx + +/usr/include/stdc-predef.h: + +src/jni/FileExporter.hxx: + +/usr/include/c++/5/iostream: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/cpu_defines.h: + +/usr/include/c++/5/ostream: + +/usr/include/c++/5/ios: + +/usr/include/c++/5/iosfwd: + +/usr/include/c++/5/bits/stringfwd.h: + +/usr/include/c++/5/bits/memoryfwd.h: + +/usr/include/c++/5/bits/postypes.h: + +/usr/include/c++/5/cwchar: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +/usr/include/c++/5/exception: + +/usr/include/c++/5/bits/atomic_lockfree_defines.h: + +/usr/include/c++/5/bits/char_traits.h: + +/usr/include/c++/5/bits/stl_algobase.h: + +/usr/include/c++/5/bits/functexcept.h: + +/usr/include/c++/5/bits/exception_defines.h: + +/usr/include/c++/5/bits/cpp_type_traits.h: + +/usr/include/c++/5/ext/type_traits.h: + +/usr/include/c++/5/ext/numeric_traits.h: + +/usr/include/c++/5/bits/stl_pair.h: + +/usr/include/c++/5/bits/move.h: + +/usr/include/c++/5/bits/concept_check.h: + +/usr/include/c++/5/bits/stl_iterator_base_types.h: + +/usr/include/c++/5/bits/stl_iterator_base_funcs.h: + +/usr/include/c++/5/debug/debug.h: + +/usr/include/c++/5/bits/stl_iterator.h: + +/usr/include/c++/5/bits/ptr_traits.h: + +/usr/include/c++/5/bits/predefined_ops.h: + +/usr/include/c++/5/bits/localefwd.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++locale.h: + +/usr/include/c++/5/clocale: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/c++/5/cctype: + +/usr/include/ctype.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/c++/5/bits/ios_base.h: + +/usr/include/c++/5/ext/atomicity.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/gthr-default.h: + +/usr/include/pthread.h: + +/usr/include/sched.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/bits/sched.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/timex.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/x86_64-linux-gnu/bits/setjmp.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/atomic_word.h: + +/usr/include/c++/5/bits/locale_classes.h: + +/usr/include/c++/5/string: + +/usr/include/c++/5/bits/allocator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h: + +/usr/include/c++/5/ext/new_allocator.h: + +/usr/include/c++/5/new: + +/usr/include/c++/5/bits/ostream_insert.h: + +/usr/include/c++/5/bits/cxxabi_forced.h: + +/usr/include/c++/5/bits/stl_function.h: + +/usr/include/c++/5/backward/binders.h: + +/usr/include/c++/5/bits/range_access.h: + +/usr/include/c++/5/bits/basic_string.h: + +/usr/include/c++/5/ext/alloc_traits.h: + +/usr/include/c++/5/bits/basic_string.tcc: + +/usr/include/c++/5/bits/locale_classes.tcc: + +/usr/include/c++/5/stdexcept: + +/usr/include/c++/5/streambuf: + +/usr/include/c++/5/bits/streambuf.tcc: + +/usr/include/c++/5/bits/basic_ios.h: + +/usr/include/c++/5/bits/locale_facets.h: + +/usr/include/c++/5/cwctype: + +/usr/include/wctype.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_base.h: + +/usr/include/c++/5/bits/streambuf_iterator.h: + +/usr/include/x86_64-linux-gnu/c++/5/bits/ctype_inline.h: + +/usr/include/c++/5/bits/locale_facets.tcc: + +/usr/include/c++/5/bits/basic_ios.tcc: + +/usr/include/c++/5/bits/ostream.tcc: + +/usr/include/c++/5/istream: + +/usr/include/c++/5/bits/istream.tcc: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h: + +../../modules/commons/src/jni/GiwsException.hxx: diff --git a/modules/graphic_export/src/jni/.dirstamp b/modules/graphic_export/src/jni/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/graphic_export/src/jni/.dirstamp diff --git a/modules/graphic_export/src/jni/.libs/libscigraphic_export_algo_la-Driver.o b/modules/graphic_export/src/jni/.libs/libscigraphic_export_algo_la-Driver.o Binary files differnew file mode 100755 index 000000000..0dd0b1f99 --- /dev/null +++ b/modules/graphic_export/src/jni/.libs/libscigraphic_export_algo_la-Driver.o diff --git a/modules/graphic_export/src/jni/.libs/libscigraphic_export_algo_la-FileExporter.o b/modules/graphic_export/src/jni/.libs/libscigraphic_export_algo_la-FileExporter.o Binary files differnew file mode 100755 index 000000000..819ae948f --- /dev/null +++ b/modules/graphic_export/src/jni/.libs/libscigraphic_export_algo_la-FileExporter.o diff --git a/modules/graphic_export/src/jni/Driver.cpp b/modules/graphic_export/src/jni/Driver.cpp new file mode 100755 index 000000000..209dc724a --- /dev/null +++ b/modules/graphic_export/src/jni/Driver.cpp @@ -0,0 +1,283 @@ +#include "Driver.hxx" +/* Generated by GIWS (version 2.0.2) with command: +giws --disable-return-size-array --output-dir src/jni/ --throws-exception-on-error --description-file src/jni/Driver.giws.xml +*/ +/* + +This is generated code. + +This software is a computer program whose purpose is to hide the complexity +of accessing Java objects/methods from C++ code. + +This software is governed by the CeCILL-B license under French law and +abiding by the rules of distribution of free software. You can use, +modify and/ or redistribute the software under the terms of the CeCILL-B +license as circulated by CEA, CNRS and INRIA at the following URL +"http://www.cecill.info". + +As a counterpart to the access to the source code and rights to copy, +modify and redistribute granted by the license, users are provided only +with a limited warranty and the software's author, the holder of the +economic rights, and the successive licensors have only limited +liability. + +In this respect, the user's attention is drawn to the risks associated +with loading, using, modifying and/or developing or reproducing the +software by the user in light of its specific status of free software, +that may mean that it is complicated to manipulate, and that also +therefore means that it is reserved for developers and experienced +professionals having in-depth computer knowledge. Users are therefore +encouraged to load and test the software's suitability as regards their +requirements in conditions enabling the security of their systems and/or +data to be ensured and, more generally, to use and operate it in the +same conditions as regards security. + +The fact that you are presently reading this means that you have had +knowledge of the CeCILL-B license and that you accept its terms. +*/ + +namespace org_scilab_modules_graphic_export { + + // Static declarations (if any) + +// Returns the current env + +JNIEnv * Driver::getCurrentEnv() { +JNIEnv * curEnv = NULL; +jint res=this->jvm->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +if (res != JNI_OK) { +throw GiwsException::JniException(getCurrentEnv()); +} +return curEnv; +} +// Destructor + +Driver::~Driver() { +JNIEnv * curEnv = NULL; +this->jvm->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +curEnv->DeleteGlobalRef(this->instance); +curEnv->DeleteGlobalRef(this->instanceClass); +} +// Constructors +Driver::Driver(JavaVM * jvm_) { +jmethodID constructObject = NULL ; +jobject localInstance ; +jclass localClass ; + +const std::string construct="<init>"; +const std::string param="()V"; +jvm=jvm_; + +JNIEnv * curEnv = getCurrentEnv(); + +localClass = curEnv->FindClass( this->className().c_str() ) ; +if (localClass == NULL) { + throw GiwsException::JniClassNotFoundException(curEnv, this->className()); +} + +this->instanceClass = static_cast<jclass>(curEnv->NewGlobalRef(localClass)); + +/* localClass is not needed anymore */ +curEnv->DeleteLocalRef(localClass); + +if (this->instanceClass == NULL) { +throw GiwsException::JniObjectCreationException(curEnv, this->className()); +} + + +constructObject = curEnv->GetMethodID( this->instanceClass, construct.c_str() , param.c_str() ) ; +if(constructObject == NULL){ +throw GiwsException::JniObjectCreationException(curEnv, this->className()); +} + +localInstance = curEnv->NewObject( this->instanceClass, constructObject ) ; +if(localInstance == NULL){ +throw GiwsException::JniObjectCreationException(curEnv, this->className()); +} + +this->instance = curEnv->NewGlobalRef(localInstance) ; +if(this->instance == NULL){ +throw GiwsException::JniObjectCreationException(curEnv, this->className()); +} +/* localInstance not needed anymore */ +curEnv->DeleteLocalRef(localInstance); + + /* Methods ID set to NULL */ +jbooleansetDriverjstringjava_lang_StringID=NULL; +jstringgetDriverID=NULL; +voidsetPathjstringjava_lang_StringID=NULL; +jstringendjintintID=NULL; + + +} + +Driver::Driver(JavaVM * jvm_, jobject JObj) { + jvm=jvm_; + + JNIEnv * curEnv = getCurrentEnv(); + +jclass localClass = curEnv->GetObjectClass(JObj); + this->instanceClass = static_cast<jclass>(curEnv->NewGlobalRef(localClass)); + curEnv->DeleteLocalRef(localClass); + + if (this->instanceClass == NULL) { +throw GiwsException::JniObjectCreationException(curEnv, this->className()); + } + + this->instance = curEnv->NewGlobalRef(JObj) ; + if(this->instance == NULL){ +throw GiwsException::JniObjectCreationException(curEnv, this->className()); + } + /* Methods ID set to NULL */ + jbooleansetDriverjstringjava_lang_StringID=NULL; +jstringgetDriverID=NULL; +voidsetPathjstringjava_lang_StringID=NULL; +jstringendjintintID=NULL; + + +} + +// Generic methods + +void Driver::synchronize() { +if (getCurrentEnv()->MonitorEnter(instance) != JNI_OK) { +throw GiwsException::JniMonitorException(getCurrentEnv(), "Driver"); +} +} + +void Driver::endSynchronize() { +if ( getCurrentEnv()->MonitorExit(instance) != JNI_OK) { +throw GiwsException::JniMonitorException(getCurrentEnv(), "Driver"); +} +} +// Method(s) + +bool Driver::setDriver (JavaVM * jvm_, char const* driver){ + +JNIEnv * curEnv = NULL; +jvm_->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +jclass cls = initClass(curEnv); +if ( cls == NULL) { +throw GiwsException::JniCallMethodException(curEnv); +} + +static jmethodID jbooleansetDriverjstringjava_lang_StringID = curEnv->GetStaticMethodID(cls, "setDriver", "(Ljava/lang/String;)Z" ) ; +if (jbooleansetDriverjstringjava_lang_StringID == NULL) { +throw GiwsException::JniMethodNotFoundException(curEnv, "setDriver"); +} + +jstring driver_ = curEnv->NewStringUTF( driver ); +if (driver != NULL && driver_ == NULL) +{ +throw GiwsException::JniBadAllocException(curEnv); +} + + + jboolean res = static_cast<jboolean>( curEnv->CallStaticBooleanMethod(cls, jbooleansetDriverjstringjava_lang_StringID ,driver_)); + curEnv->DeleteLocalRef(driver_); +if (curEnv->ExceptionCheck()) { +throw GiwsException::JniCallMethodException(curEnv); +} +return (res == JNI_TRUE); + +} + +char* Driver::getDriver (JavaVM * jvm_){ + +JNIEnv * curEnv = NULL; +jvm_->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +jclass cls = initClass(curEnv); +if ( cls == NULL) { +throw GiwsException::JniCallMethodException(curEnv); +} + +static jmethodID jstringgetDriverID = curEnv->GetStaticMethodID(cls, "getDriver", "()Ljava/lang/String;" ) ; +if (jstringgetDriverID == NULL) { +throw GiwsException::JniMethodNotFoundException(curEnv, "getDriver"); +} + + jstring res = static_cast<jstring>( curEnv->CallStaticObjectMethod(cls, jstringgetDriverID )); + if (curEnv->ExceptionCheck()) { +throw GiwsException::JniCallMethodException(curEnv); +}if (res != NULL) { + +const char *tempString = curEnv->GetStringUTFChars(res, 0); +char * myStringBuffer = new char[strlen(tempString) + 1]; +strcpy(myStringBuffer, tempString); +curEnv->ReleaseStringUTFChars(res, tempString); +curEnv->DeleteLocalRef(res); +if (curEnv->ExceptionCheck()) { +delete[] myStringBuffer; + throw GiwsException::JniCallMethodException(curEnv); +} +return myStringBuffer; + } else { +curEnv->DeleteLocalRef(res); +return NULL; +} +} + +void Driver::setPath (JavaVM * jvm_, char const* path){ + +JNIEnv * curEnv = NULL; +jvm_->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +jclass cls = initClass(curEnv); +if ( cls == NULL) { +throw GiwsException::JniCallMethodException(curEnv); +} + +static jmethodID voidsetPathjstringjava_lang_StringID = curEnv->GetStaticMethodID(cls, "setPath", "(Ljava/lang/String;)V" ) ; +if (voidsetPathjstringjava_lang_StringID == NULL) { +throw GiwsException::JniMethodNotFoundException(curEnv, "setPath"); +} + +jstring path_ = curEnv->NewStringUTF( path ); +if (path != NULL && path_ == NULL) +{ +throw GiwsException::JniBadAllocException(curEnv); +} + + + curEnv->CallStaticVoidMethod(cls, voidsetPathjstringjava_lang_StringID ,path_); + curEnv->DeleteLocalRef(path_); +if (curEnv->ExceptionCheck()) { +throw GiwsException::JniCallMethodException(curEnv); +} +} + +char* Driver::end (JavaVM * jvm_, int uid){ + +JNIEnv * curEnv = NULL; +jvm_->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +jclass cls = initClass(curEnv); +if ( cls == NULL) { +throw GiwsException::JniCallMethodException(curEnv); +} + +static jmethodID jstringendjintintID = curEnv->GetStaticMethodID(cls, "end", "(I)Ljava/lang/String;" ) ; +if (jstringendjintintID == NULL) { +throw GiwsException::JniMethodNotFoundException(curEnv, "end"); +} + + jstring res = static_cast<jstring>( curEnv->CallStaticObjectMethod(cls, jstringendjintintID ,uid)); + if (curEnv->ExceptionCheck()) { +throw GiwsException::JniCallMethodException(curEnv); +}if (res != NULL) { + +const char *tempString = curEnv->GetStringUTFChars(res, 0); +char * myStringBuffer = new char[strlen(tempString) + 1]; +strcpy(myStringBuffer, tempString); +curEnv->ReleaseStringUTFChars(res, tempString); +curEnv->DeleteLocalRef(res); +if (curEnv->ExceptionCheck()) { +delete[] myStringBuffer; + throw GiwsException::JniCallMethodException(curEnv); +} +return myStringBuffer; + } else { +curEnv->DeleteLocalRef(res); +return NULL; +} +} + +} diff --git a/modules/graphic_export/src/jni/Driver.giws.xml b/modules/graphic_export/src/jni/Driver.giws.xml new file mode 100755 index 000000000..557436343 --- /dev/null +++ b/modules/graphic_export/src/jni/Driver.giws.xml @@ -0,0 +1,26 @@ +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> + +<package name="org.scilab.modules.graphic_export"> + <object name="Driver"> + <method name="setDriver" returnType="boolean" modifier="static"> + <parameter name="driver" type="String"/> + </method> + <method name="getDriver" returnType="String" modifier="static"/> + <method name="setPath" returnType="void" modifier="static"> + <parameter name="path" type="String"/> + </method> + <method name="end" returnType="String" modifier="static" > + <parameter name="uid" type="int"/> + </method> + </object> +</package> diff --git a/modules/graphic_export/src/jni/Driver.hxx b/modules/graphic_export/src/jni/Driver.hxx new file mode 100755 index 000000000..3ede68698 --- /dev/null +++ b/modules/graphic_export/src/jni/Driver.hxx @@ -0,0 +1,187 @@ +/* Generated by GIWS (version 2.0.2) with command: +giws --disable-return-size-array --output-dir src/jni/ --throws-exception-on-error --description-file src/jni/Driver.giws.xml +*/ +/* + +This is generated code. + +This software is a computer program whose purpose is to hide the complexity +of accessing Java objects/methods from C++ code. + +This software is governed by the CeCILL-B license under French law and +abiding by the rules of distribution of free software. You can use, +modify and/ or redistribute the software under the terms of the CeCILL-B +license as circulated by CEA, CNRS and INRIA at the following URL +"http://www.cecill.info". + +As a counterpart to the access to the source code and rights to copy, +modify and redistribute granted by the license, users are provided only +with a limited warranty and the software's author, the holder of the +economic rights, and the successive licensors have only limited +liability. + +In this respect, the user's attention is drawn to the risks associated +with loading, using, modifying and/or developing or reproducing the +software by the user in light of its specific status of free software, +that may mean that it is complicated to manipulate, and that also +therefore means that it is reserved for developers and experienced +professionals having in-depth computer knowledge. Users are therefore +encouraged to load and test the software's suitability as regards their +requirements in conditions enabling the security of their systems and/or +data to be ensured and, more generally, to use and operate it in the +same conditions as regards security. + +The fact that you are presently reading this means that you have had +knowledge of the CeCILL-B license and that you accept its terms. +*/ + + +#ifndef __ORG_SCILAB_MODULES_GRAPHIC_EXPORT_DRIVER__ +#define __ORG_SCILAB_MODULES_GRAPHIC_EXPORT_DRIVER__ +#include <iostream> +#include <string> +#include <string.h> +#include <stdlib.h> +#include <jni.h> + +#include "GiwsException.hxx" + + #if defined(_MSC_VER) /* Defined anyway with Visual */ + #include <Windows.h> + #else + typedef signed char byte; + #endif + + +#ifndef GIWSEXPORT +# if defined(_MSC_VER) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define GIWSEXPORT +# else +# define GIWSEXPORT __declspec(dllexport) +# endif +# else +# if __GNUC__ >= 4 +# define GIWSEXPORT __attribute__ ((visibility ("default"))) +# else +# define GIWSEXPORT +# endif +# endif +#endif + +namespace org_scilab_modules_graphic_export { +class GIWSEXPORT Driver { + +private: +JavaVM * jvm; + +protected: +jmethodID jbooleansetDriverjstringjava_lang_StringID; // cache method id +jmethodID jstringgetDriverID; // cache method id +jmethodID voidsetPathjstringjava_lang_StringID; // cache method id +jmethodID jstringendjintintID; // cache method id + + + +jobject instance; +jclass instanceClass; // cache class + + +// Caching (if any) + + +/** +* Get the environment matching to the current thread. +*/ +virtual JNIEnv * getCurrentEnv(); + +public: +// Constructor +/** +* Create a wrapping of the object from a JNIEnv. +* It will call the default constructor +* @param JEnv_ the Java Env +*/ +Driver(JavaVM * jvm_); + +/** +* Create a wrapping of an already existing object from a JNIEnv. +* The object must have already been instantiated +* @param JEnv_ the Java Env +* @param JObj the object +*/ +Driver(JavaVM * jvm_, jobject JObj); + + +/** +* This is a fake constructor to avoid the constructor +* chaining when dealing with extended giws classes +*/ +#ifdef FAKEGIWSDATATYPE +Driver(fakeGiwsDataType::fakeGiwsDataType /* unused */) {} +#endif + +// Destructor +~Driver(); + +// Generic method +// Synchronization methods +/** +* Enter monitor associated with the object. +* Equivalent of creating a "synchronized(obj)" scope in Java. +*/ +void synchronize(); + +/** +* Exit monitor associated with the object. +* Equivalent of ending a "synchronized(obj)" scope. +*/ +void endSynchronize(); + +// Methods +static bool setDriver(JavaVM * jvm_, char const* driver); + +static char* getDriver(JavaVM * jvm_); + +static void setPath(JavaVM * jvm_, char const* path); + +static char* end(JavaVM * jvm_, int uid); + + + /** + * Get class name to use for static methods + * @return class name to use for static methods + */ + + static const std::string className() + { + return "org/scilab/modules/graphic_export/Driver"; + } + + + /** + * Get class to use for static methods + * @return class to use for static methods + */ + + static jclass initClass(JNIEnv * curEnv) + { + static jclass cls = 0; + + if (cls == 0) + { + jclass _cls = curEnv->FindClass(className().c_str()); + if (_cls) + { + cls = static_cast<jclass>(curEnv->NewGlobalRef(_cls)); + } + } + + return cls; + } + +}; + + +} +#endif diff --git a/modules/graphic_export/src/jni/FileExporter.cpp b/modules/graphic_export/src/jni/FileExporter.cpp new file mode 100755 index 000000000..8d03b1fd1 --- /dev/null +++ b/modules/graphic_export/src/jni/FileExporter.cpp @@ -0,0 +1,192 @@ +#include "FileExporter.hxx" +/* Generated by GIWS (version 2.0.2) with command: +giws --disable-return-size-array --output-dir src/jni/ --throws-exception-on-error --description-file src/jni/FileExporter.giws.xml +*/ +/* + +This is generated code. + +This software is a computer program whose purpose is to hide the complexity +of accessing Java objects/methods from C++ code. + +This software is governed by the CeCILL-B license under French law and +abiding by the rules of distribution of free software. You can use, +modify and/ or redistribute the software under the terms of the CeCILL-B +license as circulated by CEA, CNRS and INRIA at the following URL +"http://www.cecill.info". + +As a counterpart to the access to the source code and rights to copy, +modify and redistribute granted by the license, users are provided only +with a limited warranty and the software's author, the holder of the +economic rights, and the successive licensors have only limited +liability. + +In this respect, the user's attention is drawn to the risks associated +with loading, using, modifying and/or developing or reproducing the +software by the user in light of its specific status of free software, +that may mean that it is complicated to manipulate, and that also +therefore means that it is reserved for developers and experienced +professionals having in-depth computer knowledge. Users are therefore +encouraged to load and test the software's suitability as regards their +requirements in conditions enabling the security of their systems and/or +data to be ensured and, more generally, to use and operate it in the +same conditions as regards security. + +The fact that you are presently reading this means that you have had +knowledge of the CeCILL-B license and that you accept its terms. +*/ + +namespace org_scilab_modules_graphic_export { + + // Static declarations (if any) + +// Returns the current env + +JNIEnv * FileExporter::getCurrentEnv() { +JNIEnv * curEnv = NULL; +jint res=this->jvm->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +if (res != JNI_OK) { +throw GiwsException::JniException(getCurrentEnv()); +} +return curEnv; +} +// Destructor + +FileExporter::~FileExporter() { +JNIEnv * curEnv = NULL; +this->jvm->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +curEnv->DeleteGlobalRef(this->instance); +curEnv->DeleteGlobalRef(this->instanceClass); +} +// Constructors +FileExporter::FileExporter(JavaVM * jvm_) { +jmethodID constructObject = NULL ; +jobject localInstance ; +jclass localClass ; + +const std::string construct="<init>"; +const std::string param="()V"; +jvm=jvm_; + +JNIEnv * curEnv = getCurrentEnv(); + +localClass = curEnv->FindClass( this->className().c_str() ) ; +if (localClass == NULL) { + throw GiwsException::JniClassNotFoundException(curEnv, this->className()); +} + +this->instanceClass = static_cast<jclass>(curEnv->NewGlobalRef(localClass)); + +/* localClass is not needed anymore */ +curEnv->DeleteLocalRef(localClass); + +if (this->instanceClass == NULL) { +throw GiwsException::JniObjectCreationException(curEnv, this->className()); +} + + +constructObject = curEnv->GetMethodID( this->instanceClass, construct.c_str() , param.c_str() ) ; +if(constructObject == NULL){ +throw GiwsException::JniObjectCreationException(curEnv, this->className()); +} + +localInstance = curEnv->NewObject( this->instanceClass, constructObject ) ; +if(localInstance == NULL){ +throw GiwsException::JniObjectCreationException(curEnv, this->className()); +} + +this->instance = curEnv->NewGlobalRef(localInstance) ; +if(this->instance == NULL){ +throw GiwsException::JniObjectCreationException(curEnv, this->className()); +} +/* localInstance not needed anymore */ +curEnv->DeleteLocalRef(localInstance); + + /* Methods ID set to NULL */ +jstringfileExportjintintjstringjava_lang_StringjintintjfloatfloatjintintID=NULL; + + +} + +FileExporter::FileExporter(JavaVM * jvm_, jobject JObj) { + jvm=jvm_; + + JNIEnv * curEnv = getCurrentEnv(); + +jclass localClass = curEnv->GetObjectClass(JObj); + this->instanceClass = static_cast<jclass>(curEnv->NewGlobalRef(localClass)); + curEnv->DeleteLocalRef(localClass); + + if (this->instanceClass == NULL) { +throw GiwsException::JniObjectCreationException(curEnv, this->className()); + } + + this->instance = curEnv->NewGlobalRef(JObj) ; + if(this->instance == NULL){ +throw GiwsException::JniObjectCreationException(curEnv, this->className()); + } + /* Methods ID set to NULL */ + jstringfileExportjintintjstringjava_lang_StringjintintjfloatfloatjintintID=NULL; + + +} + +// Generic methods + +void FileExporter::synchronize() { +if (getCurrentEnv()->MonitorEnter(instance) != JNI_OK) { +throw GiwsException::JniMonitorException(getCurrentEnv(), "FileExporter"); +} +} + +void FileExporter::endSynchronize() { +if ( getCurrentEnv()->MonitorExit(instance) != JNI_OK) { +throw GiwsException::JniMonitorException(getCurrentEnv(), "FileExporter"); +} +} +// Method(s) + +char* FileExporter::fileExport (JavaVM * jvm_, int figureUID, char const* fileName, int fileType, float jpegCompressionQuality, int orientation){ + +JNIEnv * curEnv = NULL; +jvm_->AttachCurrentThread(reinterpret_cast<void **>(&curEnv), NULL); +jclass cls = initClass(curEnv); +if ( cls == NULL) { +throw GiwsException::JniCallMethodException(curEnv); +} + +static jmethodID jstringfileExportjintintjstringjava_lang_StringjintintjfloatfloatjintintID = curEnv->GetStaticMethodID(cls, "fileExport", "(ILjava/lang/String;IFI)Ljava/lang/String;" ) ; +if (jstringfileExportjintintjstringjava_lang_StringjintintjfloatfloatjintintID == NULL) { +throw GiwsException::JniMethodNotFoundException(curEnv, "fileExport"); +} + +jstring fileName_ = curEnv->NewStringUTF( fileName ); +if (fileName != NULL && fileName_ == NULL) +{ +throw GiwsException::JniBadAllocException(curEnv); +} + + + jstring res = static_cast<jstring>( curEnv->CallStaticObjectMethod(cls, jstringfileExportjintintjstringjava_lang_StringjintintjfloatfloatjintintID ,figureUID, fileName_, fileType, jpegCompressionQuality, orientation)); + if (curEnv->ExceptionCheck()) { +throw GiwsException::JniCallMethodException(curEnv); +}if (res != NULL) { + +const char *tempString = curEnv->GetStringUTFChars(res, 0); +char * myStringBuffer = new char[strlen(tempString) + 1]; +strcpy(myStringBuffer, tempString); +curEnv->ReleaseStringUTFChars(res, tempString); +curEnv->DeleteLocalRef(res); +curEnv->DeleteLocalRef(fileName_); +if (curEnv->ExceptionCheck()) { +delete[] myStringBuffer; + throw GiwsException::JniCallMethodException(curEnv); +} +return myStringBuffer; + } else { +curEnv->DeleteLocalRef(res); +return NULL; +} +} + +} diff --git a/modules/graphic_export/src/jni/FileExporter.giws.xml b/modules/graphic_export/src/jni/FileExporter.giws.xml new file mode 100755 index 000000000..24fe2ed82 --- /dev/null +++ b/modules/graphic_export/src/jni/FileExporter.giws.xml @@ -0,0 +1,23 @@ +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Sylvestre Koumar + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> + +<package name="org.scilab.modules.graphic_export"> + <object name="FileExporter"> + <method name="fileExport" returnType="String" modifier="static"> + <parameter name="figureUID" type="int"/> + <parameter name="fileName" type="String"/> + <parameter name="fileType" type="int"/> + <parameter name="jpegCompressionQuality" type="float"/> + <parameter name="orientation" type="int"/> + </method> + </object> +</package> diff --git a/modules/graphic_export/src/jni/FileExporter.hxx b/modules/graphic_export/src/jni/FileExporter.hxx new file mode 100755 index 000000000..778febe52 --- /dev/null +++ b/modules/graphic_export/src/jni/FileExporter.hxx @@ -0,0 +1,178 @@ +/* Generated by GIWS (version 2.0.2) with command: +giws --disable-return-size-array --output-dir src/jni/ --throws-exception-on-error --description-file src/jni/FileExporter.giws.xml +*/ +/* + +This is generated code. + +This software is a computer program whose purpose is to hide the complexity +of accessing Java objects/methods from C++ code. + +This software is governed by the CeCILL-B license under French law and +abiding by the rules of distribution of free software. You can use, +modify and/ or redistribute the software under the terms of the CeCILL-B +license as circulated by CEA, CNRS and INRIA at the following URL +"http://www.cecill.info". + +As a counterpart to the access to the source code and rights to copy, +modify and redistribute granted by the license, users are provided only +with a limited warranty and the software's author, the holder of the +economic rights, and the successive licensors have only limited +liability. + +In this respect, the user's attention is drawn to the risks associated +with loading, using, modifying and/or developing or reproducing the +software by the user in light of its specific status of free software, +that may mean that it is complicated to manipulate, and that also +therefore means that it is reserved for developers and experienced +professionals having in-depth computer knowledge. Users are therefore +encouraged to load and test the software's suitability as regards their +requirements in conditions enabling the security of their systems and/or +data to be ensured and, more generally, to use and operate it in the +same conditions as regards security. + +The fact that you are presently reading this means that you have had +knowledge of the CeCILL-B license and that you accept its terms. +*/ + + +#ifndef __ORG_SCILAB_MODULES_GRAPHIC_EXPORT_FILEEXPORTER__ +#define __ORG_SCILAB_MODULES_GRAPHIC_EXPORT_FILEEXPORTER__ +#include <iostream> +#include <string> +#include <string.h> +#include <stdlib.h> +#include <jni.h> + +#include "GiwsException.hxx" + + #if defined(_MSC_VER) /* Defined anyway with Visual */ + #include <Windows.h> + #else + typedef signed char byte; + #endif + + +#ifndef GIWSEXPORT +# if defined(_MSC_VER) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define GIWSEXPORT +# else +# define GIWSEXPORT __declspec(dllexport) +# endif +# else +# if __GNUC__ >= 4 +# define GIWSEXPORT __attribute__ ((visibility ("default"))) +# else +# define GIWSEXPORT +# endif +# endif +#endif + +namespace org_scilab_modules_graphic_export { +class GIWSEXPORT FileExporter { + +private: +JavaVM * jvm; + +protected: +jmethodID jstringfileExportjintintjstringjava_lang_StringjintintjfloatfloatjintintID; // cache method id + + + +jobject instance; +jclass instanceClass; // cache class + + +// Caching (if any) + + +/** +* Get the environment matching to the current thread. +*/ +virtual JNIEnv * getCurrentEnv(); + +public: +// Constructor +/** +* Create a wrapping of the object from a JNIEnv. +* It will call the default constructor +* @param JEnv_ the Java Env +*/ +FileExporter(JavaVM * jvm_); + +/** +* Create a wrapping of an already existing object from a JNIEnv. +* The object must have already been instantiated +* @param JEnv_ the Java Env +* @param JObj the object +*/ +FileExporter(JavaVM * jvm_, jobject JObj); + + +/** +* This is a fake constructor to avoid the constructor +* chaining when dealing with extended giws classes +*/ +#ifdef FAKEGIWSDATATYPE +FileExporter(fakeGiwsDataType::fakeGiwsDataType /* unused */) {} +#endif + +// Destructor +~FileExporter(); + +// Generic method +// Synchronization methods +/** +* Enter monitor associated with the object. +* Equivalent of creating a "synchronized(obj)" scope in Java. +*/ +void synchronize(); + +/** +* Exit monitor associated with the object. +* Equivalent of ending a "synchronized(obj)" scope. +*/ +void endSynchronize(); + +// Methods +static char* fileExport(JavaVM * jvm_, int figureUID, char const* fileName, int fileType, float jpegCompressionQuality, int orientation); + + + /** + * Get class name to use for static methods + * @return class name to use for static methods + */ + + static const std::string className() + { + return "org/scilab/modules/graphic_export/FileExporter"; + } + + + /** + * Get class to use for static methods + * @return class to use for static methods + */ + + static jclass initClass(JNIEnv * curEnv) + { + static jclass cls = 0; + + if (cls == 0) + { + jclass _cls = curEnv->FindClass(className().c_str()); + if (_cls) + { + cls = static_cast<jclass>(curEnv->NewGlobalRef(_cls)); + } + } + + return cls; + } + +}; + + +} +#endif diff --git a/modules/graphic_export/src/jni/libscigraphic_export_algo_la-Driver.lo b/modules/graphic_export/src/jni/libscigraphic_export_algo_la-Driver.lo new file mode 100755 index 000000000..5dda862e2 --- /dev/null +++ b/modules/graphic_export/src/jni/libscigraphic_export_algo_la-Driver.lo @@ -0,0 +1,12 @@ +# src/jni/libscigraphic_export_algo_la-Driver.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_algo_la-Driver.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/src/jni/libscigraphic_export_algo_la-FileExporter.lo b/modules/graphic_export/src/jni/libscigraphic_export_algo_la-FileExporter.lo new file mode 100755 index 000000000..42005918a --- /dev/null +++ b/modules/graphic_export/src/jni/libscigraphic_export_algo_la-FileExporter.lo @@ -0,0 +1,12 @@ +# src/jni/libscigraphic_export_algo_la-FileExporter.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_algo_la-FileExporter.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/src/nographic_export/.deps/.dirstamp b/modules/graphic_export/src/nographic_export/.deps/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/graphic_export/src/nographic_export/.deps/.dirstamp diff --git a/modules/graphic_export/src/nographic_export/.deps/libscigraphic_export_disable_la-nographic_export.Plo b/modules/graphic_export/src/nographic_export/.deps/libscigraphic_export_disable_la-nographic_export.Plo new file mode 100755 index 000000000..c0048205a --- /dev/null +++ b/modules/graphic_export/src/nographic_export/.deps/libscigraphic_export_disable_la-nographic_export.Plo @@ -0,0 +1,59 @@ +src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo: \ + src/nographic_export/nographic_export.c /usr/include/stdc-predef.h \ + includes/gw_graphic_export.h includes/dynlib_graphic_export.h \ + ../../modules/output_stream/includes/Scierror.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/core/includes/machine.h \ + ../../modules/localization/includes/localization.h \ + /usr/include/libintl.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/locale.h \ + /usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/xlocale.h \ + ../../modules/core/includes/scilabmode.h \ + ../../modules/core/includes/machine.h ../../modules/core/includes/BOOL.h + +/usr/include/stdc-predef.h: + +includes/gw_graphic_export.h: + +includes/dynlib_graphic_export.h: + +../../modules/output_stream/includes/Scierror.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/core/includes/machine.h: + +../../modules/localization/includes/localization.h: + +/usr/include/libintl.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/xlocale.h: + +../../modules/core/includes/scilabmode.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/BOOL.h: diff --git a/modules/graphic_export/src/nographic_export/.dirstamp b/modules/graphic_export/src/nographic_export/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/graphic_export/src/nographic_export/.dirstamp diff --git a/modules/graphic_export/src/nographic_export/.libs/libscigraphic_export_disable_la-nographic_export.o b/modules/graphic_export/src/nographic_export/.libs/libscigraphic_export_disable_la-nographic_export.o Binary files differnew file mode 100755 index 000000000..73054827b --- /dev/null +++ b/modules/graphic_export/src/nographic_export/.libs/libscigraphic_export_disable_la-nographic_export.o diff --git a/modules/graphic_export/src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo b/modules/graphic_export/src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo new file mode 100755 index 000000000..9c090dbe4 --- /dev/null +++ b/modules/graphic_export/src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo @@ -0,0 +1,12 @@ +# src/nographic_export/libscigraphic_export_disable_la-nographic_export.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscigraphic_export_disable_la-nographic_export.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/graphic_export/src/nographic_export/nographic_export.c b/modules/graphic_export/src/nographic_export/nographic_export.c new file mode 100755 index 000000000..8a471aaca --- /dev/null +++ b/modules/graphic_export/src/nographic_export/nographic_export.c @@ -0,0 +1,35 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Allan CORNET + * + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "gw_graphic_export.h" +#include "Scierror.h" +#include "localization.h" +#ifndef _MSC_VER +#include "scilabmode.h" +#endif +/*--------------------------------------------------------------------------*/ +int gw_graphic_export(void) +{ +#ifndef _MSC_VER + if (getScilabMode() == SCILAB_NWNI) + { + Scierror(999, _("Scilab '%s' module disabled in -nogui or -nwni mode.\n"), "graphic_export"); + } + else +#endif + { + Scierror(999, _("Scilab '%s' module not installed.\n"), "graphic_export"); + } + return 0; +} +/*--------------------------------------------------------------------------*/ diff --git a/modules/graphic_export/src/nographic_export/nographic_export.h b/modules/graphic_export/src/nographic_export/nographic_export.h new file mode 100755 index 000000000..572112907 --- /dev/null +++ b/modules/graphic_export/src/nographic_export/nographic_export.h @@ -0,0 +1,18 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Sylvestre Ledru + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +/** + * Fake gateway declaration for rendering function + * + * @return 0 anyway + */ +int gw_graphic_export(void); diff --git a/modules/graphic_export/src/nographic_export/nographic_export.rc b/modules/graphic_export/src/nographic_export/nographic_export.rc new file mode 100755 index 000000000..ef376a5a6 --- /dev/null +++ b/modules/graphic_export/src/nographic_export/nographic_export.rc @@ -0,0 +1,97 @@ +// Microsoft Visual C++ generated resource script. +// + + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +//#include "afxres.h" +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// French (France) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA) +#ifdef _WIN32 +LANGUAGE LANG_FRENCH, SUBLANG_FRENCH +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 5,5,2,0 + PRODUCTVERSION 5,5,2,0 + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x0L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040c04b0" + BEGIN + VALUE "FileDescription", "nographic_export module" + VALUE "FileVersion", "5, 5, 2, 0" + VALUE "InternalName", "nographic_export module" + VALUE "LegalCopyright", "Copyright (C) 2017" + VALUE "OriginalFilename", "nographic_export.dll" + VALUE "ProductName", " nographic_export" + VALUE "ProductVersion", "5, 5, 2, 0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x40c, 1200 + END +END + +#endif // French (France) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/modules/graphic_export/src/nographic_export/nographic_export.vcxproj b/modules/graphic_export/src/nographic_export/nographic_export.vcxproj new file mode 100755 index 000000000..0ecbd42ce --- /dev/null +++ b/modules/graphic_export/src/nographic_export/nographic_export.vcxproj @@ -0,0 +1,191 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Debug|x64"> + <Configuration>Debug</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|x64"> + <Configuration>Release</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{3411652C-2879-48D0-B5C1-18D546E0A683}</ProjectGuid> + <RootNamespace>nographic_export</RootNamespace> + <Keyword>Win32Proj</Keyword> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>false</WholeProgramOptimization> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>false</WholeProgramOptimization> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../../libs/intl;../../../api_scilab/includes;../../includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;GRAPHIC_EXPORT_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + </ClCompile> + <Link> + <AdditionalDependencies>../../../../bin/libintl.lib;%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>true</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX86</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <Midl> + <TargetEnvironment>X64</TargetEnvironment> + </Midl> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../../libs/intl;../../../api_scilab/includes;../../includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;GRAPHIC_EXPORT_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + </ClCompile> + <Link> + <AdditionalDependencies>../../../../bin/libintl.lib;%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>true</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX64</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> + <WholeProgramOptimization>false</WholeProgramOptimization> + <AdditionalIncludeDirectories>../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../../libs/intl;../../../api_scilab/includes;../../includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;GRAPHIC_EXPORT_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <StringPooling>true</StringPooling> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <MultiProcessorCompilation>true</MultiProcessorCompilation> + </ClCompile> + <Link> + <AdditionalDependencies>../../../../bin/libintl.lib;%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>false</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <OptimizeReferences>true</OptimizeReferences> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX86</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <Midl> + <TargetEnvironment>X64</TargetEnvironment> + </Midl> + <ClCompile> + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> + <WholeProgramOptimization>false</WholeProgramOptimization> + <AdditionalIncludeDirectories>../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../../libs/intl;../../../api_scilab/includes;../../includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;GRAPHIC_EXPORT_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <StringPooling>true</StringPooling> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <MultiProcessorCompilation>true</MultiProcessorCompilation> + </ClCompile> + <Link> + <AdditionalDependencies>../../../../bin/libintl.lib;%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>false</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <OptimizeReferences>true</OptimizeReferences> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX64</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="nographic_export.c" /> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="nographic_export.rc" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\..\..\localization\src\localization.vcxproj"> + <Project>{ecffeb0c-1eda-45ee-9a10-b18143852e17}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="..\..\..\output_stream\src\c\output_stream.vcxproj"> + <Project>{a5911cd7-f8e8-440c-a23e-4843a0636f3a}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/modules/graphic_export/src/nographic_export/nographic_export.vcxproj.filters b/modules/graphic_export/src/nographic_export/nographic_export.vcxproj.filters new file mode 100755 index 000000000..d6a816d6a --- /dev/null +++ b/modules/graphic_export/src/nographic_export/nographic_export.vcxproj.filters @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="Source Files"> + <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> + <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> + </Filter> + <Filter Include="Header Files"> + <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> + <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> + </Filter> + <Filter Include="Resource Files"> + <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> + <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions> + </Filter> + <Filter Include="Libraries Dependencies"> + <UniqueIdentifier>{70e52fdb-5499-4dd6-bb5d-0c25bb010256}</UniqueIdentifier> + </Filter> + </ItemGroup> + <ItemGroup> + <ClCompile Include="nographic_export.c"> + <Filter>Source Files</Filter> + </ClCompile> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="nographic_export.rc"> + <Filter>Resource Files</Filter> + </ResourceCompile> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/modules/graphic_export/tests/nonreg_tests/bug_10637.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_10637.dia.ref new file mode 100755 index 000000000..8cbc11cac --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_10637.dia.ref @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - DIGITEO - Antoine ELIAS +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- TEST WITH GRAPHIC --> +// +// <-- Non-regression test for bug 10637 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=10637 +// +// <-- Short Description --> +// xs2svg crashs when call with something else an figure handle +plot3d(); +f = gcf(); +err = execstr("xs2svg(f, TMPDIR + ""/Figure"", ""landscape"")", "errcatch"); +assert_checkequal(err, 0); +a = gca(); +err = execstr("xs2svg(a, TMPDIR + ""/Axes"", ""landscape"")", "errcatch"); +assert_checktrue(err <> 0); diff --git a/modules/graphic_export/tests/nonreg_tests/bug_10637.tst b/modules/graphic_export/tests/nonreg_tests/bug_10637.tst new file mode 100755 index 000000000..ea12f02d8 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_10637.tst @@ -0,0 +1,24 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - DIGITEO - Antoine ELIAS +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- TEST WITH GRAPHIC --> +// +// <-- Non-regression test for bug 10637 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=10637 +// +// <-- Short Description --> +// xs2svg crashs when call with something else an figure handle + +plot3d(); +f = gcf(); +err = execstr("xs2svg(f, TMPDIR + ""/Figure"", ""landscape"")", "errcatch"); +assert_checkequal(err, 0); +a = gca(); +err = execstr("xs2svg(a, TMPDIR + ""/Axes"", ""landscape"")", "errcatch"); +assert_checktrue(err <> 0); diff --git a/modules/graphic_export/tests/nonreg_tests/bug_11115.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_11115.dia.ref new file mode 100755 index 000000000..15683d895 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_11115.dia.ref @@ -0,0 +1,26 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - Scilab Enterprises - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- Non-regression test for bug 11115 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=11115 +// +// <-- Short Description --> +// A graphic window was opened with two xend() +driver("JPEG") + ans = + + Rec +xinit(TMPDIR+"/plot3d.jpg") +plot3d() +xend() +assert_checktrue(isfile(TMPDIR+"/plot3d.jpg")); +xinit(TMPDIR+"/plot2d.jpg") +plot2d() +xend() +assert_checktrue(isfile(TMPDIR+"/plot2d.jpg")); diff --git a/modules/graphic_export/tests/nonreg_tests/bug_11115.tst b/modules/graphic_export/tests/nonreg_tests/bug_11115.tst new file mode 100755 index 000000000..3290a710b --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_11115.tst @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - Scilab Enterprises - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- Non-regression test for bug 11115 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=11115 +// +// <-- Short Description --> +// A graphic window was opened with two xend() +driver("JPEG") +xinit(TMPDIR+"/plot3d.jpg") +plot3d() +xend() +assert_checktrue(isfile(TMPDIR+"/plot3d.jpg")); +xinit(TMPDIR+"/plot2d.jpg") +plot2d() +xend() +assert_checktrue(isfile(TMPDIR+"/plot2d.jpg")); diff --git a/modules/graphic_export/tests/nonreg_tests/bug_11136.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_11136.dia.ref new file mode 100755 index 000000000..371a40a9d --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_11136.dia.ref @@ -0,0 +1,24 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - Scilab Enterprises - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- Non-regression test for bug 11136 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=11136 +// +// <-- Short Description --> +// A graphic export was crashing when using legends +driver("GIF") + ans = + + Rec +xinit(TMPDIR+"/plop.gif") +t=0:0.1:2*%pi; +plot2d(t,[cos(t'),cos(2*t'),cos(3*t')],[-1,2 3]); +legends(['cos(t)';'cos(2*t)';'cos(3*t)'],[-1,2 3],opt="lr") +xend(); +assert_checktrue(isfile(TMPDIR+"/plop.gif")); diff --git a/modules/graphic_export/tests/nonreg_tests/bug_11136.tst b/modules/graphic_export/tests/nonreg_tests/bug_11136.tst new file mode 100755 index 000000000..6410aa92d --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_11136.tst @@ -0,0 +1,24 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - Scilab Enterprises - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- Non-regression test for bug 11136 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=11136 +// +// <-- Short Description --> +// A graphic export was crashing when using legends + + +driver("GIF") +xinit(TMPDIR+"/plop.gif") +t=0:0.1:2*%pi; +plot2d(t,[cos(t'),cos(2*t'),cos(3*t')],[-1,2 3]); +legends(['cos(t)';'cos(2*t)';'cos(3*t)'],[-1,2 3],opt="lr") +xend(); + +assert_checktrue(isfile(TMPDIR+"/plop.gif")); diff --git a/modules/graphic_export/tests/nonreg_tests/bug_11563.tst b/modules/graphic_export/tests/nonreg_tests/bug_11563.tst new file mode 100755 index 000000000..91de338ce --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_11563.tst @@ -0,0 +1,20 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - Scilab Enterprises - Vincent COUVERT +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- Non-regression test for bug 11563 --> +// +// <-- INTERACTIVE TEST --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=11563 +// +// <-- Short Description --> +// Button was called "Open" instead of "Save" in the graphics export file selection GUI. + +plot3d +// Menus: File/Export to .../PNG +// Check that the bottom right button is called 'Save' diff --git a/modules/graphic_export/tests/nonreg_tests/bug_11965.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_11965.dia.ref new file mode 100755 index 000000000..a9f36360c --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_11965.dia.ref @@ -0,0 +1,26 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- Non-regression test for bug 11965 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/11965 +// +// <-- Short Description --> +// Export to SVG converted texts in shapes. +driver("SVG") + ans = + + Rec +xinit(TMPDIR+"/plop.svg") +xtitle('this appears as bezier','x','y') +xend(); +doc=xmlRead(TMPDIR+"/plop.svg"); +xp=xmlXPath(doc, "//*[local-name()=''text'']"); +strs=xmlAsText(xp); +xmlDelete(doc); +assert_checktrue(or(strs=="this appears as bezier")); diff --git a/modules/graphic_export/tests/nonreg_tests/bug_11965.tst b/modules/graphic_export/tests/nonreg_tests/bug_11965.tst new file mode 100755 index 000000000..f8af1e77a --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_11965.tst @@ -0,0 +1,27 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - Scilab Enterprises - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- Non-regression test for bug 11965 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/11965 +// +// <-- Short Description --> +// Export to SVG converted texts in shapes. + + +driver("SVG") +xinit(TMPDIR+"/plop.svg") +xtitle('this appears as bezier','x','y') +xend(); + +doc=xmlRead(TMPDIR+"/plop.svg"); +xp=xmlXPath(doc, "//*[local-name()=''text'']"); +strs=xmlAsText(xp); +xmlDelete(doc); + +assert_checktrue(or(strs=="this appears as bezier")); diff --git a/modules/graphic_export/tests/nonreg_tests/bug_1248.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_1248.dia.ref new file mode 100755 index 000000000..b8c09700b --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_1248.dia.ref @@ -0,0 +1,24 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008-2008 - INRIA - Jean-Baptiste Silvy +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// <-- Non-regression test for bug 1248 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=1248 +// +// <-- Short Description --> +// Postcript export export displayed text even if it is ouside the viewing area. +x=1:.5:100; +y=2:200; +xset("window",0); +clf(); +// l,r,t,b +xsetech(arect=[.01,.01,.01,.01]); +plot2d(x,y,frameflag=8,axesflag=1); +fig = gcf(); +xs2eps(fig.figure_id, TMPDIR+"/toto.eps"); +// check that toto.eps does not display ticks label diff --git a/modules/graphic_export/tests/nonreg_tests/bug_1248.tst b/modules/graphic_export/tests/nonreg_tests/bug_1248.tst new file mode 100755 index 000000000..a4c1834b8 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_1248.tst @@ -0,0 +1,31 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008-2008 - INRIA - Jean-Baptiste Silvy +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> + +// <-- Non-regression test for bug 1248 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=1248 +// +// <-- Short Description --> +// Postcript export export displayed text even if it is ouside the viewing area. + + +x=1:.5:100; +y=2:200; +xset("window",0); +clf(); +// l,r,t,b +xsetech(arect=[.01,.01,.01,.01]); +plot2d(x,y,frameflag=8,axesflag=1); + +fig = gcf(); +xs2eps(fig.figure_id, TMPDIR+"/toto.eps"); + +// check that toto.eps does not display ticks label + diff --git a/modules/graphic_export/tests/nonreg_tests/bug_13150.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_13150.dia.ref new file mode 100755 index 000000000..baa7b3b28 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_13150.dia.ref @@ -0,0 +1,22 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2014 - Scilab Enterprises - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- Non-regression test for bug 13150 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/13150 +// +// <-- Short Description --> +// Vectorial export used too much memory for grayplot +driver("png") + ans = + + Rec +xinit(TMPDIR+"/plop.png") +m = rand(500,500); +grayplot(1:500, 1:500, m); +xend(); diff --git a/modules/graphic_export/tests/nonreg_tests/bug_13150.tst b/modules/graphic_export/tests/nonreg_tests/bug_13150.tst new file mode 100755 index 000000000..4e030e083 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_13150.tst @@ -0,0 +1,21 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2014 - Scilab Enterprises - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- Non-regression test for bug 13150 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/13150 +// +// <-- Short Description --> +// Vectorial export used too much memory for grayplot + + +driver("png") +xinit(TMPDIR+"/plop.png") +m = rand(500,500); +grayplot(1:500, 1:500, m); +xend();
\ No newline at end of file diff --git a/modules/graphic_export/tests/nonreg_tests/bug_13676.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_13676.dia.ref new file mode 100755 index 000000000..f59b4320e --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_13676.dia.ref @@ -0,0 +1,32 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2014 - Scilab Enterprises - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- Non-regression test for bug 13676 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/13676 +// +// <-- Short Description --> +// An invisible figure could not be exported. +f = gcf(); +f.visible = "off"; +plot2d(); +path = TMPDIR + "/bug_13676.png"; +xs2png(f, path); +jimport javax.imageio.ImageIO; +jimport java.net.URL; +url = URL.new("file:////" + path); +bi = ImageIO.read(url); +w = bi.getWidth(jvoid); +h = bi.getHeight(jvoid); +data = uint32(bi.getRGB(0, 0, w, h, [], 0, w)); +jremove ImageIO URL url bi +// Check if the image is not fully white +assert_checkfalse(and(data == (uint32(2^32 - 1)))) + ans = + + T diff --git a/modules/graphic_export/tests/nonreg_tests/bug_13676.tst b/modules/graphic_export/tests/nonreg_tests/bug_13676.tst new file mode 100755 index 000000000..92a0f5511 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_13676.tst @@ -0,0 +1,34 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2014 - Scilab Enterprises - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- Non-regression test for bug 13676 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/13676 +// +// <-- Short Description --> +// An invisible figure could not be exported. + +f = gcf(); +f.visible = "off"; +plot2d(); + +path = TMPDIR + "/bug_13676.png"; +xs2png(f, path); + +jimport javax.imageio.ImageIO; +jimport java.net.URL; + +url = URL.new("file:////" + path); +bi = ImageIO.read(url); +w = bi.getWidth(jvoid); +h = bi.getHeight(jvoid); +data = uint32(bi.getRGB(0, 0, w, h, [], 0, w)); +jremove ImageIO URL url bi + +// Check if the image is not fully white +assert_checkfalse(and(data == (uint32(2^32 - 1)))) diff --git a/modules/graphic_export/tests/nonreg_tests/bug_2112.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_2112.dia.ref new file mode 100755 index 000000000..23d209b01 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_2112.dia.ref @@ -0,0 +1,26 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009-2009 - DIGITEO - Bruno JOFRET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// <-- Non-regression test for bug 2112 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=2112 +// +// <-- Short Description --> +// GIF export may alter some update +driver("GIF"); +x=[-3:0.1:3]; +y=[-3:0.1:3]; +cd TMPDIR; +xinit("test.gif"); +plot(x,y) +zoom_rect([-2 -2 2 2]) +f=gcf(); +x_ticks_location = f.children(1).x_ticks.locations(1); +xend(); +if (x_ticks_location ~= -2) then bugmes();quit;end +mdelete("test.gif"); diff --git a/modules/graphic_export/tests/nonreg_tests/bug_2112.tst b/modules/graphic_export/tests/nonreg_tests/bug_2112.tst new file mode 100755 index 000000000..ccb06f60a --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_2112.tst @@ -0,0 +1,30 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009-2009 - DIGITEO - Bruno JOFRET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> + +// <-- Non-regression test for bug 2112 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=2112 +// +// <-- Short Description --> +// GIF export may alter some update + +driver("GIF"); +x=[-3:0.1:3]; +y=[-3:0.1:3]; +cd TMPDIR; +xinit("test.gif"); +plot(x,y) +zoom_rect([-2 -2 2 2]) +f=gcf(); +x_ticks_location = f.children(1).x_ticks.locations(1); +xend(); + +if (x_ticks_location ~= -2) then pause; end +mdelete("test.gif"); diff --git a/modules/graphic_export/tests/nonreg_tests/bug_2234.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_2234.dia.ref new file mode 100755 index 000000000..5d744a212 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_2234.dia.ref @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008-2008 - INRIA - Jean-Baptiste Silvy +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// <-- INTERACTIVE TEST --> +// <-- Non-regression test for bug 2234 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=2234 +// +// <-- Short Description --> +// When using xs2gif or xs2bmp, when the graphic window is mimimized, the BMP files +// are not created, and the GIF files are flawed (size = 1 KB) +// +plot2d; +// minimize window +fig = gcf(); +xs2gif(fig.figure_id, TMPDIR+"/test.gif"); +xs2bmp(fig.figure_id, TMPDIR+"/test.bmp"); +// check the two generated files. diff --git a/modules/graphic_export/tests/nonreg_tests/bug_2234.tst b/modules/graphic_export/tests/nonreg_tests/bug_2234.tst new file mode 100755 index 000000000..b98a374b3 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_2234.tst @@ -0,0 +1,28 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008-2008 - INRIA - Jean-Baptiste Silvy +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> +// <-- INTERACTIVE TEST --> + +// <-- Non-regression test for bug 2234 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=2234 +// +// <-- Short Description --> +// When using xs2gif or xs2bmp, when the graphic window is mimimized, the BMP files +// are not created, and the GIF files are flawed (size = 1 KB) +// + +plot2d; +// minimize window +fig = gcf(); +xs2gif(fig.figure_id, TMPDIR+"/test.gif"); +xs2bmp(fig.figure_id, TMPDIR+"/test.bmp"); + +// check the two generated files. + diff --git a/modules/graphic_export/tests/nonreg_tests/bug_2547.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_2547.dia.ref new file mode 100755 index 000000000..23a205ab3 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_2547.dia.ref @@ -0,0 +1,53 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008-2008 - INRIA - Jean-Baptiste Silvy +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// <-- Non-regression test for bug 2547 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=2547 +// +// <-- Short Description --> +// export of very circle marks of very small size in postcript are not displayed +plot(1:10,'.') +e=gce();e=e.children; +e.mark_size_unit = "point" + e = + +Handle of type "Polyline" with properties: +========================================== +parent: Compound +children: [] +visible = "on" +data = matrix 10x2 +closed = "off" +line_mode = "off" +fill_mode = "off" +line_style = 0 +thickness = 1 +arrow_size_factor = 1 +polyline_style = 1 +foreground = 1 +background = -2 +interp_color_vector = [] +interp_color_mode = "off" +mark_mode = "on" +mark_style = 0 +mark_size_unit = "point" +mark_size = 6 +mark_foreground = 2 +mark_background = -2 +x_shift = [] +y_shift = [] +z_shift = [] +bar_width = 0 +clip_state = "clipgrf" +clip_box = [] +user_data = [] +e.mark_style=0;e.mark_size=1; +fig = gcf(); +xs2eps(fig.figure_id, TMPDIR+"/test.eps"); +// check that the dots are present in the exported file. diff --git a/modules/graphic_export/tests/nonreg_tests/bug_2547.tst b/modules/graphic_export/tests/nonreg_tests/bug_2547.tst new file mode 100755 index 000000000..17ec7a272 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_2547.tst @@ -0,0 +1,30 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008-2008 - INRIA - Jean-Baptiste Silvy +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- NOT FIXED --> + +// <-- TEST WITH GRAPHIC --> + +// <-- Non-regression test for bug 2547 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=2547 +// +// <-- Short Description --> +// export of very circle marks of very small size in postcript are not displayed + +plot(1:10,'.') +e=gce();e=e.children; +e.mark_size_unit = "point" +e.mark_style=0;e.mark_size=1; + +fig = gcf(); +xs2eps(fig.figure_id, TMPDIR+"/test.eps"); +// check that the dots are present in the exported file. + + + diff --git a/modules/graphic_export/tests/nonreg_tests/bug_260.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_260.dia.ref new file mode 100755 index 000000000..4c5dc0533 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_260.dia.ref @@ -0,0 +1,18 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008-2008 - INRIA - Jean-Baptiste Silvy +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// <-- Non-regression test for bug 260 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=260 +// +// <-- Short Description --> +// When setting the property "auto_ticks" of the Axes, it is not set properly. +// create an acentued text +xstring(0, 0, "totoééééà à à à à à çççç@@@@@@@"); +// the exported file should display the above string with accents. +xs2eps(0, TMPDIR+"/toto.eps"); diff --git a/modules/graphic_export/tests/nonreg_tests/bug_260.tst b/modules/graphic_export/tests/nonreg_tests/bug_260.tst new file mode 100755 index 000000000..350ea439c --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_260.tst @@ -0,0 +1,24 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008-2008 - INRIA - Jean-Baptiste Silvy +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> + +// <-- Non-regression test for bug 260 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=260 +// +// <-- Short Description --> +// When setting the property "auto_ticks" of the Axes, it is not set properly. + + +// create an acentued text +xstring(0, 0, "totoééééà à à à à à çççç@@@@@@@"); + +// the exported file should display the above string with accents. +xs2eps(0, TMPDIR+"/toto.eps"); + diff --git a/modules/graphic_export/tests/nonreg_tests/bug_3660.tst b/modules/graphic_export/tests/nonreg_tests/bug_3660.tst new file mode 100755 index 000000000..a3115d5a9 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_3660.tst @@ -0,0 +1,28 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Sylvestre LEDRU +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> +// <-- INTERACTIVE TEST --> + +// <-- Non-regression test for bug 3660 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=3660 +// +// <-- Short Description --> +// Graphic export : font_angle was lost on the axis label when exporting through xs2pdf +// +plot3d(); +xtitle("My title","my x axis label", "Volume","the Z axis"); +a=gca(); +a.y_label.font_angle=50; +a.y_label.font_size=8; +xs2pdf(0,TMPDIR+"/plop.pdf"); +disp(TMPDIR+"/plop.pdf"); +// have a look to 'TMPDIR+"/plop.pdf"' and check that the y label has been rotated + + diff --git a/modules/graphic_export/tests/nonreg_tests/bug_4173.tst b/modules/graphic_export/tests/nonreg_tests/bug_4173.tst new file mode 100755 index 000000000..9c5037c68 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_4173.tst @@ -0,0 +1,33 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009-2009 - INRIA - Jean-Baptiste Silvy +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> +// <-- INTERACTIVE TEST --> + +// <-- Non-regression test for bug 4173 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4173 +// +// <-- Short Description --> +// Graphic export : Style the text fonts is not respected when exporting to SVG. +// + +scf(10); +plot3d(); +title('Title in bold-italic'); + +my_axe = gca(); +my_title = my_axe.title; +my_title.font_size = 5; +my_title.font_style = 5; + +xs2svg(10,TMPDIR+'/bug_svg_bold_italic.svg'); + +// have a look to 'bug_svg_bold_italic.svg' and check that the title is bold and italic + + diff --git a/modules/graphic_export/tests/nonreg_tests/bug_4174.tst b/modules/graphic_export/tests/nonreg_tests/bug_4174.tst new file mode 100755 index 000000000..b82c448dc --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_4174.tst @@ -0,0 +1,26 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Sylvestre Koumar +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> +// <-- INTERACTIVE TEST --> + +// <-- Non-regression test for bug 4174 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4174 +// +// <-- Short Description --> +// Graphic export : The xs2xxx (graphic export) functions don't support paths that start with a tilde. +// + +scf(10); +plot3d(); +xs2png(10,'~/bug_path.png') + +// check if the exported file is in the user's home(/home/user) directory. + + diff --git a/modules/graphic_export/tests/nonreg_tests/bug_4231.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_4231.dia.ref new file mode 100755 index 000000000..482540d3d --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_4231.dia.ref @@ -0,0 +1,18 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// <-- Non-regression test for bug 4231 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4231 +// +// <-- Short Description --> +// plot();xs2png(0,TMPDIR+filesep()+'toto.png') crashs !!! +// +plot(); +ierr = execstr('xs2png(0,TMPDIR+filesep()+''bug_4231.png'');','errcatch'); +if fileinfo(TMPDIR+filesep()+'bug_4231.png') == [] then bugmes();quit;end diff --git a/modules/graphic_export/tests/nonreg_tests/bug_4231.tst b/modules/graphic_export/tests/nonreg_tests/bug_4231.tst new file mode 100755 index 000000000..35c0d351c --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_4231.tst @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> + +// <-- Non-regression test for bug 4231 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4231 +// +// <-- Short Description --> +// plot();xs2png(0,TMPDIR+filesep()+'toto.png') crashs !!! +// + + +plot(); +ierr = execstr('xs2png(0,TMPDIR+filesep()+''bug_4231.png'');','errcatch'); +if fileinfo(TMPDIR+filesep()+'bug_4231.png') == [] then pause,end + diff --git a/modules/graphic_export/tests/nonreg_tests/bug_4273.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_4273.dia.ref new file mode 100755 index 000000000..f0a52ee54 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_4273.dia.ref @@ -0,0 +1,26 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// <-- Non-regression test for bug 4273 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4273 +// +// <-- Short Description --> +// xs2file crashs +// +scf(10); +plot3d(); +title('Title in bold-italic'); +xs2svg(10,TMPDIR+'/bug_4273.svg'); +if fileinfo(TMPDIR+'/bug_4273.svg') == [] then bugmes();quit;end +xs2png(10,TMPDIR+'/bug_4273.png'); +if fileinfo(TMPDIR+'/bug_4273.png') == [] then bugmes();quit;end +xs2bmp(10,TMPDIR+'/bug_4273.bmp'); +if fileinfo(TMPDIR+'/bug_4273.bmp') == [] then bugmes();quit;end +xs2gif(10,TMPDIR+'/bug_4273.gif'); +if fileinfo(TMPDIR+'/bug_4273.gif') == [] then bugmes();quit;end diff --git a/modules/graphic_export/tests/nonreg_tests/bug_4273.tst b/modules/graphic_export/tests/nonreg_tests/bug_4273.tst new file mode 100755 index 000000000..30388050c --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_4273.tst @@ -0,0 +1,35 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> + +// <-- Non-regression test for bug 4273 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4273 +// +// <-- Short Description --> +// xs2file crashs +// + +scf(10); +plot3d(); +title('Title in bold-italic'); + +xs2svg(10,TMPDIR+'/bug_4273.svg'); +if fileinfo(TMPDIR+'/bug_4273.svg') == [] then pause,end + +xs2png(10,TMPDIR+'/bug_4273.png'); +if fileinfo(TMPDIR+'/bug_4273.png') == [] then pause,end + +xs2bmp(10,TMPDIR+'/bug_4273.bmp'); +if fileinfo(TMPDIR+'/bug_4273.bmp') == [] then pause,end + +xs2gif(10,TMPDIR+'/bug_4273.gif'); +if fileinfo(TMPDIR+'/bug_4273.gif') == [] then pause,end + + diff --git a/modules/graphic_export/tests/nonreg_tests/bug_4437.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_4437.dia.ref new file mode 100755 index 000000000..c9a564eb4 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_4437.dia.ref @@ -0,0 +1,18 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Jean-Baptiste SILVY +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// <-- Non-regression test for bug 4437 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4437 +// +// <-- Short Description --> +// Exporting an empty figure crashes Scilab +// +figure(0); +xs2eps(0, TMPDIR + 'name'); +// should not crash diff --git a/modules/graphic_export/tests/nonreg_tests/bug_4437.tst b/modules/graphic_export/tests/nonreg_tests/bug_4437.tst new file mode 100755 index 000000000..bc10f4ccd --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_4437.tst @@ -0,0 +1,24 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Jean-Baptiste SILVY +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> + +// <-- Non-regression test for bug 4437 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4437 +// +// <-- Short Description --> +// Exporting an empty figure crashes Scilab +// + +figure(0); +xs2eps(0, TMPDIR + 'name'); + +// should not crash + + diff --git a/modules/graphic_export/tests/nonreg_tests/bug_4508.tst b/modules/graphic_export/tests/nonreg_tests/bug_4508.tst new file mode 100755 index 000000000..36d50513b --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_4508.tst @@ -0,0 +1,21 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Vincent COUVERT +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> + +// <-- Non-regression test for bug 4508 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4508 +// +// <-- Short Description --> +// Under MacOSX, when I try to export a graphic figure using the menu, I can not select a file which does not exist. I have to select an existing file and overwrite it... + +// Type plot3d in Scilab +// Try to export the figure using the File/Export to menu and check that you can export in a file that does not exist + + diff --git a/modules/graphic_export/tests/nonreg_tests/bug_4615.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_4615.dia.ref new file mode 100755 index 000000000..dc97f5fd5 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_4615.dia.ref @@ -0,0 +1,21 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// <-- Non-regression test for bug 4615 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4615 +// +// <-- Short Description --> +// xs2jpg does not consider .jpeg as a valid extension for .jpg +plot3d() +filename = pathconvert(TMPDIR+"/mybug_4615.jpeg",%F); +my_handle = gcf(); +my_win_id = my_handle.figure_id; +xs2jpg(my_win_id,filename); +if fileinfo(filename) == [] then bugmes();quit;end +mdelete(filename); diff --git a/modules/graphic_export/tests/nonreg_tests/bug_4615.tst b/modules/graphic_export/tests/nonreg_tests/bug_4615.tst new file mode 100755 index 000000000..7bec20ddf --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_4615.tst @@ -0,0 +1,24 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> + +// <-- Non-regression test for bug 4615 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4615 +// +// <-- Short Description --> +// xs2jpg does not consider .jpeg as a valid extension for .jpg + +plot3d() +filename = pathconvert(TMPDIR+"/mybug_4615.jpeg",%F); +my_handle = gcf(); +my_win_id = my_handle.figure_id; +xs2jpg(my_win_id,filename); +if fileinfo(filename) == [] then pause, end +mdelete(filename); diff --git a/modules/graphic_export/tests/nonreg_tests/bug_4812.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_4812.dia.ref new file mode 100755 index 000000000..03ea3d3d8 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_4812.dia.ref @@ -0,0 +1,24 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - Digiteo - Pierre Lando +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// <-- NO CHECK ERROR OUTPUT --> +// <-- Non-regression test for bug 4812 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4812 +// +// <-- Short Description --> +// xs2... function doesn't work if the first argument is a handle +// +plot3d(); +hd=gcf(); +file_a=pathconvert(TMPDIR+"/nonreg_test_bug4812a.png",%f); +file_b=pathconvert(TMPDIR+"/nonreg_test_bug4812b.png",%f); +//PNG export for exemple +xs2png(hd.figure_id,file_a); +xs2png(hd,file_b); // this now work .... +if getmd5(file_a) <> getmd5(file_b) then bugmes();quit;end diff --git a/modules/graphic_export/tests/nonreg_tests/bug_4812.tst b/modules/graphic_export/tests/nonreg_tests/bug_4812.tst new file mode 100755 index 000000000..d6a70690a --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_4812.tst @@ -0,0 +1,30 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - Digiteo - Pierre Lando +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> +// <-- NO CHECK ERROR OUTPUT --> + +// <-- Non-regression test for bug 4812 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4812 +// +// <-- Short Description --> +// xs2... function doesn't work if the first argument is a handle +// + +plot3d(); +hd=gcf(); + +file_a=pathconvert(TMPDIR+"/nonreg_test_bug4812a.png",%f); +file_b=pathconvert(TMPDIR+"/nonreg_test_bug4812b.png",%f); + +//PNG export for exemple +xs2png(hd.figure_id,file_a); +xs2png(hd,file_b); // this now work .... + +if getmd5(file_a) <> getmd5(file_b) then pause; end diff --git a/modules/graphic_export/tests/nonreg_tests/bug_4818.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_4818.dia.ref new file mode 100755 index 000000000..c366c139f --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_4818.dia.ref @@ -0,0 +1,20 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- TEST WITH GRAPHIC --> +// +// <-- Non-regression test for bug 4818 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4818 +// +// <-- Short Description --> +// It was not possible to export a figure with a lot of circle marks. +x = 1:1000; +y = log(x); +plot(x, y, '.'); +xs2svg(0, TMPDIR + "/bug_4818.svg"); diff --git a/modules/graphic_export/tests/nonreg_tests/bug_4818.tst b/modules/graphic_export/tests/nonreg_tests/bug_4818.tst new file mode 100755 index 000000000..bc8bf6003 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_4818.tst @@ -0,0 +1,22 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// +// <-- TEST WITH GRAPHIC --> +// +// <-- Non-regression test for bug 4818 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4818 +// +// <-- Short Description --> +// It was not possible to export a figure with a lot of circle marks. + +x = 1:1000; +y = log(x); +plot(x, y, '.'); +xs2svg(0, TMPDIR + "/bug_4818.svg");
\ No newline at end of file diff --git a/modules/graphic_export/tests/nonreg_tests/bug_4944.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_4944.dia.ref new file mode 100755 index 000000000..0948ecde2 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_4944.dia.ref @@ -0,0 +1,27 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - Digiteo - Pierre Lando +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// <-- NO CHECK ERROR OUTPUT --> +// <-- Non-regression test for bug 4944 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4944 +// +// <-- Short Description --> +// If the extension is not provided, some functions adds the extension, some others don't +// +plot3d(); +filename=TMPDIR+"/nonreg_test_bug4944"; +f=gcf(); +xs2png(f.figure_id,filename); // must save in filename+".png" +if fileinfo(filename+".png") == [] then bugmes();quit;end; +xs2bmp(f.figure_id,filename+".bmp"); // must save in filename+".bmp" +if fileinfo(filename+".bmp") == [] then bugmes();quit;end; +xs2pdf(f.figure_id,filename); // must save in filename+".pdf" +if fileinfo(filename+".pdf") == [] then bugmes();quit;end; +xs2bmp(f.figure_id,filename+"a.pdf"); // must save in filename+"a.pdf" +if fileinfo(filename+"a.pdf") == [] then bugmes();quit;end; diff --git a/modules/graphic_export/tests/nonreg_tests/bug_4944.tst b/modules/graphic_export/tests/nonreg_tests/bug_4944.tst new file mode 100755 index 000000000..1e48be1f1 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_4944.tst @@ -0,0 +1,35 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - Digiteo - Pierre Lando +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> +// <-- NO CHECK ERROR OUTPUT --> + +// <-- Non-regression test for bug 4944 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4944 +// +// <-- Short Description --> +// If the extension is not provided, some functions adds the extension, some others don't +// + + +plot3d(); +filename=TMPDIR+"/nonreg_test_bug4944"; +f=gcf(); + +xs2png(f.figure_id,filename); // must save in filename+".png" +if fileinfo(filename+".png") == [] then pause; end; + +xs2bmp(f.figure_id,filename+".bmp"); // must save in filename+".bmp" +if fileinfo(filename+".bmp") == [] then pause; end; + +xs2pdf(f.figure_id,filename); // must save in filename+".pdf" +if fileinfo(filename+".pdf") == [] then pause; end; + +xs2bmp(f.figure_id,filename+"a.pdf"); // must save in filename+"a.pdf" +if fileinfo(filename+"a.pdf") == [] then pause; end; diff --git a/modules/graphic_export/tests/nonreg_tests/bug_5436.tst b/modules/graphic_export/tests/nonreg_tests/bug_5436.tst new file mode 100755 index 000000000..8a4676973 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_5436.tst @@ -0,0 +1,33 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> + +// <-- Non-regression test for bug 5436 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=5436 +// +// <-- Short Description --> +// The export to svg does not work with bar graphs. +// Blue triangles are placed over the yellow ones. + +indexfirst = [ + 0.3139532 + 0.4423253 + 8.086D-31 +] +indextotal = [ + 0.5576747 + 0.4423255 + 0.2437215 +] +bar(indextotal,0.2,'blue'); +bar(indexfirst,0.15,'yellow'); +legend(["totale" "premier ordre"],pos=1); +xtitle("Fonction Ishigami - Indice de sensibilité"); +xs2svg ( 0 , "export.svg" ) diff --git a/modules/graphic_export/tests/nonreg_tests/bug_6718.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_6718.dia.ref new file mode 100755 index 000000000..6d6ed9416 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_6718.dia.ref @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// <-- NO CHECK ERROR OUTPUT --> +// <-- Non-regression test for bug 6718 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=6718 +// +// <-- Short Description --> +// If a text property in a graphic contains a "<" symbol +// the export returns an error (eps) or ignore the text (svg) +scf(0); +plot(1:10) +a=gca(); +a.title.text='a<b';//similar pb with a.x_label.text='a<b' +filename=TMPDIR+"/nonreg_test_bug4944.eps"; +xs2eps(0,filename); +if fileinfo(filename) == [] then bugmes();quit;end; diff --git a/modules/graphic_export/tests/nonreg_tests/bug_6718.tst b/modules/graphic_export/tests/nonreg_tests/bug_6718.tst new file mode 100755 index 000000000..dc6dc764c --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_6718.tst @@ -0,0 +1,26 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// <-- NO CHECK ERROR OUTPUT --> + +// <-- Non-regression test for bug 6718 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=6718 +// +// <-- Short Description --> +// If a text property in a graphic contains a "<" symbol +// the export returns an error (eps) or ignore the text (svg) + +scf(0); +plot(1:10) +a=gca(); +a.title.text='a<b';//similar pb with a.x_label.text='a<b' + +filename=TMPDIR+"/nonreg_test_bug4944.eps"; +xs2eps(0,filename); +if fileinfo(filename) == [] then pause; end; diff --git a/modules/graphic_export/tests/nonreg_tests/bug_6735.tst b/modules/graphic_export/tests/nonreg_tests/bug_6735.tst new file mode 100755 index 000000000..88f96852e --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_6735.tst @@ -0,0 +1,20 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> + +// <-- Non-regression test for bug 6735 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=6735 +// +// <-- Short Description --> +// The "landscape" option in the print dialog as well as in xs2eps does +// not work as expected. + +plot2d(); +xs2eps(0, 'export.eps', 'landscape'); diff --git a/modules/graphic_export/tests/nonreg_tests/bug_6738.tst b/modules/graphic_export/tests/nonreg_tests/bug_6738.tst new file mode 100755 index 000000000..ed99fccf6 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_6738.tst @@ -0,0 +1,19 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> + +// <-- Non-regression test for bug 6738 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=6738 +// +// <-- Short Description --> +// The horizontal line of the square root symbol was not drawn when exported. + +xtitle('$\sqrt{abcdefgh}$'); +xs2pdf(0,'export.pdf');
\ No newline at end of file diff --git a/modules/graphic_export/tests/nonreg_tests/bug_6848.tst b/modules/graphic_export/tests/nonreg_tests/bug_6848.tst new file mode 100755 index 000000000..be43002d8 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_6848.tst @@ -0,0 +1,24 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - DIGITEO - Pierre Lando <pierre.lando@scilab.org> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> + +// <-- Non-regression test for bug 6848 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=6738 +// +// <-- Short Description --> +// The patterns of the lines was poorly exported + +// Execute this script. + +plot(1:1:5 ,'r--'); +plot(2:1:6 ,'r-.'); +xs2pdf(gcf(),'out.pdf'); + +// And look if the exported figure is correct. diff --git a/modules/graphic_export/tests/nonreg_tests/bug_685.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_685.dia.ref new file mode 100755 index 000000000..191434456 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_685.dia.ref @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008-2008 - INRIA - Jean-Baptiste Silvy +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// <-- Non-regression test for bug 685 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=685 +// +// <-- Short Description --> +// Export to GIF ignores xlfont settings +// +xlfont("Arial",5); +plot2d() +a = gca(); +a.title.font_style = 5; +a.title.font_size = 3; +xtitle('this should be Arial!'); +xs2gif(0, TMPDIR + "/test_bug_685.gif"); +// check that the font is the same on the screen and the exported file. diff --git a/modules/graphic_export/tests/nonreg_tests/bug_685.tst b/modules/graphic_export/tests/nonreg_tests/bug_685.tst new file mode 100755 index 000000000..ee67a1008 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_685.tst @@ -0,0 +1,37 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - DIGITEO - Jean-Baptiste Silvy <jean-baptiste.silvy@scilab.org> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> +// <-- INTERACTIVE TEST --> + +// <-- Non-regression test for bug 685 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=685 +// +// <-- Short Description --> +// Export to GIF ignores xlfont settings +// + +if getos() == 'Windows' then + my_font = "Arial"; +else + my_font = "Monospaced"; +end + +if find( xlfont('AVAILABLE_FONTS') == my_font ) <> [] then + xlfont(my_font,5); + plot2d() + a = gca(); + a.title.font_style = 5; + a.title.font_size = 3; + xtitle('this should be Arial!'); +end + +xs2gif(0, TMPDIR + "/test_bug_685.gif"); + +// check that the font is the same on the screen and the exported file. diff --git a/modules/graphic_export/tests/nonreg_tests/bug_7180.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_7180.dia.ref new file mode 100755 index 000000000..12d66d6ab --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_7180.dia.ref @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// <-- NO CHECK ERROR OUTPUT --> +// <-- Non-regression test for bug 7180 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=7180 +// +// <-- Short Description --> +// xs2pdf, xs2eps was enable to export a graphic +plot(1:1:5, "r--"); +plot(2:1:6, "r-."); +filename = TMPDIR + "/nonreg_test_bug7180.pdf"; +xs2pdf(gcf(), filename); +if ~isfile(filename) then bugmes();quit;end; +filename = TMPDIR + "/nonreg_test_bug7180.eps"; +xs2eps(gcf(), filename); +if ~isfile(filename) then bugmes();quit;end; diff --git a/modules/graphic_export/tests/nonreg_tests/bug_7180.tst b/modules/graphic_export/tests/nonreg_tests/bug_7180.tst new file mode 100755 index 000000000..1faf575f3 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_7180.tst @@ -0,0 +1,25 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// <-- NO CHECK ERROR OUTPUT --> + +// <-- Non-regression test for bug 7180 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=7180 +// +// <-- Short Description --> +// xs2pdf, xs2eps was enable to export a graphic + +plot(1:1:5, "r--"); +plot(2:1:6, "r-."); +filename = TMPDIR + "/nonreg_test_bug7180.pdf"; +xs2pdf(gcf(), filename); +if ~isfile(filename) then pause; end; +filename = TMPDIR + "/nonreg_test_bug7180.eps"; +xs2eps(gcf(), filename); +if ~isfile(filename) then pause; end;
\ No newline at end of file diff --git a/modules/graphic_export/tests/nonreg_tests/bug_7640.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_7640.dia.ref new file mode 100755 index 000000000..d9f0d0c93 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_7640.dia.ref @@ -0,0 +1,42 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) DIGITEO - 2010 - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- TEST WITH GRAPHIC --> +// +// <-- NO CHECK ERROR OUTPUT --> +// +// <-- Non-regression test for bug 7640 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=7640 +// +// <-- Short Description --> +// xs2pdf, xs2eps, xs2emf crashed if filename prefix had less three characters. +cd TMPDIR; +s = scf(0); +t=0:0.1:10; +plot(t,sin(t)); +// eps +xs2eps(0, "t.eps"); +if ~isfile("t.eps") then bugmes();quit;end +info = fileinfo("t.eps"); +if info(1) == 0 then bugmes();quit;end +// eps +xs2eps(0, "t1.eps"); +if ~isfile("t1.eps") then bugmes();quit;end +info = fileinfo("t1.eps"); +if info(1) == 0 then bugmes();quit;end +//pdf +xs2pdf(0, "t1.pdf"); +if ~isfile("t1.pdf") then bugmes();quit;end +info = fileinfo("t1.pdf"); +if info(1) == 0 then bugmes();quit;end +//emf +xs2emf(0, "t1.emf"); +if ~isfile("t1.emf") then bugmes();quit;end +info = fileinfo("t1.emf"); +if info(1) == 0 then bugmes();quit;end diff --git a/modules/graphic_export/tests/nonreg_tests/bug_7640.tst b/modules/graphic_export/tests/nonreg_tests/bug_7640.tst new file mode 100755 index 000000000..d201b568b --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_7640.tst @@ -0,0 +1,48 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) DIGITEO - 2010 - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- TEST WITH GRAPHIC --> +// +// <-- NO CHECK ERROR OUTPUT --> +// +// <-- Non-regression test for bug 7640 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=7640 +// +// <-- Short Description --> +// xs2pdf, xs2eps, xs2emf crashed if filename prefix had less three characters. + +cd TMPDIR; +s = scf(0); + +t=0:0.1:10; +plot(t,sin(t)); + +// eps +xs2eps(0, "t.eps"); +if ~isfile("t.eps") then pause, end +info = fileinfo("t.eps"); +if info(1) == 0 then pause, end + +// eps +xs2eps(0, "t1.eps"); +if ~isfile("t1.eps") then pause, end +info = fileinfo("t1.eps"); +if info(1) == 0 then pause, end + +//pdf +xs2pdf(0, "t1.pdf"); +if ~isfile("t1.pdf") then pause, end +info = fileinfo("t1.pdf"); +if info(1) == 0 then pause, end + +//emf +xs2emf(0, "t1.emf"); +if ~isfile("t1.emf") then pause, end +info = fileinfo("t1.emf"); +if info(1) == 0 then pause, end diff --git a/modules/graphic_export/tests/nonreg_tests/bug_7994.dia.ref b/modules/graphic_export/tests/nonreg_tests/bug_7994.dia.ref new file mode 100755 index 000000000..4b27df7e0 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_7994.dia.ref @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- TEST WITH GRAPHIC --> +// +// <-- Non-regression test for bug 7994 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=7994 +// +// <-- Short Description --> +// xs2emf created empty files on Windows +emfFilename = TMPDIR + "/bug_7994.emf"; +plot3d(); +f=gcf(); +xs2emf(f.figure_id, emfFilename); +if ~isfile(emfFilename) then bugmes();quit;end +info = fileinfo(emfFilename); +if info(1) < 592080 then bugmes();quit;end diff --git a/modules/graphic_export/tests/nonreg_tests/bug_7994.tst b/modules/graphic_export/tests/nonreg_tests/bug_7994.tst new file mode 100755 index 000000000..682905201 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_7994.tst @@ -0,0 +1,26 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - DIGITEO - Allan CORNET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- TEST WITH GRAPHIC --> +// +// <-- Non-regression test for bug 7994 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=7994 +// +// <-- Short Description --> +// xs2emf created empty files on Windows + +emfFilename = TMPDIR + "/bug_7994.emf"; +plot3d(); +f=gcf(); + +xs2emf(f.figure_id, emfFilename); +if ~isfile(emfFilename) then pause, end +info = fileinfo(emfFilename); +if info(1) < 592080 then pause, end + diff --git a/modules/graphic_export/tests/nonreg_tests/bug_9527.tst b/modules/graphic_export/tests/nonreg_tests/bug_9527.tst new file mode 100755 index 000000000..f41852cf3 --- /dev/null +++ b/modules/graphic_export/tests/nonreg_tests/bug_9527.tst @@ -0,0 +1,22 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- INTERACTIVE TEST --> + +// <-- Non-regression test for bug 9527 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/9527 +// +// <-- Short Description --> +// Problem when text was exported in SVG in using the gui + +xtitle('abcde'); + +// ctrl+E to export +// choose svg file format +// export
\ No newline at end of file diff --git a/modules/graphic_export/tests/unit_tests/bmp_non_empty_file.dia.ref b/modules/graphic_export/tests/unit_tests/bmp_non_empty_file.dia.ref new file mode 100755 index 000000000..bdbc88dea --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/bmp_non_empty_file.dia.ref @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// test to check that generated files are not empty +// create some data to export +scf(); +plot2d; +plot3d; +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; +// check that file size is greater than 10K +minimumSize = 10000; +// bitmap export +// bmp format +xs2bmp(figIndex, TMPDIR+"/textExport.bmp") +fileSize = fileinfo(TMPDIR+"/textExport.bmp"); +if (fileSize(1) < minimumSize) then bugmes();quit;end; +mdelete(TMPDIR+"/textExport.bmp"); diff --git a/modules/graphic_export/tests/unit_tests/bmp_non_empty_file.tst b/modules/graphic_export/tests/unit_tests/bmp_non_empty_file.tst new file mode 100755 index 000000000..a17bb0f71 --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/bmp_non_empty_file.tst @@ -0,0 +1,29 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> + +// test to check that generated files are not empty + +// create some data to export +scf(); +plot2d; +plot3d; + +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; + +// check that file size is greater than 10K +minimumSize = 10000; + +// bitmap export +// bmp format +xs2bmp(figIndex, TMPDIR+"/textExport.bmp") +fileSize = fileinfo(TMPDIR+"/textExport.bmp"); +if (fileSize(1) < minimumSize) then pause; end; +mdelete(TMPDIR+"/textExport.bmp");
\ No newline at end of file diff --git a/modules/graphic_export/tests/unit_tests/driver.dia.ref b/modules/graphic_export/tests/unit_tests/driver.dia.ref new file mode 100755 index 000000000..cb21e9b7e --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/driver.dia.ref @@ -0,0 +1,55 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - Scilab Enterprises - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +driver('GIF'); +xinit(TMPDIR+'/mygiffile.gif'); +plot3d(); +xend(); +assert_checktrue(isfile(TMPDIR+'/mygiffile.gif')); +a=fileinfo(TMPDIR+'/mygiffile.gif'); +assert_checktrue(a(1)>10); +driver('JPG'); +xinit(TMPDIR+'/myjpgfile.jpg'); +plot3d(); +xend(); +assert_checktrue(isfile(TMPDIR+'/myjpgfile.jpg')); +a=fileinfo(TMPDIR+'/myjpgfile.jpg'); +assert_checktrue(a(1)>10); +driver('JPEG'); +xinit(TMPDIR+'/myjpegfile.jpeg'); +plot3d(); +xend(); +assert_checktrue(isfile(TMPDIR+'/myjpegfile.jpeg')); +a=fileinfo(TMPDIR+'/myjpegfile.jpeg'); +assert_checktrue(a(1)>10); +driver('PDF'); +xinit(TMPDIR+'/mypdffile.pdf'); +plot3d(); +xend(); +assert_checktrue(isfile(TMPDIR+'/mypdffile.pdf')); +a=fileinfo(TMPDIR+'/mypdffile.pdf'); +assert_checktrue(a(1)>10); +driver('PS'); +xinit(TMPDIR+'/mypsfile.ps'); +plot3d(); +xend(); +assert_checktrue(isfile(TMPDIR+'/mypsfile.ps')); +a=fileinfo(TMPDIR+'/mypsfile.ps'); +assert_checktrue(a(1)>10); +driver('BMP'); +xinit(TMPDIR+'/mybmpfile.bmp'); +plot3d(); +xend(); +assert_checktrue(isfile(TMPDIR+'/mybmpfile.bmp')); +a=fileinfo(TMPDIR+'/mybmpfile.bmp'); +assert_checktrue(a(1)>10); +driver('PPM'); +xinit(TMPDIR+'/myppmfile.ppm'); +plot3d(); +xend(); +assert_checktrue(isfile(TMPDIR+'/myppmfile.ppm')); +a=fileinfo(TMPDIR+'/myppmfile.ppm'); +assert_checktrue(a(1)>10); diff --git a/modules/graphic_export/tests/unit_tests/driver.tst b/modules/graphic_export/tests/unit_tests/driver.tst new file mode 100755 index 000000000..36de74277 --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/driver.tst @@ -0,0 +1,63 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - Scilab Enterprises - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +driver('GIF'); +xinit(TMPDIR+'/mygiffile.gif'); +plot3d(); +xend(); +assert_checktrue(isfile(TMPDIR+'/mygiffile.gif')); +a=fileinfo(TMPDIR+'/mygiffile.gif'); +assert_checktrue(a(1)>10); + +driver('JPG'); +xinit(TMPDIR+'/myjpgfile.jpg'); +plot3d(); +xend(); +assert_checktrue(isfile(TMPDIR+'/myjpgfile.jpg')); +a=fileinfo(TMPDIR+'/myjpgfile.jpg'); +assert_checktrue(a(1)>10); + + +driver('JPEG'); +xinit(TMPDIR+'/myjpegfile.jpeg'); +plot3d(); +xend(); +assert_checktrue(isfile(TMPDIR+'/myjpegfile.jpeg')); +a=fileinfo(TMPDIR+'/myjpegfile.jpeg'); +assert_checktrue(a(1)>10); + +driver('PDF'); +xinit(TMPDIR+'/mypdffile.pdf'); +plot3d(); +xend(); +assert_checktrue(isfile(TMPDIR+'/mypdffile.pdf')); +a=fileinfo(TMPDIR+'/mypdffile.pdf'); +assert_checktrue(a(1)>10); + +driver('PS'); +xinit(TMPDIR+'/mypsfile.ps'); +plot3d(); +xend(); +assert_checktrue(isfile(TMPDIR+'/mypsfile.ps')); +a=fileinfo(TMPDIR+'/mypsfile.ps'); +assert_checktrue(a(1)>10); + +driver('BMP'); +xinit(TMPDIR+'/mybmpfile.bmp'); +plot3d(); +xend(); +assert_checktrue(isfile(TMPDIR+'/mybmpfile.bmp')); +a=fileinfo(TMPDIR+'/mybmpfile.bmp'); +assert_checktrue(a(1)>10); + +driver('PPM'); +xinit(TMPDIR+'/myppmfile.ppm'); +plot3d(); +xend(); +assert_checktrue(isfile(TMPDIR+'/myppmfile.ppm')); +a=fileinfo(TMPDIR+'/myppmfile.ppm'); +assert_checktrue(a(1)>10); diff --git a/modules/graphic_export/tests/unit_tests/emf_non_empty_file.dia.ref b/modules/graphic_export/tests/unit_tests/emf_non_empty_file.dia.ref new file mode 100755 index 000000000..464eb3abc --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/emf_non_empty_file.dia.ref @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2014 - Scilab Enterprises - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// test to check that generated files are not empty +// create some data to export +scf(); +plot2d; +plot3d; +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; +// vectorial export +// check that file size is greater than 80K +// increase minimum size +minimumSize = 80000; +xs2emf(figIndex, TMPDIR+"/textExport.emf") +fileSize = fileinfo(TMPDIR+"/textExport.emf"); +if (fileSize(1) < minimumSize) then bugmes();quit;end; +mdelete(TMPDIR+"/textExport.emf"); diff --git a/modules/graphic_export/tests/unit_tests/emf_non_empty_file.tst b/modules/graphic_export/tests/unit_tests/emf_non_empty_file.tst new file mode 100755 index 000000000..d890c6806 --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/emf_non_empty_file.tst @@ -0,0 +1,30 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2014 - Scilab Enterprises - Calixte DENIZET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> + +// test to check that generated files are not empty + +// create some data to export +scf(); +plot2d; +plot3d; + +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; + + +// vectorial export +// check that file size is greater than 80K +// increase minimum size +minimumSize = 80000; + +xs2emf(figIndex, TMPDIR+"/textExport.emf") +fileSize = fileinfo(TMPDIR+"/textExport.emf"); +if (fileSize(1) < minimumSize) then pause; end; +mdelete(TMPDIR+"/textExport.emf");
\ No newline at end of file diff --git a/modules/graphic_export/tests/unit_tests/eps_non_empty_file.dia.ref b/modules/graphic_export/tests/unit_tests/eps_non_empty_file.dia.ref new file mode 100755 index 000000000..4fb121387 --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/eps_non_empty_file.dia.ref @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// test to check that generated files are not empty +// create some data to export +scf(); +plot2d; +plot3d; +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; +// vectorial export +// check that file size is greater than 100K +// increase minimum size +minimumSize = 100000; +xs2eps(figIndex, TMPDIR+"/textExport.eps") +fileSize = fileinfo(TMPDIR+"/textExport.eps"); +if (fileSize(1) < minimumSize) then bugmes();quit;end; +mdelete(TMPDIR+"/textExport.eps"); diff --git a/modules/graphic_export/tests/unit_tests/eps_non_empty_file.tst b/modules/graphic_export/tests/unit_tests/eps_non_empty_file.tst new file mode 100755 index 000000000..a28d79c52 --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/eps_non_empty_file.tst @@ -0,0 +1,30 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> + +// test to check that generated files are not empty + +// create some data to export +scf(); +plot2d; +plot3d; + +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; + + +// vectorial export +// check that file size is greater than 100K +// increase minimum size +minimumSize = 100000; + +xs2eps(figIndex, TMPDIR+"/textExport.eps") +fileSize = fileinfo(TMPDIR+"/textExport.eps"); +if (fileSize(1) < minimumSize) then pause; end; +mdelete(TMPDIR+"/textExport.eps");
\ No newline at end of file diff --git a/modules/graphic_export/tests/unit_tests/gif_non_empty_file.dia.ref b/modules/graphic_export/tests/unit_tests/gif_non_empty_file.dia.ref new file mode 100755 index 000000000..e0b544fda --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/gif_non_empty_file.dia.ref @@ -0,0 +1,22 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// test to check that generated files are not empty +// create some data to export +scf(); +plot2d; +plot3d; +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; +// check that file size is greater than 10K +minimumSize = 10000; +// gif format +xs2gif(figIndex, TMPDIR+"/textExport.gif") +fileSize = fileinfo(TMPDIR+"/textExport.gif"); +if (fileSize(1) < minimumSize) then bugmes();quit;end; +mdelete(TMPDIR+"/textExport.gif"); diff --git a/modules/graphic_export/tests/unit_tests/gif_non_empty_file.tst b/modules/graphic_export/tests/unit_tests/gif_non_empty_file.tst new file mode 100755 index 000000000..fcc8ece8e --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/gif_non_empty_file.tst @@ -0,0 +1,29 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> + +// test to check that generated files are not empty + +// create some data to export +scf(); +plot2d; +plot3d; + +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; + +// check that file size is greater than 10K +minimumSize = 10000; + +// bitmap export +// gif format +xs2gif(figIndex, TMPDIR+"/textExport.gif") +fileSize = fileinfo(TMPDIR+"/textExport.gif"); +if (fileSize(1) < minimumSize) then pause; end; +mdelete(TMPDIR+"/textExport.gif");
\ No newline at end of file diff --git a/modules/graphic_export/tests/unit_tests/jpg_non_empty_file.dia.ref b/modules/graphic_export/tests/unit_tests/jpg_non_empty_file.dia.ref new file mode 100755 index 000000000..095c6fe8d --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/jpg_non_empty_file.dia.ref @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// test to check that generated files are not empty +// create some data to export +scf(); +plot2d; +plot3d; +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; +// check that file size is greater than 10K +minimumSize = 10000; +// bitmap export +//jpg format +xs2jpg(figIndex, TMPDIR+"/textExport.jpg") +fileSize = fileinfo(TMPDIR+"/textExport.jpg"); +if (fileSize(1) < minimumSize) then bugmes();quit;end; +mdelete(TMPDIR+"/textExport.jpg"); diff --git a/modules/graphic_export/tests/unit_tests/jpg_non_empty_file.tst b/modules/graphic_export/tests/unit_tests/jpg_non_empty_file.tst new file mode 100755 index 000000000..329dcd615 --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/jpg_non_empty_file.tst @@ -0,0 +1,32 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> + +// test to check that generated files are not empty + +// create some data to export +scf(); +plot2d; +plot3d; + +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; + +// check that file size is greater than 10K +minimumSize = 10000; + +// bitmap export +//jpg format +xs2jpg(figIndex, TMPDIR+"/textExport.jpg") +fileSize = fileinfo(TMPDIR+"/textExport.jpg"); +if (fileSize(1) < minimumSize) then pause; end; +mdelete(TMPDIR+"/textExport.jpg"); + + + diff --git a/modules/graphic_export/tests/unit_tests/pdf_non_empty_file.dia.ref b/modules/graphic_export/tests/unit_tests/pdf_non_empty_file.dia.ref new file mode 100755 index 000000000..a1e2657cb --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/pdf_non_empty_file.dia.ref @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// test to check that generated files are not empty +// create some data to export +scf(); +plot2d; +plot3d; +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; +// vectorial export +// check that file size is greater than 80K +// increase minimum size +minimumSize = 80000; +xs2pdf(figIndex, TMPDIR+"/textExport.pdf") +fileSize = fileinfo(TMPDIR+"/textExport.pdf"); +if (fileSize(1) < minimumSize) then bugmes();quit;end; +mdelete(TMPDIR+"/textExport.pdf"); diff --git a/modules/graphic_export/tests/unit_tests/pdf_non_empty_file.tst b/modules/graphic_export/tests/unit_tests/pdf_non_empty_file.tst new file mode 100755 index 000000000..342bb0c14 --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/pdf_non_empty_file.tst @@ -0,0 +1,30 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> + +// test to check that generated files are not empty + +// create some data to export +scf(); +plot2d; +plot3d; + +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; + + +// vectorial export +// check that file size is greater than 80K +// increase minimum size +minimumSize = 80000; + +xs2pdf(figIndex, TMPDIR+"/textExport.pdf") +fileSize = fileinfo(TMPDIR+"/textExport.pdf"); +if (fileSize(1) < minimumSize) then pause; end; +mdelete(TMPDIR+"/textExport.pdf");
\ No newline at end of file diff --git a/modules/graphic_export/tests/unit_tests/png_non_empty_file.dia.ref b/modules/graphic_export/tests/unit_tests/png_non_empty_file.dia.ref new file mode 100755 index 000000000..19db21c92 --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/png_non_empty_file.dia.ref @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// test to check that generated files are not empty +// create some data to export +scf(); +plot2d; +plot3d; +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; +// check that file size is greater than 10K +minimumSize = 10000; +// bitmap export +// png format +xs2png(figIndex, TMPDIR+"/textExport.png") +fileSize = fileinfo(TMPDIR+"/textExport.png"); +if (fileSize(1) < minimumSize) then bugmes();quit;end; +mdelete(TMPDIR+"/textExport.png"); diff --git a/modules/graphic_export/tests/unit_tests/png_non_empty_file.tst b/modules/graphic_export/tests/unit_tests/png_non_empty_file.tst new file mode 100755 index 000000000..71deeba28 --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/png_non_empty_file.tst @@ -0,0 +1,29 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> + +// test to check that generated files are not empty + +// create some data to export +scf(); +plot2d; +plot3d; + +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; + +// check that file size is greater than 10K +minimumSize = 10000; + +// bitmap export +// png format +xs2png(figIndex, TMPDIR+"/textExport.png") +fileSize = fileinfo(TMPDIR+"/textExport.png"); +if (fileSize(1) < minimumSize) then pause; end; +mdelete(TMPDIR+"/textExport.png");
\ No newline at end of file diff --git a/modules/graphic_export/tests/unit_tests/ps_non_empty_file.dia.ref b/modules/graphic_export/tests/unit_tests/ps_non_empty_file.dia.ref new file mode 100755 index 000000000..88495efd8 --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/ps_non_empty_file.dia.ref @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// test to check that generated files are not empty +// create some data to export +scf(); +plot2d; +plot3d; +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; +// vectorial export +// check that file size is greater than 10M +// increase minimum size +minimumSize = 100000; +xs2ps(figIndex, TMPDIR+"/textExport.ps") +fileSize = fileinfo(TMPDIR+"/textExport.ps"); +if (fileSize(1) < minimumSize) then bugmes();quit;end; +mdelete(TMPDIR+"/textExport.ps"); diff --git a/modules/graphic_export/tests/unit_tests/ps_non_empty_file.tst b/modules/graphic_export/tests/unit_tests/ps_non_empty_file.tst new file mode 100755 index 000000000..9c467a637 --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/ps_non_empty_file.tst @@ -0,0 +1,29 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> + +// test to check that generated files are not empty + +// create some data to export +scf(); +plot2d; +plot3d; + +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; + +// vectorial export +// check that file size is greater than 100K +// increase minimum size +minimumSize = 100000; + +xs2ps(figIndex, TMPDIR+"/textExport.ps") +fileSize = fileinfo(TMPDIR+"/textExport.ps"); +if (fileSize(1) < minimumSize) then pause; end; +mdelete(TMPDIR+"/textExport.ps");
\ No newline at end of file diff --git a/modules/graphic_export/tests/unit_tests/svg_non_empty_file.dia.ref b/modules/graphic_export/tests/unit_tests/svg_non_empty_file.dia.ref new file mode 100755 index 000000000..2ffb9b6fb --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/svg_non_empty_file.dia.ref @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- TEST WITH GRAPHIC --> +// test to check that generated files are not empty +// create some data to export +scf(); +plot2d; +plot3d; +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; +// vectorial export +// check that file size is greater than 100K +// increase minimum size +minimumSize = 100000; +xs2svg(figIndex, TMPDIR+"/textExport.svg") +fileSize = fileinfo(TMPDIR+"/textExport.svg"); +if (fileSize(1) < minimumSize) then bugmes();quit;end; +mdelete(TMPDIR+"/textExport.svg"); diff --git a/modules/graphic_export/tests/unit_tests/svg_non_empty_file.tst b/modules/graphic_export/tests/unit_tests/svg_non_empty_file.tst new file mode 100755 index 000000000..3c857442e --- /dev/null +++ b/modules/graphic_export/tests/unit_tests/svg_non_empty_file.tst @@ -0,0 +1,30 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Jean-Baptiste SILVY <jean-baptiste.silvy@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- TEST WITH GRAPHIC --> + +// test to check that generated files are not empty + +// create some data to export +scf(); +plot2d; +plot3d; + +// try all kinds of exports +fig = gcf(); +figIndex =fig.figure_id; + + +// vectorial export +// check that file size is greater than 100K +// increase minimum size +minimumSize = 100000; + +xs2svg(figIndex, TMPDIR+"/textExport.svg") +fileSize = fileinfo(TMPDIR+"/textExport.svg"); +if (fileSize(1) < minimumSize) then pause; end; +mdelete(TMPDIR+"/textExport.svg");
\ No newline at end of file |