ManaPlus
Macros | Functions
graphicsdef.hpp File Reference

(1c30ebb)

Go to the source code of this file.

Macros

#define RENDER_GRAPHICSDEF_HPP
 
#define RENDER_GRAPHICSDEF_HPP
 
#define RENDER_GRAPHICSDEF_HPP
 
#define RENDER_GRAPHICSDEF_HPP
 
#define RENDER_GRAPHICSDEF_HPP
 
#define RENDER_GRAPHICSDEF_HPP
 
#define RENDER_GRAPHICSDEF_HPP
 
#define RENDER_GRAPHICSDEF_HPP
 

Functions

void drawImageRect (int x, int y, int w, int h, const ImageRect &restrict imgRect) restrict2 override final
 
void beginDraw () restrict2 override final
 
void endDraw () restrict2 override final
 
void pushClipArea (const Rect &restrict area) restrict2 override final
 
void popClipArea () restrict2 override final
 
void drawRescaledImage (const Image *restrict const image, int dstX, int dstY, const int desiredWidth, const int desiredHeight) restrict2 override final
 
void drawPattern (const Image *restrict const image, const int x, const int y, const int w, const int h) restrict2 override final
 
void drawPatternInline (const Image *restrict const image, const int x, const int y, const int w, const int h) restrict2 A_INLINE
 
void drawRescaledPattern (const Image *restrict const image, const int x, const int y, const int w, const int h, const int scaledWidth, const int scaledHeight) restrict2 override final
 
void calcPattern (ImageVertexes *restrict const vert, const Image *restrict const image, const int x, const int y, const int w, const int h) const restrict2 override final
 
void calcPattern (ImageCollection *restrict const vert, const Image *restrict const image, const int x, const int y, const int w, const int h) const restrict2 override final
 
