|
OpenCPN Partial API docs
|
Implement ocpn_region.h – Opencpn region handling. More...
Go to the source code of this file.
Classes | |
| struct | _OGdkPoint |
| struct | _OGdkRectangle |
| struct | _OGdkSegment |
| struct | _OGdkRegion |
| struct | _OPOINTBLOCK |
| struct | OBRESINFO |
| struct | _OEdgeTableEntry |
| struct | _OScanLineList |
| struct | OEdgeTable |
| struct | _OScanLineListBlock |
| class | OCPNRegionRefData |
Macros | |
| #define | EMPTY_REGION(pReg) |
| #define | REGION_NOT_EMPTY(pReg) |
| #define | NUMPTSTOBUFFER 200 |
| #define | INBOX(r, x, y) |
| #define | EXTENTCHECK(r1, r2) |
| #define | OGROWREGION(reg, nRects) |
| #define | OMEMCHECK(reg, rect, firstrect) |
| #define | MIN(a, b) |
| #define | MAX(a, b) |
| #define | OBRESINITPGON(dy, x1, x2, xStart, d, m, m1, incr1, incr2) |
| #define | OBRESINCRPGON(d, minval, m, m1, incr1, incr2) |
| #define | OBRESINITPGONSTRUCT(dmaj, min1, min2, bres) |
| #define | OBRESINCRPGONSTRUCT(bres) |
| #define | CLOCKWISE 1 |
| #define | COUNTERCLOCKWISE -1 |
| #define | SLLSPERBLOCK 25 |
| #define | OEVALUATEEDGEWINDING(pAET, pPrevAET, y, fixWAET) |
| #define | OEVALUATEEDGEEVENODD(pAET, pPrevAET, y) |
| #define | M_REGIONDATA ((OCPNRegionRefData *)m_refData) |
| #define | M_REGIONDATA_OF(rgn) |
| #define | M_REGIONDATA ((OCPNRegionRefData *)m_refData) |
Typedefs | |
| typedef struct _OGdkPoint | OGdkPoint |
| typedef struct _OGdkRectangle | OGdkRectangle |
| typedef struct _OGdkSegment | OGdkSegment |
| typedef OGdkSegment | OGdkRegionBox |
| typedef struct _OGdkRegion | OGdkRegion |
| typedef struct _OPOINTBLOCK | OPOINTBLOCK |
| typedef struct _OEdgeTableEntry | OEdgeTableEntry |
| typedef struct _OScanLineList | OScanLineList |
| typedef struct _OScanLineListBlock | OScanLineListBlock |
Enumerations | |
| enum | OGdkFillRule { OGDK_EVEN_ODD_RULE , OGDK_WINDING_RULE } |
| enum | OGdkOverlapType { OGDK_OVERLAP_RECTANGLE_IN , OGDK_OVERLAP_RECTANGLE_OUT , OGDK_OVERLAP_RECTANGLE_PART } |
Implement ocpn_region.h – Opencpn region handling.
Definition in file ocpn_region.cpp.
| #define CLOCKWISE 1 |
Definition at line 235 of file ocpn_region.cpp.
| #define COUNTERCLOCKWISE -1 |
Definition at line 236 of file ocpn_region.cpp.
| #define EMPTY_REGION | ( | pReg | ) |
Definition at line 37 of file ocpn_region.cpp.
| #define EXTENTCHECK | ( | r1, | |
| r2 ) |
Definition at line 96 of file ocpn_region.cpp.
| #define INBOX | ( | r, | |
| x, | |||
| y ) |
Definition at line 89 of file ocpn_region.cpp.
| #define M_REGIONDATA ((OCPNRegionRefData *)m_refData) |
Definition at line 364 of file ocpn_region.cpp.
| #define M_REGIONDATA ((OCPNRegionRefData *)m_refData) |
Definition at line 364 of file ocpn_region.cpp.
| #define M_REGIONDATA_OF | ( | rgn | ) |
Definition at line 365 of file ocpn_region.cpp.
| #define MAX | ( | a, | |
| b ) |
Definition at line 143 of file ocpn_region.cpp.
| #define MIN | ( | a, | |
| b ) |
Definition at line 139 of file ocpn_region.cpp.
| #define NUMPTSTOBUFFER 200 |
Definition at line 78 of file ocpn_region.cpp.
| #define OBRESINCRPGON | ( | d, | |
| minval, | |||
| m, | |||
| m1, | |||
| incr1, | |||
| incr2 ) |
Definition at line 189 of file ocpn_region.cpp.
| #define OBRESINCRPGONSTRUCT | ( | bres | ) |
Definition at line 228 of file ocpn_region.cpp.
| #define OBRESINITPGON | ( | dy, | |
| x1, | |||
| x2, | |||
| xStart, | |||
| d, | |||
| m, | |||
| m1, | |||
| incr1, | |||
| incr2 ) |
Definition at line 165 of file ocpn_region.cpp.
| #define OBRESINITPGONSTRUCT | ( | dmaj, | |
| min1, | |||
| min2, | |||
| bres ) |
Definition at line 224 of file ocpn_region.cpp.
| #define OEVALUATEEDGEEVENODD | ( | pAET, | |
| pPrevAET, | |||
| y ) |
Definition at line 305 of file ocpn_region.cpp.
| #define OEVALUATEEDGEWINDING | ( | pAET, | |
| pPrevAET, | |||
| y, | |||
| fixWAET ) |
Definition at line 284 of file ocpn_region.cpp.
| #define OGROWREGION | ( | reg, | |
| nRects ) |
Definition at line 111 of file ocpn_region.cpp.
| #define OMEMCHECK | ( | reg, | |
| rect, | |||
| firstrect ) |
Definition at line 130 of file ocpn_region.cpp.
| #define REGION_NOT_EMPTY | ( | pReg | ) |
Definition at line 38 of file ocpn_region.cpp.
| #define SLLSPERBLOCK 25 |
Definition at line 264 of file ocpn_region.cpp.
| typedef struct _OGdkPoint OGdkPoint |
Definition at line 40 of file ocpn_region.cpp.
| typedef struct _OGdkRectangle OGdkRectangle |
Definition at line 46 of file ocpn_region.cpp.
| typedef struct _OGdkRegion OGdkRegion |
Definition at line 66 of file ocpn_region.cpp.
| typedef OGdkSegment OGdkRegionBox |
Definition at line 64 of file ocpn_region.cpp.
| typedef struct _OGdkSegment OGdkSegment |
Definition at line 56 of file ocpn_region.cpp.
| enum OGdkFillRule |
Definition at line 29 of file ocpn_region.cpp.
| enum OGdkOverlapType |
Definition at line 31 of file ocpn_region.cpp.