MythTV  master
mythgesture.cpp File Reference

A C++ ripoff of the stroke library, modified for MythTV. More...

#include <QMetaEnum>
#include "mythgesture.h"
#include <array>
#include <cmath>
#include <algorithm>
#include <complex>
Include dependency graph for mythgesture.cpp:

Go to the source code of this file.


static int determineBin (QPoint p, int x1, int x2, int y1, int y2)

Detailed Description

A C++ ripoff of the stroke library, modified for MythTV.

Micah F. Galizia mfgal.nosp@m.izi@.nosp@m.csd.u.nosp@m.wo.c.nosp@m.a Copyright (C) 2005 Micah Galizia

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA

This library contains code originally obtained from the libstroke library, which was written by Mark F. Willey. If I am in offense of any copyright or anything, please let me know and I will make the appropriate fixes.

Definition in file mythgesture.cpp.

Function Documentation

◆ determineBin()

static int determineBin ( QPoint  p,
int  x1,
int  x2,
int  y1,
int  y2 

Definition at line 196 of file mythgesture.cpp.

Referenced by MythGesture::Translate().