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.
42 lines
1.7 KiB
42 lines
1.7 KiB
#ifndef LSCRLINE_DEFINED
|
|
#define LSCRLINE_DEFINED
|
|
|
|
#include "lsdefs.h"
|
|
#include "plsline.h"
|
|
#include "breakrec.h"
|
|
#include "lslinfo.h"
|
|
|
|
LSERR WINAPI LsCreateLine(PLSC, /* IN: ptr to line services context */
|
|
LSCP, /* IN: cpFirst */
|
|
long, /* IN: duaColumn */
|
|
const BREAKREC*, /* IN: input array of break records */
|
|
DWORD, /* IN: number of records in input array */
|
|
DWORD, /* IN: size of the output array */
|
|
BREAKREC*, /* OUT: output array of break records */
|
|
DWORD*, /* OUT:actual number of records in array*/
|
|
LSLINFO*, /* OUT: visible line info */
|
|
PLSLINE*); /* OUT: ptr to line opaque to client */
|
|
|
|
LSERR WINAPI LsModifyLineHeight(PLSC, /* IN: ptr to line services context */
|
|
PLSLINE, /* IN: ptr to line -- opaque to client */
|
|
long, /* IN: dvpAbove */
|
|
long, /* IN: dvpAscent */
|
|
long, /* IN: dvpDescent */
|
|
long); /* IN: dvpBelow */
|
|
|
|
LSERR WINAPI LsDestroyLine(PLSC, /* IN: ptr to line services context */
|
|
PLSLINE); /* IN: ptr to line -- opaque to client */
|
|
|
|
LSERR WINAPI LsGetLineDur(PLSC, /* IN: ptr to line services context */
|
|
PLSLINE, /* IN: ptr to line -- opaque to client */
|
|
long*, /* OUT: dur of line incl. trailing area */
|
|
long*); /* OUT: dur of line excl. trailing area */
|
|
|
|
LSERR WINAPI LsGetMinDurBreaks(PLSC, /* IN: ptr to line services context */
|
|
PLSLINE, /* IN: ptr to line -- opaque to client */
|
|
long*, /* OUT: min dur between breaks including
|
|
trailing area */
|
|
long*); /* OUT: min dur between breaks excluding
|
|
trailing area */
|
|
|
|
#endif /* !LSCRLINE_DEFINED */
|