mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Advanced blending
This commit is contained in:
@ -509,6 +509,8 @@ public:
|
||||
using value_ptr = value_type*;
|
||||
using const_value_type = const value_type;
|
||||
using const_value_ptr = const_value_type*;
|
||||
using value_ref = value_type&;
|
||||
using const_value_ref = const value_ref;
|
||||
|
||||
explicit inline PDFBuffer() :
|
||||
m_begin(nullptr),
|
||||
@ -533,6 +535,9 @@ public:
|
||||
inline const_value_ptr cbegin() const { return m_begin; }
|
||||
inline const_value_ptr cend() const { return m_end; }
|
||||
|
||||
inline value_ref operator[](size_t index) { return *(m_begin + index); }
|
||||
inline const_value_ref operator[](size_t index) const { return *(m_begin + index); }
|
||||
|
||||
size_t size() const { return m_end - m_begin; }
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user