<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>This release should answer to display-scaling issues encountered
by Ted & Philipp.</p>
<p>Regards<br>
Samuel<br>
</p>
<div class="moz-cite-prefix">
<pre style="color: rgb(91, 89, 80); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><a class="moz-txt-link-freetext" href="https://atoms.scilab.org/toolboxes/gui2bitmap">https://atoms.scilab.org/toolboxes/gui2bitmap</a>
CHANGES 1.1 => 1.2
==================
* "setMenu", "setScale" and "setBorders" syntaxes added.
* gui2bitmap() now works as well on Linux (and MacOS X: not tested)
* Unit tests added.
* Tested on Windows 7 1920x1080 (with scale = 100|125|150%), 1600x900, 1280x720
* Tested on Linux Fedora 24
SYNTAXES
--------
gui2bitmap(idFig, filename)
gui2bitmap(idFig, filename, withBorders)
gui2bitmap("setMenu", parentHandle)
gui2bitmap("setBorders", borders)
gui2bitmap("setScale", scale)
with:
idFig : handle of the figure
filename : pathname to the output image file
withBorders: boolean
borders : vector of 3 booleans
[left_border, bottom_border, right_border]
scale : Screen display zoom factor, in percentage
</pre>
<br class="Apple-interchange-newline">
</div>
<div class="moz-cite-prefix">Le 02/08/2019 à 14:29, Samuel Gougeon a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:5520557c-56cf-99e7-dd29-63fc1b8dc981@free.fr">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Hello, <br>
</p>
<p> I am glad to announce the first release of the <i>gui2bitmat</i>
package :<br>
<a class="moz-txt-link-freetext"
href="https://atoms.scilab.org/toolboxes/gui2bitmap"
moz-do-not-send="true">https://atoms.scilab.org/toolboxes/gui2bitmap</a><br>
<br>
gui2bitmap() aims to export into a .png | .jpg | .gif | .bmp
bitmap image<br>
any graphical figure or User Interface with interactive
components (uicontrols).<br>
An option allows to get the image of the full window, including
its<br>
border/frame (with its menus bar, tools bar, status bar, and
other bars ;-)<br>
<br>
It is a stand-alone function (no thirdparty needed), easy to use
and easy to maintain<br>
(no hard code to recompile from a Scilab version to next ones).<br>
<br>
It is tested on Windows, but it should run as well on Linux and
MacOS.<br>
It is fully documented.<br>
<br>
Enjoy.<br>
Samuel<br>
</p>
<p>-----------------------<br>
</p>
<div class="atoms_toolbox_title" style="color: rgb(91, 89, 80);
font-family: sans-serif; font-size: 14.4px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration-style: initial;
text-decoration-color: initial;">
<h1 style="color: rgb(95, 95, 95); font-family: Georgia, serif;
font-size: 1.4em; margin: 10px 0px;">gui2bitmap</h1>
</div>
<div style="color: rgb(91, 89, 80); font-family: sans-serif;
font-size: 14.4px; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: 400; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
text-decoration-style: initial; text-decoration-color: initial;
font-style: italic;">get a bitmap image of a graphical figure or
interface, including its uicontrols, nay window borders<br>
<br>
<pre style="color: rgb(91, 89, 80); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">SYNTAXES
--------
gui2bitmap(idFig, filename)
gui2bitmap(idFig, filename, withBorders)
idFig : handle of the figure
filename : pathname to the output image file
withBorders: boolean
</pre>
</div>
</blockquote>
<br>
</body>
</html>