Click here to Skip to main content
15,891,868 members
Articles / Web Development / HTML

Rotate Your Graphics - Advanced Memory Device Context

Rate me:
Please Sign up or sign in to vote.
4.75/5 (7 votes)
17 Jan 2000 121.2K   4K   43  
A memory DC that allows you to rotate your graphics
// TestRotDCDoc.h : interface of the CTestRotDCDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TESTROTDCDOC_H__131121BD_DB81_11D2_BF46_000000000000__INCLUDED_)
#define AFX_TESTROTDCDOC_H__131121BD_DB81_11D2_BF46_000000000000__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000


class CTestRotDCDoc : public CDocument
{
protected: // create from serialization only
	CTestRotDCDoc();
	DECLARE_DYNCREATE(CTestRotDCDoc)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestRotDCDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CTestRotDCDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CTestRotDCDoc)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TESTROTDCDOC_H__131121BD_DB81_11D2_BF46_000000000000__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


Written By
Other JP Morgan Chase
Hong Kong Hong Kong
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions