LibreOffice Module dbaccess (master) 1
Functions | Variables
ConnectionLine.cxx File Reference
#include <ConnectionLine.hxx>
#include <ConnectionLineData.hxx>
#include <TableWindow.hxx>
#include <TableWindowListBox.hxx>
#include <TableConnection.hxx>
#include <utility>
#include <vcl/svapp.hxx>
#include <math.h>
#include <osl/diagnose.h>
#include <vcl/lineinfo.hxx>
#include <vcl/settings.hxx>
Include dependency graph for ConnectionLine.cxx:

Go to the source code of this file.

Functions

static void calcPointX1 (const OTableWindow *_pWin, Point &_rNewConPos, Point &_rNewDescrPos)
 
static void calcPointX2 (const OTableWindow *_pWin, Point &_rNewConPos, Point &_rNewDescrPos)
 
static double dist_Euklid (const Point &p1, const Point &p2, const Point &pM, Point &q)
 

Variables

const tools::Long DESCRIPT_LINE_WIDTH = 15
 
const tools::Long HIT_SENSITIVE_RADIUS = 5
 

Function Documentation

◆ calcPointX1()

static void calcPointX1 ( const OTableWindow _pWin,
Point _rNewConPos,
Point _rNewDescrPos 
)
static

◆ calcPointX2()

static void calcPointX2 ( const OTableWindow _pWin,
Point _rNewConPos,
Point _rNewDescrPos 
)
static

◆ dist_Euklid()

static double dist_Euklid ( const Point p1,
const Point p2,
const Point pM,
Point q 
)
static

Definition at line 307 of file ConnectionLine.cxx.

References a, Point::setX(), Point::setY(), v, w, Point::X(), and Point::Y().

Referenced by dbaui::OConnectionLine::CheckHit().

Variable Documentation

◆ DESCRIPT_LINE_WIDTH

const tools::Long DESCRIPT_LINE_WIDTH = 15

◆ HIT_SENSITIVE_RADIUS

const tools::Long HIT_SENSITIVE_RADIUS = 5

Definition at line 34 of file ConnectionLine.cxx.

Referenced by dbaui::OConnectionLine::CheckHit().