claw 1.9.0
 
Loading...
Searching...
No Matches
png_writer.cpp File Reference

Implementation of the claw::graphic::png::writer class. More...

#include <claw/graphic/png.hpp>
#include <claw/assert.hpp>
#include <claw/exception.hpp>
Include dependency graph for png_writer.cpp:

Go to the source code of this file.

Functions

void claw__graphic__png__target_manager__write (png_structp png_ptr, png_bytep data, png_size_t length)
 Write data in the ouput stream.
 
void claw__graphic__png__target_manager__flush (png_structp png_ptr)
 Flush the output stream.
 

Detailed Description

Implementation of the claw::graphic::png::writer class.

Author
Julien Jorge

Definition in file png_writer.cpp.

Function Documentation

◆ claw__graphic__png__target_manager__flush()

void claw__graphic__png__target_manager__flush ( png_structp png_ptr)

Flush the output stream.

Parameters
png_ptrInformations about the PNG we are writing.

Definition at line 55 of file png_writer.cpp.

◆ claw__graphic__png__target_manager__write()

void claw__graphic__png__target_manager__write ( png_structp png_ptr,
png_bytep data,
png_size_t length )

Write data in the ouput stream.

Parameters
png_ptrInformations about the PNG we are writing.
data(out) Array of the bytes to write.
lengthNumber of bytes to write.

Definition at line 41 of file png_writer.cpp.