use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
#[cfg(all(feature = "UIGraphicsRenderer", feature = "block2"))]
pub type UIGraphicsDrawingActions = *mut block2::Block<dyn Fn(NonNull<UIGraphicsRendererContext>)>;
extern_methods!(
#[cfg(feature = "UIGraphicsRenderer")]
unsafe impl UIGraphicsRenderer {
#[method(rendererContextClass)]
pub unsafe fn rendererContextClass() -> &'static AnyClass;
#[cfg(feature = "block2")]
#[method(runDrawingActions:completionActions:error:_)]
pub unsafe fn runDrawingActions_completionActions_error(
&self,
drawing_actions: UIGraphicsDrawingActions,
completion_actions: UIGraphicsDrawingActions,
) -> Result<(), Retained<NSError>>;
}
);