OpenCPN Partial API docs
Loading...
Searching...
No Matches
RouteGui Class Reference

Public Member Functions

 RouteGui (Route &route)
 
virtual void Draw (ocpnDC &dc, ChartCanvas *canvas, const LLBBox &box)
 
void DrawPointWhich (ocpnDC &dc, ChartCanvas *canvas, int iPoint, wxPoint *rpn)
 
void DrawSegment (ocpnDC &dc, ChartCanvas *canvas, wxPoint *rp1, wxPoint *rp2, ViewPort &vp, bool bdraw_arrow)
 
void DrawGLLines (ViewPort &vp, ocpnDC *dc, ChartCanvas *canvas)
 
void DrawGL (ViewPort &vp, ChartCanvas *canvas, ocpnDC &dc)
 
void DrawGLRouteLines (ViewPort &vp, ChartCanvas *canvas, ocpnDC &dc)
 
void CalculateDCRect (wxDC &dc_route, ChartCanvas *canvas, wxRect *prect)
 
void RenderSegment (ocpnDC &dc, int xa, int ya, int xb, int yb, ViewPort &vp, bool bdraw_arrow, int hilite_width=0)
 
void RenderSegmentArrowsGL (ocpnDC &dc, int xa, int ya, int xb, int yb, ViewPort &vp)
 
int SendToGPS (const wxString &com_name, bool bsend_waypoints, SendToGpsDlg *dialog)
 

Static Public Member Functions

static bool OnDelete (wxWindow *parent, const int count=0)
 

Detailed Description

Definition at line 41 of file route_gui.h.

Constructor & Destructor Documentation

◆ RouteGui()

RouteGui::RouteGui ( Route & route)
inline

Definition at line 43 of file route_gui.h.

Member Function Documentation

◆ CalculateDCRect()

void RouteGui::CalculateDCRect ( wxDC & dc_route,
ChartCanvas * canvas,
wxRect * prect )

Definition at line 585 of file route_gui.cpp.

◆ Draw()

void RouteGui::Draw ( ocpnDC & dc,
ChartCanvas * canvas,
const LLBBox & box )
virtual

Definition at line 83 of file route_gui.cpp.

◆ DrawGL()

void RouteGui::DrawGL ( ViewPort & vp,
ChartCanvas * canvas,
ocpnDC & dc )

Definition at line 370 of file route_gui.cpp.

◆ DrawGLLines()

void RouteGui::DrawGLLines ( ViewPort & vp,
ocpnDC * dc,
ChartCanvas * canvas )

Definition at line 468 of file route_gui.cpp.

◆ DrawGLRouteLines()

void RouteGui::DrawGLRouteLines ( ViewPort & vp,
ChartCanvas * canvas,
ocpnDC & dc )

Definition at line 394 of file route_gui.cpp.

◆ DrawPointWhich()

void RouteGui::DrawPointWhich ( ocpnDC & dc,
ChartCanvas * canvas,
int iPoint,
wxPoint * rpn )

Definition at line 352 of file route_gui.cpp.

◆ DrawSegment()

void RouteGui::DrawSegment ( ocpnDC & dc,
ChartCanvas * canvas,
wxPoint * rp1,
wxPoint * rp2,
ViewPort & vp,
bool bdraw_arrow )

Definition at line 358 of file route_gui.cpp.

◆ OnDelete()

bool RouteGui::OnDelete ( wxWindow * parent,
const int count = 0 )
static

Definition at line 652 of file route_gui.cpp.

◆ RenderSegment()

void RouteGui::RenderSegment ( ocpnDC & dc,
int xa,
int ya,
int xb,
int yb,
ViewPort & vp,
bool bdraw_arrow,
int hilite_width = 0 )

Definition at line 203 of file route_gui.cpp.

◆ RenderSegmentArrowsGL()

void RouteGui::RenderSegmentArrowsGL ( ocpnDC & dc,
int xa,
int ya,
int xb,
int yb,
ViewPort & vp )

Definition at line 289 of file route_gui.cpp.

◆ SendToGPS()

int RouteGui::SendToGPS ( const wxString & com_name,
bool bsend_waypoints,
SendToGpsDlg * dialog )

Definition at line 619 of file route_gui.cpp.


The documentation for this class was generated from the following files: