gCAD3D 2.35
prt_w.c File Reference

write PS PCL5 HPGL file More...

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <GL/gl.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_os.h"
#include "../ut/ut_TX.h"
#include "../gr/ut_GL.h"
#include "../gr/ut_DL.h"
#include "../ut/func_types.h"
#include "../db/ut_DB.h"
#include "../xa/xa_mem.h"
#include "../xa/xa.h"
#include "../exp/prt_w.h"

Functions

int AP_print_work2 (GLint size, GLfloat *buffer)
 
int AP_print_pcl5h (FILE *fp1, char *ptyp, int irot)
 
int AP_print_pcl5e (FILE *fp1)
 
int AP_print_TEST_LN (float x1, float y1, float x2, float y2, int iatt)
 
int AP_print__ ()
 
int AP_print_work2 (int size, float *buffer)
 
int AP_print_work3 ()
 
int AP_print_vertex (FILE *fpo, int *count, float *buffer)
 
int AP_print_pdf (int irot, char *pgTyp, char *off, char *scl, char *gray)
 
int AP_print_psv2 (int irot, char *off, char *scl, char *gray)
 
int AP_print_psv3 (int irot, char *off, char *scl, char *gray)
 
int AP_print_gl1 (int mode, char *ptyp, int irot, char *off, char *scl)
 

Detailed Description

write PS PCL5 HPGL file

=====================================================
List_functions_start:
AP_print_work2 wr GL_2D-Feedbackbuffer -> tempfile
AP_print_work3 wr GL_3D_COLOR-Feedbackbuffer -> tempfile
AP_print_gl1 wr 0=PS 1=HPGL 2=PCL5
AP_print_psv2 wr 2D-postcript ".eps"
AP_print_psv3 wr 3D-postcript ".eps" UNUSED (no hidden surface removal)
AP_print_pcl5h wr PCL5-Header
AP_print_pcl5e wr PCL5-ExitCode
AP_print_pdf wr <tempDir>/print.pdf
List_functions_end:
=====================================================
// AP_print_color

Function Documentation

int AP_print_work2 ( GLint  size,
GLfloat *  buffer 
)
int AP_print_pcl5h ( FILE *  fp1,
char *  ptyp,
int  irot 
)
int AP_print_pcl5e ( FILE *  fp1)
int AP_print_TEST_LN ( float  x1,
float  y1,
float  x2,
float  y2,
int  iatt 
)
int AP_print__ ( )
int AP_print_work2 ( int  size,
float *  buffer 
)
int AP_print_work3 ( )
int AP_print_vertex ( FILE *  fpo,
int *  count,
float *  buffer 
)
int AP_print_pdf ( int  irot,
char *  pgTyp,
char *  off,
char *  scl,
char *  gray 
)
int AP_print_psv2 ( int  irot,
char *  off,
char *  scl,
char *  gray 
)
int AP_print_psv3 ( int  irot,
char *  off,
char *  scl,
char *  gray 
)
int AP_print_gl1 ( int  mode,
char *  ptyp,
int  irot,
char *  off,
char *  scl 
)