OGLplus (0.52.0) a C++ wrapper for OpenGL

xpm.hpp
Go to the documentation of this file.
1 
12 #pragma once
13 #ifndef OGLPLUS_IMAGES_XPM_1107121519_HPP
14 #define OGLPLUS_IMAGES_XPM_1107121519_HPP
15 
16 #include <oglplus/images/image.hpp>
17 
18 #include <istream>
19 
20 namespace oglplus {
21 namespace images {
22 
24 
27 class XPMImage
28  : public Image
29 {
30 public:
32  XPMImage(
33  std::istream& input,
34  bool y_is_up = true,
35  bool x_is_right = true
36  );
37 };
38 
39 } // images
40 } // oglplus
41 
42 #if !OGLPLUS_LINK_LIBRARY || defined(OGLPLUS_IMPLEMENTING_LIBRARY)
43 #include <oglplus/images/xpm.ipp>
44 #endif // OGLPLUS_LINK_LIBRARY
45 
46 #endif // include guard
XPMImage(std::istream &input, bool y_is_up=true, bool x_is_right=true)
Load the image from the specified input stream.
Wrapper for (texture) image data.
Definition: image.hpp:45
Loader of images in the XPM (X Pix Map) format.
Definition: xpm.hpp:27
Image data wrapper.

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).