claw 1.9.0
 
Loading...
Searching...
No Matches
image.hpp File Reference

A class to deal with images. More...

#include <claw/graphic/pixel.hpp>
#include <claw/math.hpp>
#include <cstddef>
#include <iostream>
#include <iterator>
#include <vector>
#include <claw/graphic/image.ipp>
Include dependency graph for image.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  claw::graphic::image
 A class to deal with images. More...
 
class  claw::graphic::image::scanline
 One line in the image. More...
 
class  claw::graphic::image::base_iterator< Image, Pixel >
 Base class for iterators on an image. More...
 

Namespaces

namespace  claw
 This is the main namespace.
 
namespace  claw::graphic
 Everything about image structures and processing.
 

Functions

void std::swap (claw::graphic::image &a, claw::graphic::image &b)
 Swap the content of two images.
 

Detailed Description

A class to deal with images.

Author
Julien Jorge

Definition in file image.hpp.

Function Documentation

◆ swap()

void std::swap ( claw::graphic::image & a,
claw::graphic::image & b )

Swap the content of two images.

Parameters
aThe image to swap with b.
bThe image to swap with a.

Definition at line 426 of file image.cpp.