Declaration

func readFile(
    _ URL: URL,
    to layer: GSLayer,
    bounds outBounds: UnsafeMutablePointer<NSRect>?
) throws

Declaration

- (BOOL) readFile:(NSURL *) URL
          toLayer:(GSLayer *) layer
           bounds:(NSRect *) outBounds
            error:(NSError **) error;

Declaration

readFile_toLayer_bounds_error_(
    URL: NSURL,
    layer: GSLayer,
    outBounds: NSRect
) -> tuple[bool, NSError]