mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Advanced color spaces
This commit is contained in:
@ -104,6 +104,20 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
T& operator[] (size_t index)
|
||||
{
|
||||
Q_ASSERT(index < size());
|
||||
|
||||
if (index < FlatSize)
|
||||
{
|
||||
return m_flatBlock[index];
|
||||
}
|
||||
else
|
||||
{
|
||||
return m_variableBlock[index - FlatSize];
|
||||
}
|
||||
}
|
||||
|
||||
void clear()
|
||||
{
|
||||
m_flatBlockEndIterator = m_flatBlock.begin();
|
||||
|
Reference in New Issue
Block a user