Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/os.c
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@ JNIEXPORT jlong JNICALL OS_NATIVE(CGPDFContextCreateWithURL)
jlong rc = 0;
OS_NATIVE_ENTER(env, that, CGPDFContextCreateWithURL_FUNC);
if (arg1) if ((lparg1 = getCGRectFields(env, arg1, &_arg1)) == NULL) goto fail;
rc = (jlong)CGPDFContextCreateWithURL((CFURLRef)arg0, (const CGRect *)lparg1, (CFDictionaryRef)arg2);
rc = (jlong)CGPDFContextCreateWithURL((CFURLRef)arg0, (CGRect*)lparg1, (CFDictionaryRef)arg2);
fail:
if (arg1 && lparg1) setCGRectFields(env, arg1, lparg1);
OS_NATIVE_EXIT(env, that, CGPDFContextCreateWithURL_FUNC);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,25 @@
<arg swt_gen="true"></arg>
<retval></retval>
</function>
<function name="CGPDFContextBeginPage" swt_gen="true">
<arg swt_gen="true"></arg>
<arg swt_gen="true"></arg>
<retval></retval>
</function>
<function name="CGPDFContextClose" swt_gen="true">
<arg swt_gen="true"></arg>
<retval></retval>
</function>
<function name="CGPDFContextCreateWithURL" swt_gen="true">
<arg swt_gen="true"></arg>
<arg swt_gen="true" swt_java_type="CGRect"></arg>
<arg swt_gen="true"></arg>
<retval swt_gen="true"></retval>
</function>
<function name="CGPDFContextEndPage" swt_gen="true">
<arg swt_gen="true"></arg>
<retval></retval>
</function>
<function name="CGPathAddCurveToPoint" swt_gen="true">
<arg swt_gen="true"></arg>
<arg swt_gen="true"></arg>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3174,12 +3174,6 @@ public static Selector getSelector (long value) {
* @param image cast=(CGImageRef)
*/
public static final native void CGImageRelease(long image);
/**
* @param url cast=(CFURLRef)
* @param mediaBox cast=(const CGRect *)
* @param auxiliaryInfo cast=(CFDictionaryRef)
*/
public static final native long CGPDFContextCreateWithURL(long url, CGRect mediaBox, long auxiliaryInfo);
/**
* @param context cast=(CGContextRef)
* @param pageInfo cast=(CFDictionaryRef)
Expand All @@ -3188,11 +3182,17 @@ public static Selector getSelector (long value) {
/**
* @param context cast=(CGContextRef)
*/
public static final native void CGPDFContextEndPage(long context);
public static final native void CGPDFContextClose(long context);
/**
* @param url cast=(CFURLRef)
* @param mediaBox cast=(CGRect*)
* @param auxiliaryInfo cast=(CFDictionaryRef)
*/
public static final native long CGPDFContextCreateWithURL(long url, CGRect mediaBox, long auxiliaryInfo);
/**
* @param context cast=(CGContextRef)
*/
public static final native void CGPDFContextClose(long context);
public static final native void CGPDFContextEndPage(long context);
/**
* @param path cast=(CGMutablePathRef)
* @param m cast=(CGAffineTransform*)
Expand Down
Loading