EBST_CAM
Loading...
Searching...
No Matches
Direct2dViewer.h File Reference

Direct2d Viewer for bitmaps. More...

#include <Windows.h>
#include <Windowsx.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <wchar.h>
#include <math.h>
#include <string>
#include <d2d1.h>
#include <d2d1helper.h>
#include <dwrite.h>
#include <wincodec.h>
#include <d2d1_1.h>

Go to the source code of this file.

Classes

class  Direct2dViewer
 

Macros

#define WINVER   0x0700
 
#define _WIN32_WINNT   0x0A00
 
#define UNICODE
 
#define WIN32_LEAN_AND_MEAN
 
#define Assert(b)
 
#define HINST_THISCOMPONENT   ((HINSTANCE)&__ImageBase)
 
#define WM_2DVIEWER_CLOSED   (WM_USER + 0x0001)
 

Functions

template<class Interface>
void SafeRelease (Interface **ppInterfaceToRelease)
 

Variables

EXTERN_C IMAGE_DOS_HEADER __ImageBase
 

Detailed Description

Direct2d Viewer for bitmaps.

This file was created by using Microsofts example "SimpleDirect2DApplication", originally released under MIT license. https://github.com/microsoft/Windows-classic-samples/tree/master/Samples/Win7Samples/multimedia/Direct2D/SimpleDirect2DApplication

Author
Florian Hahn
Date
30.09.2019

Macro Definition Documentation

◆ _WIN32_WINNT

#define _WIN32_WINNT   0x0A00

◆ Assert

#define Assert ( b)

◆ HINST_THISCOMPONENT

#define HINST_THISCOMPONENT   ((HINSTANCE)&__ImageBase)

◆ UNICODE

#define UNICODE

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

◆ WINVER

#define WINVER   0x0700

◆ WM_2DVIEWER_CLOSED

#define WM_2DVIEWER_CLOSED   (WM_USER + 0x0001)

Function Documentation

◆ SafeRelease()

template<class Interface>
void SafeRelease ( Interface ** ppInterfaceToRelease)
inline

Variable Documentation

◆ __ImageBase

EXTERN_C IMAGE_DOS_HEADER __ImageBase