Milena (Olena)
User documentation 2.0a Id
Main Page
Related Pages
Modules
Namespaces
Classes
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerator
Groups
Pages
win-create-2.cc
1
#include <mln/core/alias/window2d.hh>
2
#include <mln/convert/to.hh>
3
4
int
main()
5
{
6
using namespace
mln;
7
8
// \{
9
bool
b[9] = { 1, 0, 0,
10
1, 0, 0,
11
1, 0, 0 };
12
13
bool
b2[3][3] = { { 1, 0, 0 },
14
{ 1, 0, 0 },
15
{ 1, 0, 0 } };
16
17
window2d
win = convert::to<window2d>(b);
18
window2d
win2 = convert::to<window2d>(b2);
19
// \}
20
21
}
doc
examples
win-create-2.cc
Generated on Thu Nov 8 2012 10:58:26 for Milena (Olena) by
1.8.2-20120930