boolean PostScriptViews::Emit (ostream& out) { SetPSFonts(); Graphic* g = GetGraphicComp()->GetGraphic(); Transformer* t = SaveTransformer(g); ScaleToPostScriptCoords(g); Comments(out); Prologue(out); Version(out); GridSpacing(out); out << "\n\n%%Page: 1 1\n\n"; out << "Begin\n"; FullGS(out); out << "/originalCTM matrix currentmatrix def\n\n"; boolean status = PreorderView::Definition(out); out << "End " << MARK << " eop\n\n"; out << "showpage\n\n"; Trailer(out); RestoreTransformer(g, t); return status; }
AutoPtr<CTypeStrings> CStringStoreDataType::GetFullCType(void) const { string type = GetAndVerifyVar("_type"); bool full_ns = !type.empty(); if ( type.empty() ) type = GetDefaultCType(); return AutoPtr<CTypeStrings>(new CStringStoreTypeStrings(type,Comments(),full_ns)); }
AutoPtr<CTypeStrings> CAnyContentDataType::GetFullCType(void) const { // TO BE CHANGED ?!! string type = GetAndVerifyVar("_type"); bool full_ns = !type.empty(); if ( type.empty() ) type = GetDefaultCType(); return AutoPtr<CTypeStrings>(new CAnyContentTypeStrings(type,Comments(),full_ns)); }
AutoPtr<CTypeStrings> COctetStringDataType::GetFullCType(void) const { if (x_AsBitString()) { return CBitStringDataType::GetFullCType(); } string charType = GetVar("_char"); if ( charType.empty() ) charType = "char"; return AutoPtr<CTypeStrings>(new CVectorTypeStrings( charType, GetNamespaceName(), this, Comments())); }
AutoPtr<CTypeStrings> CStaticDataType::GetFullCType(void) const { string storage = GetVar("_storage_type"); string type = GetAndVerifyVar("_type"); bool full_ns = !type.empty(); if ( type.empty() ) type = GetDefaultCType(); AutoPtr<CTypeStrings> a(new CStdTypeStrings(type,Comments(),full_ns)); if (!storage.empty()) { a->SetStorageType(storage); } return a; }
void PutFile() { MakeIdentTable(); SortIdentTable(); /* Sort identifiers by size. */ TopBands(); /* Keep only noOfBands bands and put rest in an other group. */ Dimensions(); Scale(); #if PRINT_IDENT_TABLE printIdentTable(); #endif /* Start printing graph. */ Prologue(); output->Fonts(); BorderOutlineBox(); TitleOutlineBox(); TitleText(); CurvesInit(); Key(); Curves(); Axes(); if (showMax) drawMaxValue(maxValue, maxValueStr); if (mflag) Marks(); if (cflag) Comments(); output->Prologue(); return; }
AutoPtr<CTypeStrings> CBitStringDataType::GetFullCType(void) const { return AutoPtr<CTypeStrings>(new CBitStringTypeStrings( GetDefaultCType(), Comments() )); }
AutoPtr<CTypeStrings> CNullDataType::GetFullCType(void) const { return AutoPtr<CTypeStrings>(new CNullTypeStrings(Comments())); }