OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::png::ImageColorscale Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/PNGReadWrite.hpp>

Inheritance diagram for Slic3r::png::ImageColorscale:
Collaboration diagram for Slic3r::png::ImageColorscale:

Public Member Functions

unsigned char get (size_t row, size_t col) const

Public Attributes

int bytes_per_pixel
std::vector< unsigned char > buf
size_t rows
size_t cols

Detailed Description

Member Function Documentation

◆ get()

unsigned char Slic3r::png::Image< unsigned char >::get ( size_t row,
size_t col ) const
inlineinherited
25{ return buf[row * cols + col]; }
Definition PNGReadWrite.hpp:22

Member Data Documentation

◆ buf

std::vector<unsigned char> Slic3r::png::Image< unsigned char >::buf
inherited

◆ bytes_per_pixel

int Slic3r::png::ImageColorscale::bytes_per_pixel

◆ cols

size_t Slic3r::png::Image< unsigned char >::cols
inherited

◆ rows

size_t Slic3r::png::Image< unsigned char >::rows
inherited

The documentation for this struct was generated from the following file: