Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::paint::detail::image_png Class Reference
Inheritance diagram for nana::paint::detail::image_png:
nana::paint::detail::basic_image_pixbuf nana::paint::image::image_impl_interface nana::noncopyable

Classes

class  png_reader
 

Public Member Functions

bool open (const std::filesystem::path &png_file) override
 
bool open (const void *data, std::size_t bytes) override
 
- Public Member Functions inherited from nana::paint::detail::basic_image_pixbuf
bool alpha_channel () const override
 
bool empty () const override
 
void close () override
 
::nana::size size () const override
 
void paste (const ::nana::rectangle &src_r, graph_reference graph, const point &p_dst) const override
 
void stretch (const ::nana::rectangle &src_r, graph_reference dst, const nana::rectangle &r) const override
 
- Public Member Functions inherited from nana::paint::image::image_impl_interface
virtual ~image_impl_interface ()=0
 
virtual void paste (const nana::rectangle &src_r, graph_reference dst, const point &p_dst) const =0
 
virtual void stretch (const nana::rectangle &src_r, graph_reference dst, const nana::rectangle &r) const =0
 

Additional Inherited Members

- Public Types inherited from nana::paint::image::image_impl_interface
using graph_reference = nana::paint::graphics &
 
- Protected Attributes inherited from nana::paint::detail::basic_image_pixbuf
pixel_buffer pixbuf_
 

Member Function Documentation

bool nana::paint::detail::image_png::open ( const std::filesystem::path &  png_file)
inlineoverridevirtual
bool nana::paint::detail::image_png::open ( const void *  data,
std::size_t  bytes 
)
inlineoverridevirtual