Engauge Digitizer
2
Main Page
Classes
Files
File List
File Members
Cursor
CursorSize.cpp
1
#include "CursorSize.h"
2
#include "EngaugeAssert.h"
3
4
int
CursorSizeToPixels (CursorSize cursorSize)
5
{
6
ENGAUGE_ASSERT (cursorSize < NUM_CURSOR_SIZES);
7
8
switch
(cursorSize) {
9
case
CURSOR_SIZE_16:
10
return
16;
11
12
case
CURSOR_SIZE_32:
13
return
32;
14
15
case
CURSOR_SIZE_48:
16
return
48;
17
18
case
CURSOR_SIZE_64:
19
return
64;
20
21
default
:
22
break
;
23
}
24
25
ENGAUGE_ASSERT (
false
);
26
return
0;
27
}
Generated on Thu Feb 4 2016 21:05:26 for Engauge Digitizer by
1.8.10