📄 cvimage.h
字号:
#if !defined(AFX_CVIMAGE_H__AF4EDBD2_6DA6_4570_BE0C_1FDFE1365CF7__INCLUDED_)
#define AFX_CVIMAGE_H__AF4EDBD2_6DA6_4570_BE0C_1FDFE1365CF7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
/////////////////////////////////////////////////////////////////////////////
// CCVimage wrapper class
class CCVimage : public CWnd
{
protected:
DECLARE_DYNCREATE(CCVimage)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0xa9632cbf, 0x48b9, 0x11d3, { 0x99, 0xe, 0x0, 0x60, 0x8, 0x2c, 0x35, 0xe6 } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Attributes
public:
long GetImage();
void SetImage(long);
long GetImageWidth();
long GetImageHeight();
long GetImageDimension();
CString GetFilename();
void SetFilename(LPCTSTR);
BOOL GetIsGrabber();
long GetSerialNumber();
double GetOriginX();
void SetOriginX(double);
double GetOriginY();
void SetOriginY(double);
BOOL GetEntire();
void SetEntire(BOOL);
double GetScaleX();
void SetScaleX(double);
double GetScaleY();
void SetScaleY(double);
double GetAreaX0();
void SetAreaX0(double);
double GetAreaX1();
void SetAreaX1(double);
double GetAreaX2();
void SetAreaX2(double);
double GetAreaY0();
void SetAreaY0(double);
double GetAreaY1();
void SetAreaY1(double);
double GetAreaY2();
void SetAreaY2(double);
BOOL GetResetCS();
void SetResetCS(BOOL);
double GetCsa11();
void SetCsa11(double);
double GetCsa12();
void SetCsa12(double);
double GetCsa21();
void SetCsa21(double);
double GetCsa22();
void SetCsa22(double);
double GetRotationX();
void SetRotationX(double);
double GetRotationY();
void SetRotationY(double);
BOOL GetGrab();
void SetGrab(BOOL);
BOOL GetPingPongEnabled();
void SetPingPongEnabled(BOOL);
// Operations
public:
BOOL SaveImage(LPCTSTR Filename);
BOOL CopyImageToClipboard();
BOOL PasteImageFromClipboard();
BOOL LoadImageByDialog();
BOOL SaveImageByDialog();
BOOL LoadImage(LPCTSTR Filename);
BOOL ScanPlane(long Plane, long Density, BOOL UseCS);
BOOL ScanImage(long Density, BOOL UseCS);
BOOL CreateEmptyImage(long Dimension, long Width, long Height, BOOL ForceOverlay);
BOOL LoadImageByUserDialog(LPCTSTR DefaultPath, LPCTSTR Titel, LPCTSTR Filter);
BOOL SaveImageByUserDialog(LPCTSTR DefaultPath, LPCTSTR Titel, LPCTSTR Filter);
void Lock();
void Unlock();
BOOL Clear(long Plane, double Value);
long DataType(long Plane);
BOOL Snap();
BOOL SaveLossyImage(LPCTSTR Filename, double Quality);
BOOL GetGrab2Status(long Grab2InfoType, double* Grab2Info);
void AboutBox();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CVIMAGE_H__AF4EDBD2_6DA6_4570_BE0C_1FDFE1365CF7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -