start 380 project5
changes to 380 project 4 changes to 350 project 2 Signed-off-by: Amrit Panesar <apanesar@4195tech.com>
This commit is contained in:
1 parent
40ac78074b
commit
39ee821f54
174 files changed
+13356
-80
No files matched your search
@@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
#include "..\GkDefinitions.h"
|
||||
|
||||
#include "GkTexture.h"
|
||||
|
||||
class GKDLLCLASS GkGraphicsDevice
|
||||
{
|
||||
public:
|
||||
|
||||
static void Initialize();
|
||||
|
||||
int maxTextureSize;
|
||||
bool nonPower2Textures;
|
||||
|
||||
int width, height;
|
||||
|
||||
GkGraphicsDevice(void);
|
||||
~GkGraphicsDevice(void);
|
||||
|
||||
void Free();
|
||||
void Clear();
|
||||
|
||||
void Draw(int destX, int destY, int destWidth, int destHeight, int srcX, int srcY, int srcWidth, int srcHeight, GkTexture* texture);
|
||||
void Draw(int x, int y, GkTexture* texture);
|
||||
void DrawClipped(int x, int y, int clipX, int clipY, int clipWidth, int clipHeight, GkTexture* texture);
|
||||
void DrawString(int x, int y, const char *text);
|
||||
void DrawString(int x, int y, const wchar_t *text);
|
||||
void SetViewport(int x, int y, int width, int height);
|
||||
|
||||
bool CaptureScreen(const wchar_t *fileName, int width, int height);
|
||||
};
|
||||
Reference in new issue
Block a user