nsbezierpath Questions

8

Solved

How can i convert between NSBezierPath to CGPath. Thanks.
Accomplice asked 29/11, 2009 at 13:38

3

Solved

Is it possible to remove a chunk of NSBezierPath that is defined by an NSRect region within the path?
Parkman asked 15/4, 2011 at 21:23

4

I want to draw a circle with color gradient stroke like the following picture, on both iOS and macOS: Is it possible to implement with CAShapeLayer or NSBezierPath/CGPath? Or any other ways?
Ocular asked 22/10, 2016 at 3:36

2

I want to do a rounded rectangle outline on an NSImage and I figured that using NSBezierPath would be the best way. However, I ran into a problem: instead of drawing a nice curve, I get this: Fo...
Hoad asked 2/12, 2012 at 21:35

7

Solved

I am trying to import paths from a vector drawing program into the ios environment. I would like to get them into CGpaths or UIbezierpaths. I am most interested in importing paths from adobe ...
Sinhalese asked 30/3, 2011 at 4:33

3

Solved

I am creating a NSView subclass that has rounded corners. This view is meant to be a container and other subviews will be added to it. I am trying to get the rounded corners of the NSView to clip a...
Fidel asked 23/2, 2011 at 6:3

5

I am able to generate the UIBezierPath of characters with whatever selected font and size. Now I want to make an etched line in between the bezier path. Can I get the center points of the bezier pa...
Millpond asked 18/8, 2016 at 8:4

2

Solved

So I want to use the method appendBezierPathWithPoints:count: in NSBezierPath. But the method requires me to use NSPointArray. The documentary doesn't really talk much about it and all I could get ...
Lowenstern asked 23/2, 2011 at 12:51

1

Solved

I would like to create a vector object that can be drawn with a pen tablet and will honor the pressure information from the pen (by increasing/decreasing line width appropriately). Now I know how t...

4

Solved

I'm developing a custom control. One of the requirements is to draw lines. Although this works, I noticed that my 1 pixel wide lines do not really look like 1 pixel wide lines - I know, they're not...
Halie asked 4/11, 2011 at 22:49

1

Solved

I am trying to Create a point on an image when the application runs and then try to move the point slowly to a different location. here is my code.This code works but there are two problems. First...
Kreis asked 29/10, 2013 at 5:49

1

Solved

I'm trying to draw a quarter circle in iOS. In Mac OS, it seems you can use appendBezierPathWithArcWithCenter but this doesn't seem to work in iOS. Does anyone know how to simply draw a quarter ci...
Sapphism asked 15/7, 2011 at 8:25

1

Solved

I would like to animate a straight line curving into a bezier curve (from "_" to "n"), is there a library somewhere that can help me to do it ? I know how to draw a Bezier curve with UIBezierPath,...
Loyal asked 28/1, 2013 at 21:0

2

I have a IPhone drawing application which is slowing down when I use the spray can tool. But when I check for leaks by running the application with leaks no leaks are shown. All other tools are wor...
Vinaya asked 23/5, 2011 at 10:23

2

I'm trying to create a custom NSView with both rounded corners and a drop shadow. I created an NSView subclass and have the following drawRect: method - (void)drawRect:(NSRect)dirtyRect { NSRect ...
Fideicommissary asked 28/4, 2011 at 20:20

2

Solved

I have an NSBezierPath that makes a rounded rectangle but the corners of it look choppy and appear brighter that the rest of the stroke when viewed at full scale. My code is: NSBezierPath *path =...
Manutius asked 19/4, 2011 at 20:11

1

Solved

I would like to create a NSBezierPath object which corresponds to the outline of an arbitrary bitmap image. All my images are png solid monochrome shapes with transparent backgrounds. Here is an e...
Junkman asked 10/3, 2011 at 11:54
1

© 2022 - 2024 — McMap. All rights reserved.