supertux
Canvas Member List

This is the complete list of members for Canvas, including all inherited members.

ABOVE_LIGHTMAP enum value (defined in Canvas)Canvas
ALL enum value (defined in Canvas)Canvas
BELOW_LIGHTMAP enum value (defined in Canvas)Canvas
Canvas(DrawingContext &context, obstack &obst) (defined in Canvas)Canvas
clear() (defined in Canvas)Canvas
draw_center_text(const FontPtr &font, const std::string &text, const Vector &position, int layer, const Color &color=Color(1.0, 1.0, 1.0))Canvas
draw_filled_rect(const Rectf &rect, const Color &color, int layer) (defined in Canvas)Canvas
draw_filled_rect(const Rectf &rect, const Color &color, float radius, int layer) (defined in Canvas)Canvas
draw_gradient(const Color &from, const Color &to, int layer, const GradientDirection &direction, const Rectf &region, const Blend &blend=Blend()) (defined in Canvas)Canvas
draw_inverse_ellipse(const Vector &pos, const Vector &size, const Color &color, int layer) (defined in Canvas)Canvas
draw_line(const Vector &pos1, const Vector &pos2, const Color &color, int layer) (defined in Canvas)Canvas
draw_surface(const SurfacePtr &surface, const Vector &position, int layer) (defined in Canvas)Canvas
draw_surface(const SurfacePtr &surface, const Vector &position, float angle, const Color &color, const Blend &blend, int layer) (defined in Canvas)Canvas
draw_surface_batch(const SurfacePtr &surface, std::vector< Rectf > srcrects, std::vector< Rectf > dstrects, const Color &color, int layer) (defined in Canvas)Canvas
draw_surface_batch(const SurfacePtr &surface, std::vector< Rectf > srcrects, std::vector< Rectf > dstrects, std::vector< float > angles, const Color &color, int layer) (defined in Canvas)Canvas
draw_surface_part(const SurfacePtr &surface, const Rectf &srcrect, const Rectf &dstrect, int layer, const PaintStyle &style=PaintStyle()) (defined in Canvas)Canvas
draw_surface_scaled(const SurfacePtr &surface, const Rectf &dstrect, int layer, const PaintStyle &style=PaintStyle()) (defined in Canvas)Canvas
draw_text(const FontPtr &font, const std::string &text, const Vector &position, FontAlignment alignment, int layer, const Color &color=Color(1.0, 1.0, 1.0)) (defined in Canvas)Canvas
draw_triangle(const Vector &pos1, const Vector &pos2, const Vector &pos3, const Color &color, int layer) (defined in Canvas)Canvas
Filter enum name (defined in Canvas)Canvas
get_context() (defined in Canvas)Canvasinline
get_pixel(const Vector &position, const std::shared_ptr< Color > &color_out)Canvas
render(Renderer &renderer, Filter filter) (defined in Canvas)Canvas
~Canvas() (defined in Canvas)Canvas