#include "HxImageRep.h"
Go to the source code of this file.
Functions | |
HxImageRep L_HXIMAGEREP | HxScale (HxImageRep img, double sx, double sy, double sz, HxGeoIntType gi, int adjustSize) |
Scaling. More... |
|
Scaling.
00016 { 00017 if (img.dimensionality() == 2) { 00018 HxMatrix m = HxMatrix::scale2d(sx, sy); 00019 return img.geometricOp2d(m, gi, FORWARD, adjustSize); 00020 } else { 00021 HxEnvironment::instance()->errorStream() 00022 << "3d scaling not implemented yet" << STD_ENDL; 00023 HxEnvironment::instance()->flush(); 00024 return HxImageRep(); 00025 } 00026 } |