Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.2 - 日本語

Change language to:
English - Français - Português

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

Scilab help >> Graphics > show_pixmap

show_pixmap

pixmapバッファを画面に送信する

呼び出し手順

show_pixmap()

説明

グラフィックウインドウの pixmap プロパティが "on"の場合, 描画データは画面ではなく,pixmapメモリに送信されます.

show_pixmap()命令はpixmapを画面に送信します.

pixmapモードは滑らかなアニメーションを得るために使用されます. このプロパティはfigureエンティティフィールドの中にあります ( figure_properties参照).

f=gcf();f.pixmap='on'; //pixmapモードを設定
a=gca();a.data_bounds=[0 0; 10 10];
//2つの矩形を構築
xrects([0;10;1;1],5);r1=gce();r1=r1.children;
xrects([0;1;1;1],13);r2=gce();r2=r2.children;
//アニメーションループ
for k=1:1000
  //pixmapバッファに矩形を描画
  move(r1,[0.01,-0.01]);move(r2,[0.01,0.01]) 
  //pixmapバッファを表示
  show_pixmap()
end

参照

作者

Serge Steer INRIA

<< segs_properties Graphics square >>

Copyright (c) 2022-2023 (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 May 12 11:45:57 CEST 2011