#include "mfcpch.h"
#include "blckerr.h"
#include "linlsq.h"
#include "werd.h"
Go to the source code of this file.
#define CHILD_COLOUR BROWN |
#define FIRST_COLOUR RED |
* (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** http://www.apache.org/licenses/LICENSE-2.0 ** Unless required by applicable law or agreed to in writing, software ** distributed under the License is distributed on an "AS IS" BASIS, ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ** See the License for the specific language governing permissions and ** limitations under the License.
Definition at line 25 of file werd.cpp.
Referenced by WERD::plot().
#define LAST_COLOUR AQUAMARINE |
int word_comparator | ( | const void * | word1p, | |
const void * | word2p | |||
) |
Definition at line 962 of file werd.cpp.
References WERD::bounding_box(), and BOX::left().
Referenced by re_segment_word(), ROW::recalc_bounding_box(), and tidy_up().
00965 { 00966 WERD * 00967 word1 = *(WERD **) word1p; 00968 WERD * 00969 word2 = *(WERD **) word2p; 00970 00971 return word1->bounding_box ().left () - word2->bounding_box ().left (); 00972 }
const ERRCODE CANT_SCALE_EDGESTEPS |
Initial value:
"Attempted to scale an edgestep format word"
Definition at line 30 of file werd.cpp.
Referenced by WERD::scale().