Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
calculate_pitch.h File Reference

(08e24b2ba6847221abd35e9b994206b764d6b322)

#include <stdint.h>
#include <optional>
Include dependency graph for calculate_pitch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fxge

Functions

std::optional< uint32_t > fxge::CalculatePitch8 (uint32_t bits_per_component, uint32_t components_per_pixel, int width_in_pixels)
std::optional< uint32_t > fxge::CalculatePitch32 (int bits_per_pixel, int width_in_pixels)
uint32_t fxge::CalculatePitch8OrDie (uint32_t bits_per_component, uint32_t components_per_pixel, int width_in_pixels)
uint32_t fxge::CalculatePitch32OrDie (int bits_per_pixel, int width_in_pixels)