Dimension2d

From King Arthur's Gold Wiki
Revision as of 05:40, 28 September 2012 by Verrazano (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Dimension2d types are used for positioning elements such as GUI elements. It is similar to the Vec2f but takes unsigned integers.


Types Description
dimension2di dimension2di ( const uint, const uint )
position2di position2di ( const uint, const uint )

Example

GUI::DrawWindow(recti(position2di(pos.x, pos.y), dimension2di(50, 70)));