📄 ps.hpp
字号:
// $common\ps.hpp 1.5 milbo$// Warning: this is raw research code -- expect it to be quite messy.#if !defined(ps_hpp)#define ps_hppvoid PsDocHeader(FILE *pFile, int nPages);void PsPatchNbrPages(const char *sFile, int nPages);void PsDocFooter(FILE *pFile);void PsPageHeader(FILE *pFile, int nPage);void PsPageFooter(FILE *pFile);void __cdecl PsPageTitle(FILE *pFile, const char *pArgs, ...); // args like printfvoid PsScreeDiagram(const Vec &EigVals, int nEigs, bool fLog, // in FILE *pFile, double Scale, const char *sMsg); // invoid PsShapeLabel(const SHAPE &Shape, FILE *pFile, double Scale, const char *sMsg, int i=0, int j=0);void PsShape(const SHAPE &Shape, FILE *pFile, double Scale, unsigned Color, double Width, const char *sMsg, int i=0, int j=0);void PsAnnotatedShape(const SHAPE &Shape, const byte Warnings[], const char *sFile, FILE *pFile, double Scale, unsigned Color, double Width, const char *sMsg, int i=0, int j=0);void PsCircle(double x, double y, double Size, FILE *pFile, double Scale, unsigned Color, double Width);void __cdecl PsPageShapeImage(int *pnPage, bool fAnnotate, bool fWhiskers, bool fFooter, SHAPE Shape, const tLand Lands[], const SHAPE &AlignedAvShape, const Image &Img, const char sPsFile[], FILE *pPsFile, double PsScale, unsigned Color, double Width, int nSamplePoints, const char *pArgs, ...); // args like printfvoid PsShapeWithWhiskers(const SHAPE &Shape, bool fAnnotate, // in const byte Warnings[], int nSamplePoints, // in const char *sFile, FILE *pFile, // in double Scale, unsigned Color, double Width, double ProfAngle, // in const tLand Lands[], // in const SHAPE &AlignedAvShape, // in const char *sMsg, int i=0, int j=0); // invoid PsShapes(int *pnPage, // io char sPageTitle[], char sShapeLabel[], // in const SHAPE *aShapes, int nShapes, // in const char *sFile, FILE *pFile, // in unsigned Color, double Width); // invoid PsImage(const Image &Img, double Scale, FILE *pFile, const char *sMsg);void PsRgbImage(const RgbImage &Img, double Scale, FILE *pFile, const char *sMsg);void PsShapesImagesOnPage(int *pnPage, // io char **asImageNames, Image aImages[], // in const SHAPE *aShapes, // in int nShapes, const char *sPsFile, FILE *pPsFile, int nPsImageFlag); // invoid PsDrawMiddleCross(FILE *pFile, double Scale);void __cdecl PsSetPageHeader(const char *pArgs, ...); // args like printfvoid PsAllShapes(const SHAPE aShapes[], Image aImages[], char *saTags[], int nShapes, const SHAPE &AvShape, const tLand Lands[], int nProfPoints);double EstPsScale(const SHAPE *aShapes, int nShapes, double Factor);double EstPsScale (const SHAPE Shape, double Factor);void CheckShape(byte Warnings[], // out bool fWriteWarnings, // in const SHAPE &Shape, const char *sMsg, int iParam=0, int jParam=0); // invoid CheckShapes(byte *aWarnings[], // out: bits set for warnings bool fWriteWarnings, // in const SHAPE *aShapes, int nShapes, const char *sMsg); // in#endif // ps_hpp
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -