orx  stable
Portable Game Engine
orxGraphic.h File Reference
#include "orxInclude.h"
#include "object/orxStructure.h"
#include "display/orxDisplay.h"

Go to the source code of this file.

Macros

#define orxGRAPHIC_KU32_FLAG_2D   0x00000001
 
#define orxGRAPHIC_KU32_FLAG_ALIGN_BOTTOM   0x00000080
 
#define orxGRAPHIC_KU32_FLAG_ALIGN_CENTER   0x00000000
 
#define orxGRAPHIC_KU32_FLAG_ALIGN_LEFT   0x00000010
 
#define orxGRAPHIC_KU32_FLAG_ALIGN_RIGHT   0x00000020
 
#define orxGRAPHIC_KU32_FLAG_ALIGN_ROUND   0x00000200
 
#define orxGRAPHIC_KU32_FLAG_ALIGN_TOP   0x00000040
 
#define orxGRAPHIC_KU32_FLAG_ALIGN_TRUNCATE   0x00000100
 
#define orxGRAPHIC_KU32_FLAG_FLIP_X   0x00000004
 
#define orxGRAPHIC_KU32_FLAG_FLIP_Y   0x00000008
 
#define orxGRAPHIC_KU32_FLAG_NONE   0x00000000
 
#define orxGRAPHIC_KU32_FLAG_TEXT   0x00000002
 
#define orxGRAPHIC_KU32_MASK_FLIP_BOTH   0x0000000C
 
#define orxGRAPHIC_KU32_MASK_TYPE   0x00000003
 
#define orxGRAPHIC_KU32_MASK_USER_ALL   0x00000FFF
 
#define orxGRAPHIC_KZ_CONFIG_ALPHA   "Alpha"
 
#define orxGRAPHIC_KZ_CONFIG_BLEND_MODE   "BlendMode"
 
#define orxGRAPHIC_KZ_CONFIG_COLOR   "Color"
 
#define orxGRAPHIC_KZ_CONFIG_FLIP   "Flip"
 
#define orxGRAPHIC_KZ_CONFIG_HSL   "HSL"
 
#define orxGRAPHIC_KZ_CONFIG_HSV   "HSV"
 
#define orxGRAPHIC_KZ_CONFIG_KEEP_IN_CACHE   "KeepInCache"
 
#define orxGRAPHIC_KZ_CONFIG_PIVOT   "Pivot"
 
#define orxGRAPHIC_KZ_CONFIG_REPEAT   "Repeat"
 
#define orxGRAPHIC_KZ_CONFIG_RGB   "RGB"
 
#define orxGRAPHIC_KZ_CONFIG_SMOOTHING   "Smoothing"
 
#define orxGRAPHIC_KZ_CONFIG_TEXT_NAME   "Text"
 
#define orxGRAPHIC_KZ_CONFIG_TEXTURE_NAME   "Texture"
 
#define orxGRAPHIC_KZ_CONFIG_TEXTURE_ORIGIN   "TextureOrigin"
 
#define orxGRAPHIC_KZ_CONFIG_TEXTURE_SIZE   "TextureSize"
 

Typedefs

typedef struct __orxGRAPHIC_t orxGRAPHIC
 

Functions

orxDLLAPI orxSTATUS orxFASTCALL orxGraphic_ClearColor (orxGRAPHIC *_pstGraphic)
 
orxDLLAPI orxGRAPHIC *orxFASTCALL orxGraphic_Create ()
 
orxDLLAPI orxGRAPHIC *orxFASTCALL orxGraphic_CreateFromConfig (const orxSTRING _zConfigID)
 
orxDLLAPI orxSTATUS orxFASTCALL orxGraphic_Delete (orxGRAPHIC *_pstGraphic)
 
orxDLLAPI void orxFASTCALL orxGraphic_Exit ()
 
orxDLLAPI orxDISPLAY_BLEND_MODE orxFASTCALL orxGraphic_GetBlendMode (const orxGRAPHIC *_pstGraphic)
 
orxDLLAPI orxCOLOR *orxFASTCALL orxGraphic_GetColor (const orxGRAPHIC *_pstGraphic, orxCOLOR *_pstColor)
 
