mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.6 KiB
45 lines
1.6 KiB
#include "lsc.h"
|
|
#include "lsqsubl.h"
|
|
#include "lssubl.h"
|
|
#include "lsqcore.h"
|
|
|
|
|
|
// %%Function: LsQueryCpPpointSubline
|
|
// %%Contact: victork
|
|
//
|
|
LSERR WINAPI LsQueryCpPpointSubline(
|
|
PLSSUBL plssubl, /* IN: pointer to subline info */
|
|
LSCP cpQuery, /* IN: cpQuery */
|
|
DWORD cDepthQueryMax, /* IN: allocated size of results array */
|
|
PLSQSUBINFO plsqsubinfoResults, /* OUT: array[cDepthFormatMax] of query results */
|
|
DWORD* pcActualDepth, /* OUT: size of results array (filled) */
|
|
PLSTEXTCELL plstextcellInfo) /* OUT: Text cell info */
|
|
{
|
|
if (!FIsLSSUBL(plssubl)) return lserrInvalidParameter;
|
|
|
|
Assert(!plssubl->fDupInvalid);
|
|
|
|
return QuerySublineCpPpointCore(plssubl, cpQuery, cDepthQueryMax,
|
|
plsqsubinfoResults, pcActualDepth, plstextcellInfo);
|
|
}
|
|
|
|
|
|
// %%Function: LsQueryPointPcpSubline
|
|
// %%Contact: victork
|
|
//
|
|
LSERR WINAPI LsQueryPointPcpSubline(
|
|
PLSSUBL plssubl, /* IN: pointer to subline info */
|
|
PCPOINTUV ppointuvIn, /* IN: query point (uQuery,vQuery) (line text flow) */
|
|
DWORD cDepthQueryMax, /* IN: allocated size of results array */
|
|
PLSQSUBINFO plsqsubinfoResults, /* OUT: array[cDepthFormatMax] of query results */
|
|
DWORD* pcActualDepth, /* OUT: size of results array (filled) */
|
|
PLSTEXTCELL plstextcellInfo) /* OUT: Text cell info */
|
|
{
|
|
if (!FIsLSSUBL(plssubl)) return lserrInvalidParameter;
|
|
|
|
Assert(!plssubl->fDupInvalid);
|
|
|
|
return QuerySublinePointPcpCore(plssubl, ppointuvIn, cDepthQueryMax,
|
|
plsqsubinfoResults, pcActualDepth, plstextcellInfo);
|
|
}
|
|
|