A grayscale pixel with alpha channel.
More...
#include <png.hpp>
|
using | Base = _Base |
| The type base of the samples in this pixel.
|
|
using | Base = _Base |
| The base type used by this sample.
|
|
|
static const std::size_t | Bits = Sample<_Base>::Bits*2 |
|
static const std::size_t | Bits = _Bits |
| The size, in bits, of this sample.
|
|
static const std::size_t | Max = (1 << Bits) - 1 |
| The maximum value that can be used with this sample.
|
|
template<typename _Base = std::uint8_t>
class facade::png::AlphaGrayscalePixel< _Base >
A grayscale pixel with alpha channel.
- Template Parameters
-
_Base | The base type for the sample value. Can be std::uint8_t or std::uint16_t. |
- See also
- facade::png::AlphaGrayscalePixel8Bit
-
facade::png::AlphaGrayscalePixel16Bit
◆ Base
template<typename _Base = std::uint8_t>
The type base of the samples in this pixel.
◆ AlphaGrayscalePixel() [1/3]
template<typename _Base = std::uint8_t>
◆ AlphaGrayscalePixel() [2/3]
template<typename _Base = std::uint8_t>
◆ AlphaGrayscalePixel() [3/3]
template<typename _Base = std::uint8_t>
◆ alpha() [1/2]
template<typename _Base = std::uint8_t>
The alpha channel of this pixel.
◆ alpha() [2/2]
template<typename _Base = std::uint8_t>
The const alpha channel of this pixel.
◆ Bits
template<typename _Base = std::uint8_t>
The documentation for this class was generated from the following file: