2 * Copyright 2006, Ingo Weinhold <bonefish@cs.tu-berlin.de>.
3 * All rights reserved. Distributed under the terms of the MIT License.
10 LayoutInfo::LayoutInfo()
15 LayoutInfo::~LayoutInfo()
21 LayoutInfo::ElementRangeSize(int32 position
, int32 length
)
24 return ElementSize(position
);
26 int lastIndex
= position
+ length
- 1;
27 return ElementLocation(lastIndex
) + ElementSize(lastIndex
)
28 - ElementLocation(position
);