00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef CFL_TOOLCILLINE_H
00016 #define CFL_TOOLCILLINE_H
00017
00018 #include <cil/Vector.h>
00019
00020 #if _MSC_VER > 1000
00021 #pragma once
00022 #endif // _MSC_VER > 1000
00023
00024
00025
00026
00027 typedef cil::line16 Line;
00028
00029
00030
00031
00032
00033 inline Line to_line( CScanBaseBufferPtr lpScanBuffer, int line, bool bDoR2L = false )
00034 {
00035 return cil::line16(
00036 lpScanBuffer->m_pwData + line * lpScanBuffer->m_dwSizeX + bDoR2L * FrameSize( lpScanBuffer ),
00037 lpScanBuffer->m_dwSizeX
00038 );
00039 }
00040
00041 #endif // #ifndef CFL_TOOLCILLINE_H
00042
00043
00044
00045
00046