#include "ibguXdraw.h"#include "im.h"Functions | |
| long | fbgxConvertImgx2Img (Widget wgDaExibir, int X0, int Y0, int Tx, int Ty, int Formato, char *Arqsai) |
|
||||||||||||||||||||||||||||||||
|
------------------------------------------------------------------------ NOME: fbgxConvertImgx2Img. DESCRICAO: Converte imagem de uma drawing area em uma imagem de formato padrao (gif, tiff, jpeg e etc). PROTOTIPO: long fbgxConvertImgx2Img(Widget wgDaExibir, int X0, int Y0, int Tx, int Ty, int Formato, char *Arqsai). ENTRADAS : wgDaExibir - drawing area. X0 - abcissa do canto superior esquerdo. Y0 - ordenada do canto superior esquerdo. Tx - tamanho em x da imagem (Se Tamx> tamanho da widget, o tamanho sera o da widget). Ty - tamanho em y da imagem (Se Tamy> tamanho da widget, o tamanho sera o da widget). Formato - formato de saida (0-BMP, 1-PCX, 2-RAS, 3-GIF, 4-SGI, 5-TIFF, 6-JPG, 7-IUP/LED, 8-TGA). Arqsai - nome do arquivo de saida. SAIDAS : fbgxConvertImgx2Img - 0 (OK), 1 (erro). ------------------------------------------------------------------------- |
1.3.5