orxDLLAPI orxSTRUCTURE *orxFASTCALL orxGraphic_GetData (const orxGRAPHIC *_pstGraphic)
 
orxDLLAPI orxSTATUS orxFASTCALL orxGraphic_GetFlip (const orxGRAPHIC *_pstGraphic, orxBOOL *_pbFlipX, orxBOOL *_pbFlipY)
 
orxDLLAPI const orxSTRING orxFASTCALL orxGraphic_GetName (const orxGRAPHIC *_pstGraphic)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxGraphic_GetOrigin (const orxGRAPHIC *_pstGraphic, orxVECTOR *_pvOrigin)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxGraphic_GetPivot (const orxGRAPHIC *_pstGraphic, orxVECTOR *_pvPivot)
 
orxDLLAPI orxSTATUS orxFASTCALL orxGraphic_GetRepeat (const orxGRAPHIC *_pstGraphic, orxFLOAT *_pfRepeatX, orxFLOAT *_pfRepeatY)
 
orxDLLAPI orxVECTOR *orxFASTCALL orxGraphic_GetSize (const orxGRAPHIC *_pstGraphic, orxVECTOR *_pvSize)
 
orxDLLAPI orxDISPLAY_SMOOTHING orxFASTCALL orxGraphic_GetSmoothing (const orxGRAPHIC *_pstGraphic)
 
orxDLLAPI orxBOOL orxFASTCALL orxGraphic_HasColor (const orxGRAPHIC *_pstGraphic)
 
orxDLLAPI orxSTATUS orxFASTCALL orxGraphic_Init ()
 
orxDLLAPI orxSTATUS orxFASTCALL orxGraphic_SetBlendMode (orxGRAPHIC *_pstGraphic, orxDISPLAY_BLEND_MODE _eBlendMode)
 
orxDLLAPI orxSTATUS orxFASTCALL orxGraphic_SetColor (orxGRAPHIC *_pstGraphic, const orxCOLOR *_pstColor)
 
orxDLLAPI orxSTATUS orxFASTCALL orxGraphic_SetData (orxGRAPHIC *_pstGraphic, orxSTRUCTURE *_pstData)
 
orxDLLAPI orxSTATUS orxFASTCALL orxGraphic_SetFlip (orxGRAPHIC *_pstGraphic, orxBOOL _bFlipX, orxBOOL _bFlipY)
 
orxDLLAPI orxSTATUS orxFASTCALL orxGraphic_SetOrigin (orxGRAPHIC *_pstGraphic, const orxVECTOR *_pvOrigin)
 
orxDLLAPI orxSTATUS orxFASTCALL orxGraphic_SetPivot (orxGRAPHIC *_pstGraphic, const orxVECTOR *_pvPivot)
 
orxDLLAPI orxSTATUS orxFASTCALL orxGraphic_SetRelativePivot (orxGRAPHIC *_pstGraphic, orxU32 _u32AlignFlags)
 
orxDLLAPI orxSTATUS orxFASTCALL orxGraphic_SetRepeat (orxGRAPHIC *_pstGraphic, orxFLOAT _fRepeatX, orxFLOAT _fRepeatY)
 
orxDLLAPI orxSTATUS orxFASTCALL orxGraphic_SetSize (orxGRAPHIC *_pstGraphic, const orxVECTOR *_pvSize)
 
orxDLLAPI orxSTATUS orxFASTCALL orxGraphic_SetSmoothing (orxGRAPHIC *_pstGraphic, orxDISPLAY_SMOOTHING _eSmoothing)
 
orxDLLAPI void orxFASTCALL orxGraphic_Setup ()
 
orxDLLAPI orxSTATUS orxFASTCALL orxGraphic_UpdateSize (orxGRAPHIC *_pstGraphic)
 

Detailed Description

Date
08/12/2003
Author
iarwa.nosp@m.in@o.nosp@m.rx-pr.nosp@m.ojec.nosp@m.t.org
Todo:
  • Add 3D support

Definition in file orxGraphic.h.


Generated for orx by doxygen 1.5.6