| 104 | } |
| 105 | |
| 106 | int vtkGL2PSExporter::GetGL2PSFormat() |
| 107 | { |
| 108 | switch (this->FileFormat) |
| 109 | { |
| 110 | default: |
| 111 | vtkDebugMacro(<< "Invalid output format. Using postscript."); |
| 112 | [[fallthrough]]; |
| 113 | case PS_FILE: |
| 114 | return GL2PS_PS; |
| 115 | case EPS_FILE: |
| 116 | return GL2PS_EPS; |
| 117 | case PDF_FILE: |
| 118 | return GL2PS_PDF; |
| 119 | case TEX_FILE: |
| 120 | return GL2PS_TEX; |
| 121 | case SVG_FILE: |
| 122 | return GL2PS_SVG; |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | const char* vtkGL2PSExporter::GetFileExtension() |
| 127 | { |