📄 rgbimutil.hpp
字号:
// $image\rgbimutil.hpp 1.5 milbo$// Warning: this is raw research code -- expect it to be quite messy.#if !defined(rgbimgutil_hpp)#define rgbimgutil_hppvoid MoveRgbImage(RgbImage &Img, // io int nxShift, int nyShift, bool fVerbose=false, bool fExtend=false); // invoid CropRgbImage(RgbImage &Img, // io int nTopCrop, int nBottomCrop, int nLeftCrop, int nRightCrop, // in bool fVerbose=false, bool fWidthDivisibleBy4=false); // invoid CropRgbImageSoWidthIsDivisbleBy4(RgbImage &Img, // io bool fVerbose=false); // invoid FlipRgbImage(RgbImage &Img, // io bool fVertical=false, bool fVerbose=false); // invoid ScaleRgbImage(RgbImage &Img, // io int nNewWidth, int nNewHeight, bool fVerbose=false, bool fBilinear=false); // invoid ConvertGrayImageToRgb(RgbImage &OutImg, // out const Image &Img); // invoid ConvertRgbImageToGray(Image &OutImg, // out const RgbImage &Img); // invoid DrawRectInBmp(RgbImage &Img, // io int ix, int iy, int nxSize, int nySize, unsigned Color); // invoid FillRgbImage(RgbImage &Img, byte Red, byte Green, byte Blue);void __cdecl RgbPrintf(RgbImage &Img, // io int ix, int iy, unsigned Color, int iFontSize, const char *pArgs, ...); // in: args like printfvoid __cdecl RgbEllipse(RgbImage &Img, // io int iLeftRect, // in: x-coord of bounding rectangle's upper-left corner int iTopRect, // in: y-coord of bounding rectangle's upper-left corner int iRightRect, // in: x-coord of bounding rectangle's lower-right corner int iBottomRect, // in: y-coord of bounding rectangle's lower-right corner unsigned Red, unsigned Green, unsigned Blue); // in#endif // rgbimgutil_hpp
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -