Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00031
00032 #pragma once
00033
00034 #include "../api_display.h"
00035 #include "../../Core/System/sharedptr.h"
00036 #include "../../Core/Signals/callback_1.h"
00037
00038 class CL_Size;
00039 class CL_Rect;
00040 class CL_ImageImportDescription_Impl;
00041 class CL_PixelBuffer;
00042
00047 class CL_API_DISPLAY CL_ImageImportDescription
00048 {
00051 public:
00053 CL_ImageImportDescription();
00054
00055 ~CL_ImageImportDescription();
00056
00060 public:
00061
00063 bool get_premultiply_alpha() const;
00064
00066 bool flip_vertical() const;
00067
00071 public:
00076 CL_PixelBuffer process(CL_PixelBuffer &image) const;
00077
00081 void set_premultiply_alpha(bool enable);
00082
00086 void set_flip_vertical(bool enable);
00087
00091 public:
00097 CL_Callback_1<CL_PixelBuffer, CL_PixelBuffer &> &func_process();
00098
00102 private:
00103 CL_SharedPtr<CL_ImageImportDescription_Impl> impl;
00105 };
00106