OpenCPN Partial API docs
Quilt Class Reference

Public Member Functions

 Quilt (ChartCanvas *parent)
 
void SetQuiltParameters (double CanvasScaleFactor, int CanvasWidth)
 
void EnableHighDefinitionZoom (bool value)
 
void UnlockQuilt ()
 
bool Compose (const ViewPort &vp)
 
bool IsComposed ()
 
ChartBase * GetFirstChart ()
 
ChartBase * GetNextChart ()
 
ChartBase * GetLargestScaleChart ()
 
ChartBase * GetNextSmallerScaleChart ()
 
std::vector< int > GetQuiltIndexArray (void)
 
bool IsQuiltDelta (ViewPort &vp)
 
bool IsChartQuiltableRef (int db_index)
 
ViewPort & GetQuiltVP ()
 
wxString GetQuiltDepthUnit ()
 
void SetRenderedVP (ViewPort &vp)
 
bool HasOverlays (void)
 
int GetExtendedStackCount (void)
 
int GetFullScreenIndexCount (void)
 
int GetnCharts ()
 
double GetBestStartScale (int dbi_ref_hint, const ViewPort &vp_in)
 
void ComputeRenderRegion (ViewPort &vp, OCPNRegion &chart_region)
 
bool RenderQuiltRegionViewOnDCNoText (wxMemoryDC &dc, ViewPort &vp, OCPNRegion &chart_region)
 
bool RenderQuiltRegionViewOnDCTextOnly (wxMemoryDC &dc, ViewPort &vp, OCPNRegion &chart_region)
 
bool IsVPBlittable (ViewPort &VPoint, int dx, int dy, bool b_allow_vector=false)
 
ChartBase * GetChartAtPix (ViewPort &VPoint, wxPoint p)
 
ChartBase * GetOverlayChartAtPix (ViewPort &VPoint, wxPoint p)
 
int GetChartdbIndexAtPix (ViewPort &VPoint, wxPoint p)
 
void InvalidateAllQuiltPatchs (void)
 
void Invalidate (void)
 
void AdjustQuiltVP (ViewPort &vp_last, ViewPort &vp_proposed)
 
LLRegion & GetFullQuiltRegion (void)
 
OCPNRegion & GetFullQuiltRenderedRegion (void)
 
bool IsChartSmallestScale (int dbIndex)
 
int AdjustRefOnZoomOut (double proposed_scale_onscreen)
 
int AdjustRefOnZoomIn (double proposed_scale_onscreen)
 
int AdjustRefSelection (const ViewPort &vp_in)
 
void SetHiliteIndex (int index)
 
void SetHiliteIndexArray (const std::vector< int > &index_array)
 
void ClearHiliteIndexArray ()
 
void SetReferenceChart (int dbIndex)
 
int GetRefChartdbIndex (void)
 
ChartBase * GetRefChart ()
 
int GetQuiltProj (void)
 
double GetMaxErrorFactor ()
 
double GetRefScale ()
 
ChartFamilyEnum GetRefFamily ()
 
void SetPreferrefFamily (ChartFamilyEnum family)
 
double GetRefNativeScale ()
 
std::vector< int > GetCandidatedbIndexArray (bool from_ref_chart, bool exclude_user_hidden)
 
std::vector< int > & GetExtendedStackIndexArray ()
 
std::vector< int > GetEclipsedStackIndexArray ()
 
std::vector< int > & GetFullscreenIndexArray ()
 
unsigned long GetXStackHash ()
 
bool IsBusy ()
 
QuiltPatch * GetCurrentPatch ()
 
bool IsChartInQuilt (ChartBase *pc)
 
bool IsChartInQuilt (wxString &full_path)
 
bool IsQuiltVector (void)
 
bool DoesQuiltContainPlugins (void)
 
LLRegion GetHiliteRegion ()
 
std::vector< int > & GetHiLiteIndexArray ()
 
int GetNomScaleMin (int scale, ChartTypeEnum type, ChartFamilyEnum family)
 
int GetNomScaleMax (int scale, ChartTypeEnum type, ChartFamilyEnum family)
 
ChartFamilyEnum GetPreferredFamily (void)
 

Static Public Member Functions

static LLRegion GetChartQuiltRegion (const ChartTableEntry &cte, ViewPort &vp)
 

Detailed Description

Definition at line 83 of file Quilt.h.

Member Function Documentation

◆ Compose()

bool Quilt::Compose ( const ViewPort &  vp)

WGS84_semimajor_axis_meters * mercator_k0 * DEGREE;

Definition at line 1694 of file Quilt.cpp.


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