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.
23 lines
567 B
23 lines
567 B
#include "lsensubl.h"
|
|
#include "lsc.h"
|
|
#include "lssubl.h"
|
|
#include "enumcore.h"
|
|
|
|
|
|
// %%Function: LsEnumSubline
|
|
// %%Contact: victork
|
|
//
|
|
/*
|
|
* Enumerates subline (from the given point is fGeometry needed).
|
|
*/
|
|
|
|
LSERR WINAPI LsEnumSubline(PLSSUBL plssubl, BOOL fReverseOrder, BOOL fGeometryNeeded, const POINT* pptorg)
|
|
{
|
|
|
|
if (!FIsLSSUBL(plssubl)) return lserrInvalidParameter;
|
|
|
|
if (plssubl->plsc->lsstate != LsStateEnumerating) return lserrContextInUse;
|
|
|
|
return EnumSublineCore(plssubl, fReverseOrder, fGeometryNeeded, pptorg, 0);
|
|
}
|
|
|