| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
пользование как в виде исходного кода, |
| 6 |
з, при соблюдении следующих условий: |
| 7 |
|
| 8 |
го кода должны оставаться указанное |
| 9 |
тот список условий и последующий |
| 10 |
арантий. |
| 11 |
ного кода в документации и/или в |
| 12 |
спространении, должны сохраняться |
| 13 |
ком праве, этот список условий и |
| 14 |
аз от гарантий. |
| 15 |
сотрудников не могут |
| 16 |
тва поддержки и/или продвижения |
| 17 |
з предварительного письменного |
| 18 |
шения. |
| 19 |
|
| 20 |
ТОРСКИХ ПРАВ И/ИЛИ ДРУГИМИ ЛИЦАМИ "КАК |
| 21 |
РАЖЕННЫХ ЯВНО ИЛИ ПОДРАЗУМЕВАЕМЫХ, |
| 22 |
РИГОДНОСТИ ДЛЯ КОНКРЕТНОЙ ЦЕЛИ, НО НЕ |
| 23 |
ПРАВ И НИ ОДНО ДРУГОЕ ЛИЦО, КОТОРОЕ |
| 24 |
НЯТЬ ПРОГРАММУ, НИ В КОЕМ СЛУЧАЕ НЕ |
| 25 |
ОБЩИЕ, СЛУЧАЙНЫЕ, СПЕЦИАЛЬНЫЕ ИЛИ |
| 26 |
ЬЗОВАНИЕМ ИЛИ ПОНЕСЕННЫЕ ВСЛЕДСТВИЕ |
| 27 |
(ВКЛЮЧАЯ ПОТЕРИ ДАННЫХ, ИЛИ ДАННЫЕ, |
| 28 |
ДОХОДОВ, ПОНЕСЕННЫЕ ИЗ-ЗА ДЕЙСТВИЙ |
| 29 |
ТЬ СОВМЕСТНО С ДРУГИМИ ПРОГРАММАМИ, |
| 30 |
ОГРАНИЧИВАЯСЬ ИМИ, ДАЖЕ ЕСЛИ ТАКОЙ |
| 31 |
ВОЗМОЖНОСТИ ТАКИХ УБЫТКОВ И ПОТЕРЬ. |
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
#include <stdio.h> |
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
#include "ccom.h" |
| 62 |
#include "ctiimage.h" |
| 63 |
#include "exc.h" |
| 64 |
#include "recdefs.h" |
| 65 |
#include "negdefs.h" |
| 66 |
#include "rstr.h" |
| 67 |
#include "dpuma.h" |
| 68 |
#include "cpage.h" |
| 69 |
#include "cstr.h" |
| 70 |
#include "rselstr.h" |
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
ройки |
| 76 |
|
| 77 |
|
| 78 |
extern int min_let_h; |
| 79 |
extern int min_let_w; |
| 80 |
|
| 81 |
|
| 82 |
extern int NegRecTYPEE; |
| 83 |
extern double inf_prob; |
| 84 |
|
| 85 |
|
| 86 |
метры |
| 87 |
|
| 88 |
extern int DPIX; |
| 89 |
extern int DPIY; |
| 90 |
extern int Height; |
| 91 |
extern int Width; |
| 92 |
extern double inf_prob; |
| 93 |
extern uchar ImageName[CPAGE_MAXNAME]; |
| 94 |
extern Handle NegRecD; |
| 95 |
extern Handle NegResD; |
| 96 |
extern Handle NegRecDC; |
| 97 |
extern Handle MainWindowD; |
| 98 |
extern Handle RecOneLetter; |
| 99 |
extern Handle PrintResConsole; |
| 100 |
extern Handle hShowNegComps; |
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
|
| 108 |
|
| 109 |
Bool InitNegMas(Rect16**,int); |
| 110 |
Bool InitNegMas(RecVersions**,int); |
| 111 |
Bool InitNegMas(UniVersions**,int); |
| 112 |
Bool InitNegMas(CCOM_comp***,int); |
| 113 |
void DelNegMas(Rect16**); |
| 114 |
void DelNegMas(RecVersions*); |
| 115 |
void DelNegMas(UniVersions*); |
| 116 |
void DelNegMas(CCOM_comp**); |
| 117 |
Bool AddLenNegMas(Rect16**,int&,int); |
| 118 |
Bool AddLenNegMas(CCOM_comp***,int&,int); |
| 119 |
Bool GetMasP(Handle,Rect16,uchar**); |
| 120 |
Bool GetMasP(Rect16*,uchar**); |
| 121 |
Bool NegGetRaster(Handle,Rect16,RecRaster*,Bool); |
| 122 |
void InitRc(Rect16*,int,CCOM_comp *); |
| 123 |
void PrintFrameComp(Handle,Rect16*,int); |
| 124 |
Handle GetNegCCOM(Handle,Rect16*,int); |
| 125 |
void NegRecog(Handle,NegList**,int&,int); |
| 126 |
void NegInvert(RecRaster*,Rect16); |
| 127 |
void SortLetter(Rect16*,int,Bool); |
| 128 |
void ToHoriz(Rect16*,int); |
| 129 |
void NegPrintConsol(uchar*,int); |
| 130 |
void NegPrintConsol(double); |
| 131 |
void NegPrintConsol(int,int,int,int); |
| 132 |
void NegMoveResult(uchar*,int&,int); |
| 133 |
void NegMoveMas(Rect16*,int&,int); |
| 134 |
void PMoveMas(double*,int,int); |
| 135 |
void NegMoveMas(Rotating*,int,int); |
| 136 |
void NegMoveMasR(Rect16*,int&,int); |
| 137 |
void NegPutLetter(uchar*,int&,RecAlt,Bool); |
| 138 |
int GetMediumW(Rect16*,int); |
| 139 |
int GetMediumH(Rect16*,int); |
| 140 |
Bool IfExistA(RecVersions); |
| 141 |
Bool IfGl(uchar); |
| 142 |
Bool IfExistDef(RecVersions); |
| 143 |
Bool IfExistI(RecVersions); |
| 144 |
Bool IfBadResult(uchar*,int); |
| 145 |
Bool IfNegIn(NegList*,int,int,int,int,int); |
| 146 |
void NegDrawRect(Handle,uint32_t,uint32_t,Rect16); |
| 147 |
void NegAr2(uchar*,int,int); |
| 148 |
double NegStrControl(Rect16*,int,Bool,Rect16*); |
| 149 |
double NegRecControl(int); |
| 150 |
int CountLetter(Rect16*,int,Bool); |
| 151 |
int NegGetCountOfStr(Rect16*,int); |
| 152 |
void NegPrintInFile(FILE*,NegList*,int); |
| 153 |
int NegCountNumbers(int); |
| 154 |
void NegSetAlf(char*); |
| 155 |
void DeleteRotateMas(uchar**,int16_t**,int16_t**,uchar**,int**); |
| 156 |
void NegMoveMas(Handle* hCCOM,int n,int num); |
| 157 |
Bool UnifCont(CCOM_handle to,CCOM_handle from); |
| 158 |
void TurnRaster(RecRaster*); |
| 159 |
void TurnOverNeg(RecRaster, uchar*); |
| 160 |
|
| 161 |
|
| 162 |
|