diff options
| author | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2019-07-26 17:43:41 +0000 |
|---|---|---|
| committer | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2019-07-26 17:43:41 +0000 |
| commit | 22263b2869b1e01a21d5010d7092166b17113b15 (patch) | |
| tree | d1ec9368b5a8e04c5da23234a0c7d962aeb77d0c /packages/cocoaint/src/mapkit/MKOverlayPathRenderer.inc | |
| parent | 5d51dcce67a4f3ae7c59c50b8d654b6a8250025e (diff) | |
| download | fpc-22263b2869b1e01a21d5010d7092166b17113b15.tar.gz | |
* new CocoaInt units based on https://github.com/genericptr/MacOS_10_10
o note that CoreData and QuartzCore are now part of CocoaAll due to
dependencies
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@42500 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/cocoaint/src/mapkit/MKOverlayPathRenderer.inc')
| -rw-r--r-- | packages/cocoaint/src/mapkit/MKOverlayPathRenderer.inc | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/packages/cocoaint/src/mapkit/MKOverlayPathRenderer.inc b/packages/cocoaint/src/mapkit/MKOverlayPathRenderer.inc new file mode 100644 index 0000000000..29c07a08de --- /dev/null +++ b/packages/cocoaint/src/mapkit/MKOverlayPathRenderer.inc @@ -0,0 +1,53 @@ +{ Parsed from MapKit.framework MKOverlayPathRenderer.h } + + +{ Types from MKOverlayPathRenderer } +{$ifdef TYPES} + +{$endif} + + +{$ifdef TYPES} +type + MKOverlayPathRendererPtr = ^MKOverlayPathRenderer; +{$endif} + +{$ifdef CLASSES} + +type + MKOverlayPathRenderer = objcclass external (MKOverlayRenderer) + public + {$if defined(TARGET_OS_IPHONE)} + procedure setFillColor(newValue: UIColorPtr); message 'setFillColor:'; + function fillColor: UIColorPtr; message 'fillColor'; + procedure setStrokeColor(newValue: UIColorPtr); message 'setStrokeColor:'; + function strokeColor: UIColorPtr; message 'strokeColor'; + {$else} + procedure setFillColor_(newValue: NSColor); message 'setFillColor:'; + function fillColor_: NSColor; message 'fillColor'; + procedure setStrokeColor_(newValue: NSColor); message 'setStrokeColor:'; + function strokeColor_: NSColor; message 'strokeColor'; + {$endif} + procedure setLineWidth(newValue: CGFloat); message 'setLineWidth:'; + function lineWidth: CGFloat; message 'lineWidth'; + procedure setLineJoin(newValue: CGLineJoin); message 'setLineJoin:'; + function lineJoin: CGLineJoin; message 'lineJoin'; + procedure setLineCap(newValue: CGLineCap); message 'setLineCap:'; + function lineCap: CGLineCap; message 'lineCap'; + procedure setMiterLimit(newValue: CGFloat); message 'setMiterLimit:'; + function miterLimit: CGFloat; message 'miterLimit'; + procedure setLineDashPhase(newValue: CGFloat); message 'setLineDashPhase:'; + function lineDashPhase: CGFloat; message 'lineDashPhase'; + procedure setLineDashPattern(newValue: NSArray); message 'setLineDashPattern:'; + function lineDashPattern: NSArray; message 'lineDashPattern'; + procedure createPath; message 'createPath'; + procedure setPath(newValue: CGPathRef); message 'setPath:'; + function path: CGPathRef; message 'path'; + procedure invalidatePath; message 'invalidatePath'; + procedure applyStrokePropertiesToContext_atZoomScale (context: CGContextRef; zoomScale: MKZoomScale); message 'applyStrokePropertiesToContext:atZoomScale:'; + procedure applyFillPropertiesToContext_atZoomScale (context: CGContextRef; zoomScale: MKZoomScale); message 'applyFillPropertiesToContext:atZoomScale:'; + procedure strokePath_inContext (path_: CGPathRef; context: CGContextRef); message 'strokePath:inContext:'; + procedure fillPath_inContext (path_: CGPathRef; context: CGContextRef); message 'fillPath:inContext:'; + end; +{$endif} + |
