public CTRunDelegate() { CTRunDelegateCallbacks callbacks = new CTRunDelegateCallbacks(); callbacks.setGetAscent(new FunctionPtr(cbGetAscent)); callbacks.setGetDescent(new FunctionPtr(cbGetDescent)); callbacks.setGetWidth(new FunctionPtr(cbGetWidth)); long refconId = CTRunDelegate.refconId.getAndIncrement(); delegate = CTRunDelegateIntern.create(callbacks, refconId); synchronized(runCallbacks) { runCallbacks.put(refconId, this); } } /*<constructors>*//*</constructors>*/
public CTRunDelegateCallbacks(@MachineSizedSInt long version, FunctionPtr dealloc, FunctionPtr getAscent, FunctionPtr getDescent, FunctionPtr getWidth) { this.setVersion(version); this.setDealloc(dealloc); this.setGetAscent(getAscent); this.setGetDescent(getDescent); this.setGetWidth(getWidth); } /*</constructors>*/
public CTRunDelegateCallbacks(@MachineSizedSInt long version, FunctionPtr dealloc, FunctionPtr getAscent, FunctionPtr getDescent, FunctionPtr getWidth) { this.setVersion(version); this.setDealloc(dealloc); this.setGetAscent(getAscent); this.setGetDescent(getDescent); this.setGetWidth(getWidth); } /*</constructors>*/
public CTRunDelegate() { CTRunDelegateCallbacks callbacks = new CTRunDelegateCallbacks(); callbacks.setGetAscent(new FunctionPtr(cbGetAscent)); callbacks.setGetDescent(new FunctionPtr(cbGetDescent)); callbacks.setGetWidth(new FunctionPtr(cbGetWidth)); long refconId = CTRunDelegate.refconId.getAndIncrement(); delegate = CTRunDelegateIntern.create(callbacks, refconId); synchronized(runCallbacks) { runCallbacks.put(refconId, this); } } /*<constructors>*//*</constructors>*/
public CTRunDelegateCallbacks(@MachineSizedSInt long version, FunctionPtr dealloc, FunctionPtr getAscent, FunctionPtr getDescent, FunctionPtr getWidth) { this.setVersion(version); this.setDealloc(dealloc); this.setGetAscent(getAscent); this.setGetDescent(getDescent); this.setGetWidth(getWidth); } /*</constructors>*/
public CTRunDelegate() { CTRunDelegateCallbacks callbacks = new CTRunDelegateCallbacks(); callbacks.setGetAscent(new FunctionPtr(cbGetAscent)); callbacks.setGetDescent(new FunctionPtr(cbGetDescent)); callbacks.setGetWidth(new FunctionPtr(cbGetWidth)); long refconId = CTRunDelegate.refconId.getAndIncrement(); delegate = CTRunDelegateIntern.create(callbacks, refconId); synchronized(runCallbacks) { runCallbacks.put(refconId, this); } } /*<constructors>*//*</constructors>*/