OpenCPN Partial API docs
Loading...
Searching...
No Matches
pi_ocpndc.h File Reference

Device Context Abstraction Layer. More...

#include <vector>
#include "linmath.h"
#include "pi_TexFont.h"
#include "ocpn_plugin.h"

Go to the source code of this file.

Classes

class  pi_ocpnDC
 

Functions

void DrawGLThickLine (float x1, float y1, float x2, float y2, wxPen pen, bool b_hiqual)
 

Detailed Description

Device Context Abstraction Layer.

Provides a unified drawing interface that works across different rendering backends:

Features:

  • OpenGL and bitmap rendering support
  • Pen and brush handling
  • Text and font management
  • Line and shape primitives
  • Texture support
  • Geographic coordinate transforms
  • Viewport management

The class abstracts platform-specific graphics operations to provide consistent rendering capabilities for weather data visualization across different platforms and rendering systems.

Definition in file pi_ocpndc.h.