File indexing completed on 2025-07-06 04:09:54
0001 /*************************************************************************** 0002 curvepointsymbol.h 0003 ------------------- 0004 begin : June 3 2001 0005 copyright : (C) 2001 by C. Barth Netterfield 0006 email : netterfield@astro.utoronto.ca 0007 ***************************************************************************/ 0008 0009 /*************************************************************************** 0010 * * 0011 * This program is free software; you can redistribute it and/or modify * 0012 * it under the terms of the GNU General Public License as published by * 0013 * the Free Software Foundation; either version 2 of the License, or * 0014 * (at your option) any later version. * 0015 * * 0016 ***************************************************************************/ 0017 0018 #ifndef CURVEPOINTSYMBOL_H 0019 #define CURVEPOINTSYMBOL_H 0020 0021 #include "kstmath_export.h" 0022 #include <qpainter.h> 0023 0024 #define KSTPOINT_MAXTYPE 14 0025 0026 namespace Kst { 0027 0028 namespace CurvePointSymbol { 0029 /** draw the point on a painter the scale of the point is based on size */ 0030 KSTMATH_EXPORT void draw(int type, QPainter *p, double x, double y, double pointSize=4); 0031 } 0032 0033 } 0034 #endif 0035 // vim: ts=2 sw=2 et