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)
 

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 546 of file route_gui.cpp.

◆ Draw()

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

Definition at line 54 of file route_gui.cpp.

◆ DrawGL()

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

Definition at line 338 of file route_gui.cpp.

◆ DrawGLLines()

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

Definition at line 431 of file route_gui.cpp.

◆ DrawGLRouteLines()

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

Definition at line 361 of file route_gui.cpp.

◆ DrawPointWhich()

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

Definition at line 320 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 326 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 170 of file route_gui.cpp.

◆ RenderSegmentArrowsGL()

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

Definition at line 256 of file route_gui.cpp.

◆ SendToGPS()

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

Definition at line 580 of file route_gui.cpp.


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