22 #ifndef BLADERUNNER_SHAPE_H 23 #define BLADERUNNER_SHAPE_H 25 #include "common/array.h" 26 #include "common/str.h" 30 class SeekableReadStream;
39 class BladeRunnerEngine;
50 void drawFilledTriangleAux(
Graphics::Surface &surface,
const int &dst_x,
const int &dst_y,
int x1,
int y1,
int x2,
int y2,
int x3,
int y3, uint32 colorRGB)
const;
55 void draw(
Graphics::Surface &surface,
int x,
int y, uint16 drawModeBitFlags = 0)
const;
57 int getWidth()
const {
return _width; }
58 int getHeight()
const {
return _height; }
73 const Shape *
get(uint32 index)
const {
74 assert(index < _shapes.
size());
75 return &_shapes[index];
Definition: algorithm.h:29
Definition: formatinfo.h:28
size_type size() const
Definition: array.h:315
Definition: bladerunner.h:113