void calcTileVertexes (ImageVertexes *restrict const vert, const Image *restrict const image, int x, int y) const restrict2 override final A_NONNULL(2
 
void void calcTileCollection (ImageCollection *restrict const vertCol, const Image *restrict const image, int x, int y) restrict2 override final
 
void drawTileVertexes (const ImageVertexes *restrict const vert) restrict2 override final
 
void drawTileCollection (const ImageCollection *restrict const vertCol) restrict2 override final A_NONNULL(2)
 
void updateScreen () restrict2 override final
 
void calcWindow (ImageCollection *restrict const vertCol, const int x, const int y, const int w, const int h, const ImageRect &restrict imgRect) restrict2 override final A_NONNULL(2)
 
void drawRectangle (const Rect &restrict rect) restrict2 override final
 
void fillRectangle (const Rect &restrict rect) restrict2 override final
 
void drawPoint (int x, int y) restrict2 override final
 
void drawLine (int x1, int y1, int x2, int y2) restrict2 override final
 
bool setVideoMode (const int w, const int h, const int scalle, const int bpp, const bool fs, const bool hwaccel, const bool resize, const bool noFrame, const bool allowHighDPI) restrict2 override final
 
void drawImage (const Image *restrict const image, int dstX, int dstY) restrict2 override final
 
void copyImage (const Image *restrict const image, int dstX, int dstY) restrict2 override final
 
void drawImageCached (const Image *restrict const image, int x, int y) restrict2 override final
 
void drawPatternCached (const Image *restrict const image, const int x, const int y, const int w, const int h) restrict2 override final
 
void completeCache () restrict2 override final
 
void calcImageRect (ImageVertexes *restrict const vert, int x, int y, int w, int h, const ImageRect &restrict imgRect) restrict2 A_INLINE
 
void calcPatternInline (ImageVertexes *restrict const vert, const Image *restrict const image, const int x, const int y, const int w, const int h) const restrict2 A_INLINE
 
void calcTileVertexesInline (ImageVertexes *restrict const vert, const Image *restrict const image, int x, int y) const restrict2 A_INLINE A_NONNULL(2
 
void void drawImageInline (const Image *restrict const image, int dstX, int dstY) restrict2 A_INLINE
 

Macro Definition Documentation

◆ RENDER_GRAPHICSDEF_HPP [1/8]

#define RENDER_GRAPHICSDEF_HPP

Definition at line 24 of file sdlgraphics.h.

◆ RENDER_GRAPHICSDEF_HPP [2/8]

#define RENDER_GRAPHICSDEF_HPP

◆ RENDER_GRAPHICSDEF_HPP [3/8]

#define RENDER_GRAPHICSDEF_HPP

◆ RENDER_GRAPHICSDEF_HPP [4/8]

#define RENDER_GRAPHICSDEF_HPP

◆ RENDER_GRAPHICSDEF_HPP [5/8]

#define RENDER_GRAPHICSDEF_HPP

◆ RENDER_GRAPHICSDEF_HPP [6/8]

#define RENDER_GRAPHICSDEF_HPP

◆ RENDER_GRAPHICSDEF_HPP [7/8]

#define RENDER_GRAPHICSDEF_HPP

◆ RENDER_GRAPHICSDEF_HPP [8/8]

#define RENDER_GRAPHICSDEF_HPP

Function Documentation

◆ beginDraw()

void beginDraw ( )
finaloverride

◆ calcImageRect()

void calcImageRect ( ImageVertexes *restrict const  vert,
int  x,
int  y,
int  w,
int  h,
const ImageRect &restrict  imgRect 
)
inlineprivate

◆ calcPattern() [1/2]

void calcPattern ( ImageVertexes *restrict const  vert,
const Image *restrict const  image,
const int  x,
const int  y,
const int  w,
const int  h 
) const
finaloverride

◆ calcPattern() [2/2]

void calcPattern ( ImageCollection *restrict const  vert,
const Image *restrict const  image,
const int  x,
const int  y,
const int  w,
const int  h 
) const
finaloverride

◆ calcPatternInline()

void calcPatternInline ( ImageVertexes *restrict const  vert,
const Image *restrict const  image,
const int  x,
const int  y,
const int  w,
const int  h 
) const
inlineprivate

Referenced by if().

◆ calcTileCollection()

void void calcTileCollection ( ImageCollection *restrict const  vertCol,
const Image *restrict const  image,
int  x,
int  y 
)
finaloverride

Referenced by ScrollArea::calcButton().

◆ calcTileVertexes()

void calcTileVertexes ( ImageVertexes *restrict const  vert,
const Image *restrict const  image,
int  x,
int  y 
) const
finaloverride

◆ calcTileVertexesInline()

void calcTileVertexesInline ( ImageVertexes *restrict const  vert,
const Image *restrict const  image,
int  x,
int  y 
) const
inlineprivate

Referenced by if().

◆ calcWindow()

void calcWindow ( ImageCollection *restrict const  vertCol,
const int  x,
const int  y,
const int  w,
const int  h,
const ImageRect &restrict  imgRect 
)
finaloverride

◆ completeCache()

void completeCache ( )
finaloverride

◆ copyImage()

void copyImage ( const Image *restrict const  image,
int  dstX,
int  dstY 
)
finaloverride

◆ drawImage()

void drawImage ( const Image *restrict const  image,
int  dstX,
int  dstY 
)
finaloverride

◆ drawImageCached()

void drawImageCached ( const Image *restrict const  image,
int  x,
int  y 
)
finaloverride

◆ drawImageInline()

void void drawImageInline ( const Image *restrict const  image,
int  dstX,
int  dstY 
)
inlineprivate

Referenced by if().

◆ drawImageRect()

void drawImageRect ( int  x,
int  y,
int  w,
int  h,
const ImageRect &restrict  imgRect 
)
finaloverride

Draws a rectangle using images. 4 corner images, 4 side images and 1 image for the inside.

◆ drawLine()

void drawLine ( int  x1,
int  y1,
int  x2,
int  y2 
)
finaloverride

◆ drawPattern()

void drawPattern ( const Image *restrict const  image,
const int  x,
const int  y,
const int  w,
const int  h 
)
finaloverride

◆ drawPatternCached()

void drawPatternCached ( const Image *restrict const  image,
const int  x,
const int  y,
const int  w,
const int  h 
)
finaloverride

◆ drawPatternInline()

void drawPatternInline ( const Image *restrict const  image,
const int  x,
const int  y,
const int  w,
const int  h 
)
inline

Referenced by if().

◆ drawPoint()

void drawPoint ( int  x,
int  y 
)
finaloverride

◆ drawRectangle()

void drawRectangle ( const Rect &restrict  rect)
finaloverride

◆ drawRescaledImage()

void drawRescaledImage ( const Image *restrict const  image,
int  dstX,
int  dstY,
const int  desiredWidth,
const int  desiredHeight 
)
finaloverride

Draws a resclaled version of the image

◆ drawRescaledPattern()

void drawRescaledPattern ( const Image *restrict const  image,
const int  x,
const int  y,
const int  w,
const int  h,
const int  scaledWidth,
const int  scaledHeight 
)
finaloverride

◆ drawTileCollection()

void drawTileCollection ( const ImageCollection *restrict const  vertCol)
finaloverride

◆ drawTileVertexes()

void drawTileVertexes ( const ImageVertexes *restrict const  vert)
finaloverride

◆ endDraw()

void endDraw ( )
finaloverride

◆ fillRectangle()

void fillRectangle ( const Rect &restrict  rect)
finaloverride

◆ popClipArea()

void popClipArea ( )
finaloverride

◆ pushClipArea()

void pushClipArea ( const Rect &restrict  area)
finaloverride

◆ setVideoMode()

bool setVideoMode ( const int  w,
const int  h,
const int  scalle,
const int  bpp,
const bool  fs,
const bool  hwaccel,
const bool  resize,
const bool  noFrame,
const bool  allowHighDPI 
)
finaloverride

◆ updateScreen()

void updateScreen ( )
finaloverride