Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.1 - Français

Change language to:
English - 日本語 - Português

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Aide Scilab >> Bibliothèque graphique > show_pixmap

show_pixmap

send the pixmap buffer to the screen

Calling Sequence

show_pixmap()

Description

If a graphic window pixmap property is "on" the drawings are send to a pixmap memory instead of the screen display.

The show_pixmap() instruction send the pixmap to the screen.

The pixmap mode can be used to obtain smooth animations. This property can be found among the figure entity fields (see figure_properties).

Examples

f=gcf();f.pixmap='on'; //set the pixmap mode
a=gca();a.data_bounds=[0 0; 10 10];
//construct two rectangles
xrects([0;10;1;1],5);r1=gce();r1=r1.children;
xrects([0;1;1;1],13);r2=gce();r2=r2.children;
//animation loop
for k=1:1000
  //draw the rectangles in the pixmap buffer
  move(r1,[0.01,-0.01]);move(r2,[0.01,0.01]) 
  //show the pixmap buffer
  show_pixmap()
end

See Also

Authors

Serge Steer INRIA

<< segs_properties Bibliothèque graphique twinkle >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Mar 03 11:00:14 CET 2011