#include <surfacenew.h>
Public Member Functions | |
SurfaceChannelLockConst () | |
~SurfaceChannelLockConst () | |
SurfaceChannel | get_channel () const |
int | get_w () const |
int | get_h () const |
float | get_value (int x, int y) |
const float * | get_data_ptr () const |
int | get_data_ptr_stride () const |
void | release_data_ptr () const |
Releases the pointer obtained with get_data_ptr(). | |
operator bool () const | |
Protected Attributes | |
SurfaceNew::Handle | surface_ |
etl::reference_counter | ref_count_ |
SurfaceChannel | channel_ |
bool | data_ptr_checked_out_ |
Friends | |
class | SurfaceNew |
SurfaceChannelLockConst::SurfaceChannelLockConst | ( | ) |
SurfaceChannelLockConst::~SurfaceChannelLockConst | ( | ) |
SurfaceChannel SurfaceChannelLockConst::get_channel | ( | ) | const |
int SurfaceChannelLockConst::get_w | ( | ) | const |
int SurfaceChannelLockConst::get_h | ( | ) | const |
float SurfaceChannelLockConst::get_value | ( | int | x, | |
int | y | |||
) |
const float * SurfaceChannelLockConst::get_data_ptr | ( | ) | const |
int SurfaceChannelLockConst::get_data_ptr_stride | ( | ) | const |
void SurfaceChannelLockConst::release_data_ptr | ( | ) | const |
Releases the pointer obtained with get_data_ptr().
SurfaceChannelLockConst::operator bool | ( | ) | const |
friend class SurfaceNew [friend] |
Reimplemented in synfig::SurfaceChannelLock.
etl::reference_counter synfig::SurfaceChannelLockConst::ref_count_ [protected] |
bool synfig::SurfaceChannelLockConst::data_ptr_checked_out_ [protected] |