rulerView$10 method

DartCGFloat rulerView$10(
  1. NSRulerView ruler, {
  2. required NSPoint locationForPoint,
})

rulerView:locationForPoint:

Implementation

DartCGFloat rulerView$10(
  NSRulerView ruler, {
  required NSPoint locationForPoint,
}) {
  objc.checkOsVersionInternal(
    'NSView.rulerView:locationForPoint:',
    iOS: (true, null),
    macOS: (false, (10, 7, 0)),
  );
  return objc.useMsgSendVariants
      ? _objc_msgSend_vxtdi1Fpret(
          this.ref.pointer,
          _sel_rulerView_locationForPoint_,
          ruler.ref.pointer,
          locationForPoint,
        )
      : _objc_msgSend_vxtdi1(
          this.ref.pointer,
          _sel_rulerView_locationForPoint_,
          ruler.ref.pointer,
          locationForPoint,
        );
}