Analiss Numericos Graficacion

Páginas: 2 (263 palabras) Publicado: 24 de septiembre de 2011
GRAFICACION
a) MODO TEXTO

y=25 Renglones

x= 80 columnas
1) Window ( );
Crea ventana
Void window (int left, int top, int right, int botton);
Ejemplo:Window (10,20,70,4);
2) clreol ();
Clear and of the line. Limpia el final de la linea
Ejemplo:
clreol();
3) delline();
Borra una linea
Ejemplo:
delline();
4) insline();Inserta una línea
Ejemplo:
insline();
5) cprintf();
Imprime texto
Ejemplo:
cprintf(“texto”);
6) cputs();
Escribe una cadena
Ejemplo:
cputs(“cadena o string”);
7) putch();Escribe un carácter
Ejemplo:
putch(“carácter);
8) cgets();
Lee una cadena
Ejemplo:
cgets(cadena);

9) getchar();
Lee un carácter
Ejemplo:
getchar();
10) textmode ();
Activael adaptador de video de 25 X 80
Ejemplo:
textmode (C80);
11) textbackgraund();
Da color al fondo
Ejemplo:
textbackgraund(BLUE);
12) textcolor();
Da color al texto
Ejemplo:textcolor(YELLOW);
textcolor(LAST MODE);
FUNCIÓN | MACRO | NOMBRE MACRO |
textbackgraund | 0 | BLACK |
textbackgraund | 1 | BLUE |
textbackgraund | 2 | GREEN |
textbackgraund | 3 | CYAN |textbackgraund | 4 | RED |
textbackgraund | 5 | MAGENTA |
textbackgraund | 15 | WHITE |
textcolor | 0 | BLACK |
textcolor | 1 | BLUE |
textcolor | 2 | GREEN |
textcolor | 3 | CYAN |textcolor | 4 | RED |
textcolor | 5 | MAGENTA |
textcolor | 6 | BROWN |
textcolor | 7 | LIGHTGRAY |
textcolor | 8 | DARKGRAY |
textcolor | 9 | LIGHTBLUE |
textcolor | 10 | LIGHTGREEN |textcolor | 11 | LIGHTCYAN |
textcolor | 12 | LIGHTRED |
textcolor | 13 | LIGHTMAGENTA |
textcolor | 14 | YELLOW |
textcolor | 15 | WHITE |

b) MODO GRÁFICOy= 480 pixeles

x=640 pixeles
pixel m,n
Librería graphics.h
Archivo:BGI (Borland Graphic Interface)

“RUTINA DE...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • analiss
  • Graficacion
  • Graficacion
  • graficacion
  • Graficacion
  • analiss
  • Analiss
  • Graficacion

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS