Updated specification for to-be-done implementations
This commit is contained in:
parent
88182bbd71
commit
169a9c4892
22
Src/BMP.h
22
Src/BMP.h
@ -73,20 +73,20 @@ namespace Leonetienne::BmpPP {
|
|||||||
//! Will compare two images for not being exactly identical regarding resolution, bit depth, and pixel values.
|
//! Will compare two images for not being exactly identical regarding resolution, bit depth, and pixel values.
|
||||||
bool operator!=(const BMP& other) const;
|
bool operator!=(const BMP& other) const;
|
||||||
|
|
||||||
//! Will mirror the image horizontally
|
//! Will mirror the image horizontally, and return it as a new image
|
||||||
void MirrorHorizontally();
|
BMP MirrorHorizontally() const;
|
||||||
|
|
||||||
//! Will mirror the image vertically
|
//! Will mirror the image vertically, and return it as a new image
|
||||||
void MirrorVertically();
|
BMP MirrorVertically() const;
|
||||||
|
|
||||||
//! Will rotate the image by 90deg, clockwise
|
//! Will rotate the image by 90deg, clockwise, and return it as a new image
|
||||||
void Rotate90degClockwise();
|
BMP Rotate90degClockwise() const;
|
||||||
|
|
||||||
//! Will rotate the image by 90deg, counterclockwise
|
//! Will rotate the image by 90deg, counterclockwise, and return it as a new image
|
||||||
void Rotate90degCounterclockwise();
|
BMP Rotate90degCounterclockwise() const;
|
||||||
|
|
||||||
//! Will rotate the image by 180deg
|
//! Will rotate the image by 180deg, and return it as a new image
|
||||||
void Rotate180deg();
|
BMP Rotate180deg() const;
|
||||||
|
|
||||||
//! Will convert the images colormode
|
//! Will convert the images colormode
|
||||||
void ConvertColormode(const Colormode& colormode);
|
void ConvertColormode(const Colormode& colormode);
|
||||||
@ -95,7 +95,7 @@ namespace Leonetienne::BmpPP {
|
|||||||
void SwapChannels(const std::size_t& channel1, const std::size_t& channel2);
|
void SwapChannels(const std::size_t& channel1, const std::size_t& channel2);
|
||||||
|
|
||||||
//! Will copy the specified rectangle-area, and return it as a new image
|
//! Will copy the specified rectangle-area, and return it as a new image
|
||||||
BMP Crop(const Eule::Rect& area);
|
BMP Crop(const Eule::Rect& area) const;
|
||||||
|
|
||||||
//! Will fill a specific channel with a value
|
//! Will fill a specific channel with a value
|
||||||
void FillChannel(const std::size_t& channel, const std::uint8_t value);
|
void FillChannel(const std::size_t& channel, const std::uint8_t value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user