diff options
author | joye <joye> | 2014-04-15 17:52:55 (GMT) |
---|---|---|
committer | joye <joye> | 2014-04-15 17:52:55 (GMT) |
commit | ea220a1484f01869322a3e5653d43a31c145cbca (patch) | |
tree | 09d80ce4763f7b234462c649c5902f3ae4202a9e /src/bltGrMisc.h | |
parent | 52046803c5f753ae491cf3728a41acd2e615cfef (diff) | |
download | blt-ea220a1484f01869322a3e5653d43a31c145cbca.zip blt-ea220a1484f01869322a3e5653d43a31c145cbca.tar.gz blt-ea220a1484f01869322a3e5653d43a31c145cbca.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src/bltGrMisc.h')
-rw-r--r-- | src/bltGrMisc.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/bltGrMisc.h b/src/bltGrMisc.h new file mode 100644 index 0000000..31fe319 --- /dev/null +++ b/src/bltGrMisc.h @@ -0,0 +1,40 @@ +/* + * Smithsonian Astrophysical Observatory, Cambridge, MA, USA + * This code has been modified under the terms listed below and is made + * available under the same terms. + */ + +/* + * Copyright 1993-2004 George A Howlett. + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +#ifndef __BltGrMisc_h__ +#define __BltGrMisc_h__ + +extern int Blt_PointInPolygon(Point2d *samplePtr, Point2d *screenPts, + int nScreenPts); +extern int Blt_GetXY(Tcl_Interp* interp, Tk_Window tkwin, + const char *string, int *xPtr, int *yPtr); +extern int Blt_PolyRectClip(Region2d *extsPtr, Point2d *inputPts, + int nInputPts, Point2d *outputPts); + +#endif |