⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 canvas.h

📁 用数据库ACCESS和VISUAL C++编程
💻 H
字号:
#if !defined(AFX_CANVAS_H__45C7C062_6F01_4187_914A_B06985E8C2EE__INCLUDED_)
#define AFX_CANVAS_H__45C7C062_6F01_4187_914A_B06985E8C2EE__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.


// Dispatch interfaces referenced by this interface
class COleFont;
class CPicture;

/////////////////////////////////////////////////////////////////////////////
// CCanvas wrapper class

class CCanvas : public COleDispatchDriver
{
public:
	CCanvas() {}		// Calls COleDispatchDriver default constructor
	CCanvas(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	CCanvas(const CCanvas& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:

// Operations
public:
	unsigned long GetForeColor();
	void SetForeColor(unsigned long newValue);
	unsigned long GetBackColor();
	void SetBackColor(unsigned long newValue);
	COleFont GetFont();
	void SetFont(LPDISPATCH newValue);
	void SetRefFont(LPDISPATCH* newValue);
	short GetAlignment();
	void SetAlignment(short nNewValue);
	void DrawLine(long x1, long y1, long x2, long y2);
	void DrawRect(long left, long top, long width, long height);
	void TextOut(LPCTSTR text, long x, long y);
	void DrawText(LPCTSTR text, long x, long y, long width, long height);
	long GetTextAngle();
	void SetTextAngle(long nNewValue);
	short GetVerticalAlignment();
	void SetVerticalAlignment(short nNewValue);
	short GetPenStyle();
	void SetPenStyle(short nNewValue);
	short GetPenWidth();
	void SetPenWidth(short nNewValue);
	long GetBackStyle();
	void SetBackStyle(long nNewValue);
	void DrawEllipse(long left, long top, long width, long height);
	void DrawRoundRect(long left, long top, long width, long height, long w, long h);
	void FillRect(long left, long top, long width, long height);
	void MeasureText(LPCTSTR text, long* width, long* height);
	void IntersectClipRect(long x, long y, long w, long h);
	void PushClipRect();
	void PopClipRect();
	VARIANT GetTag();
	void SetTag(const VARIANT& newValue);
	void Save(LPCTSTR FileName);
	void Load(LPCTSTR FileName);
	void Overlay(LPDISPATCH Canvas);
	void Clear();
	long GetWidth();
	void SetWidth(long nNewValue);
	long GetHeight();
	void SetHeight(long nNewValue);
	void DrawPicture(LPDISPATCH Picture, long left, long top, long width, long height);
	long GetOrientation();
	void SetOrientation(long nNewValue);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CANVAS_H__45C7C062_6F01_4187_914A_B06985E8C2EE__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -