📄 builder.h
字号:
/************************************************************************************************************************************************************** **** equal III the graphic builder **** **** Copyright (C) 2003 Oleksiy Pylypenko **** **** This file may be distributed and/or modified under the terms of the **** GNU General Public License version 2 as published by the Free Software **** Foundation and appearing in the file license included in the **** packaging of this file. **** **** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE **** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. **** **** Contact earthman@inbox.ru if any conditions of this licensing are **** not clear to you. **** **** ********************************************************************************* *****************************************************************************/#ifndef _BUILDER_H_#define _BUILDER_H_#include "equalcalc.h"class GraphicBuilder{ EqualCalculator calculator; double mathx,mathy;public: class errDefineFunction{}; class errSignError{}; // possibly it's better to make // it a template. // in library version it'll be // needed for sure typedef struct{ double top,left,right,bottom; }DoubleRect; typedef struct{ unsigned int info; }ImageInfo; ImageInfo *image; ImageInfo background; char *mask; DoubleRect scale; int width,height; void MakeADefinition(string command); void DefineAVariable(string name,double *value); void DrawSystem(string system,ImageInfo info); void Init(void); void Free(void); GraphicBuilder(void); ~GraphicBuilder();};#endif //_BUILDER_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -