In MacOS, I'm using python to write PDF Service Workflows, and after processing the incoming PDF (manipulating it with PyObjC Quartz APIs), I want to ...
In MacOS, I'm using python to write PDF Service Workflows, and after processing the incoming PDF (manipulating it with PyObjC Quartz APIs), I want to ...
I need to create and run a simple interactive C++ Cairo (graphics) app on MacOS, which presumably means using the Quartz backend. I feel really silly ...
I've got Apple Keynote v8.2 presentation project having .key extension. This presentation contains 5 videos with 4 identical transitions between them. ...
Given a CAShapeLayer defining a path as in the picture below, I want to add a CAGradientLayer that follows the path of the shape layer. For example, ...
I'm trying to create image filter that will shift color of the image. In order to do this I need to convert rgb color to hsl and after shift, convert ...
In macOS programming, We know that Quartz uses a coordinate space where the origin (0, 0) is at the top-left of the primary display. Increasing y ...
I'm trying to create an image similar to the one on the left. I have a NSBezier path (not a closed path) but when I fill it, It seems to only produce ...
I use the following function to draw polylines on a UIImage snapshot of a MKMapView. The function works, but it's too slow for my purposes. Is there a ...
So I am trying to overlay text onto a PDF document using a similar method to this answer. I use a function to set the current Graphics Context, like ...
Swift seems to have changed again and I'm having trouble making this code work: I get the following error: 'CFString' is not convertible to 'Any'. ...
How would I programmatically activate i.e move-to-front-and-focus a window on macOS (not belonging to my app) given its Window ID. My app would run wi ...
I got this CAShapeLayer drawing a line in a chart for me: Now I'd like to draw this line with a gradient instead of a single color. This is what I ...
So, I wanted to cast my extended workspace (on MAC) to my app on iOS. I've been reading on it for a few days and singled out Quartz display services A ...
I've got my eye upon Metal as an option for performing very performant pixel copies at 60fps. Let me phrase my question in terms of an existing techn ...
I created a custom UIView class where I override the draw(_ rect: CGRect) function. In it, I added a gradient (CAGradientLayer) sublayer (which works ...
I am writing an application for Mac OSX and I need to manipulate pdf files. I only need to split existing pdf files (extract certain pages) and combin ...
I'm currently doing some tests to see if my app runs correctly on Retina Macs. I have installed Quartz Debug for this purpose and I'm currently runnin ...
Starting from Sierra the's a pdf drawWithBox:toContext: operation available. But in former OS versions this is not present. When there's a graphic con ...
I'm trying to apply perspective transformation to a view (let's call it subview) that only draws a square along its frame, is centered horizontally in ...
In Java I can make a background rect colored blue. I can then draw a load of sprites also with blue as the background color. I can then make it so tha ...