src/textord/textlineprojection.cpp
void TextlineProjection::TransformToPixCoords(const DENORM *denorm, TPOINT *pt) const {
  if (denorm != nullptr) {
    // Denormalize the point.
    denorm->DenormTransform(nullptr, *pt, pt);
  }
  pt->x = ImageXToProjectionX(pt->x);
  pt->y = ImageYToProjectionY(pt->y);
}
// Helper denormalizes the TPOINT with the denorm if not nullptr, then
// converts to pix_ coordinates.
Helper denormalizes the TPOINT with the denorm if not nullptr, then
converts to pix_ coordinates.
Helper denormalizes the TPOINT with the denorm if not nullptr then converts to pix_ coordinates .
void TextlineProjection::TransformToPixCoords(const DENORM *denorm, TPOINT *pt) const {
  if (denorm != nullptr) {
    denorm->DenormTransform(nullptr, *pt, pt);
  }
  pt->x = ImageXToProjectionX(pt->x);
  pt->y = ImageYToProjectionY(pt->y);
}
void TextlineProjection :: TransformToPixCoords ( const DENORM * denorm , TPOINT * pt ) const { if ( denorm != nullptr ) { denorm -> DenormTransform ( nullptr , * pt , pt ) ; } pt -> x = ImageXToProjectionX ( pt -> x ) ; pt -> y = ImageYToProjectionY ( pt -> y ) ; }
Helper denormalizes the TPOINT with the denorm if not nullptr, then
converts to pix_ coordinates.
Helper denormalizes the TPOINT with the denorm if not nullptr then converts to pix_ coordinates .
// Denormalize the point.