Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - Português

Change language to:
English - Français - 日本語 -

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.

Ajuda Scilab >> Biblioteca de Gráficos > text > getfont

getfont

Diálogo para selecionar fonte da letra . Função obsoleta.

Seqüência de Chamamento

[fId,fSize]=getfont()
[fId,fSize]=getfont(str)
fnt=getfont()
fnt=getfont(str)
fnt=getfont(S=str,font=[fId,fSize])

Parâmetros

str

caractere (por exemplo: "a")

fId

inteiro, o número da fonte selecionada

fSize

inteiro, o tamanho da fonte selecionada

fnt

vetor [fId,fSize]

Descrição

Esta função, que foi projetada para trabalhar com a função xset, também está obsoleta. Utilize o editor de propriedade ged ao invés.

getfont abre uma janela gráfica para seleção de uma fonte. O usuário deve escolher uma fonte e um tamanho clicando no caractere exibido correspondente. Apertar uma tecla faz com que o caractere exibido mude.

Exemplos

[fId,fSize]=getfont();
xset("font",fId,fSize)
plot2d(0,0,rect=[0 0 10 10],axesflag=0)
xstring(5,5,"string")

Ver Também

<< text text graphics_fonts >>

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:
Wed Oct 05 12:11:50 CEST 2011