Leaked source code of windows server 2003
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.

38 lines
1.1 KiB

  1. #ifndef LSTFSET_DEFINED
  2. #define LSTFSET_DEFINED
  3. /* Service routines for some standard text flow change tasks */
  4. #include "lsdefs.h"
  5. #include "lstflow.h"
  6. /*
  7. * LsPointXYFromPointUV calculates pointxyOut given (x,y) pointxyIn and (u,v) vector
  8. *
  9. * (pointxyOut = pointxyIn + vectoruv)
  10. */
  11. LSERR WINAPI LsPointXYFromPointUV(const POINT*, /* IN: input point (x,y) */
  12. LSTFLOW, /* IN: text flow for */
  13. PCPOINTUV, /* IN: vector in (u,v) */
  14. POINT*); /* OUT: (x,y) point */
  15. /*
  16. * LsPointUV1FromPointUV2 calculates vector in uv2 coordinates given begin and end of it in uv1.
  17. *
  18. * (vectorUV22 = pointUV1b - pointUV1a)
  19. *
  20. * Usually pointUV1a is the starting point of uv2 coordinate system and it is easier to think
  21. * about output vector as a point in it.
  22. */
  23. LSERR WINAPI LsPointUV2FromPointUV1(LSTFLOW, /* IN: text flow 1 (TF1) */
  24. PCPOINTUV, /* IN: starting point (TF1) */
  25. PCPOINTUV, /* IN: ending point (TF1) */
  26. LSTFLOW, /* IN: text flow 2 (TF2) */
  27. PPOINTUV); /* OUT: vector in TF2 */
  28. #endif /* !LSTFSET_DEFINED */