quartz-graphics
How to use IKScannerDeviceView?
I\'m developing my first Obje开发者_如何学编程ctive C app; a simple program to scan an image and upload it to a server. So I was excited to see the IKScannerDeviceView in the library of Interface buil[详细]
2023-04-11 23:32 分类:问答How to draw variable-width UIBezierPath?
I\'m wondering how I should go about drawing a uibezierpath where the stroke width peaks at the center of the arc. Here\'s an example of what I mean:[详细]
2023-04-10 10:44 分类:问答Converting Images from camera buffer iOS. Capture still image using AVFoundation
I\'m using this well known sample code from Apple to convert camera buffer still images into UIImages.[详细]
2023-04-07 19:38 分类:问答DrawText in CGRect for PDF
I\'m trying to create a PDF and I have some text.It is longer than one line, so I\'m not sure how I need to write it int开发者_如何学Pythono my context.Do I calculate a CGRect the size of my text firs[详细]
2023-04-07 12:38 分类:问答CGContextConcatCTM vs CALayer affineTransform
I\'m trying to change the affine transform of a CALayer so what\'s开发者_开发百科 drawn in it gets deformed.[详细]
2023-04-07 06:50 分类:问答library using Quartz PDF rendering routines statically compiled and then ported to Windows?
is it possible to compile statically a c++ library under OSX which calls Quartz routines for PDF rendering and use it under Windows to be linked to a Wind开发者_如何学JAVAows c++ project?If you have a[详细]
2023-04-07 00:18 分类:问答Custom background drawing in an grouped UITableViewCell
I\'m having some trouble drawing a custom gradient background in a UITableViewCell when the style is set to \'grouped\' and the cell is first or the last one of the section. My approach is to simply c[详细]
2023-04-05 07:34 分类:问答Error in iphone: Assertion failed: (s->stack->next != NULL), function CGGStackRestore, file Context/CGGStack.c, line 116
My code is as below. I get the error as Assertion failed: (s->stack->next != NULL), function CGGStackRestore, file Context/CGGStack.c, line 116.[详细]
2023-04-03 18:11 分类:问答OpenGL vs Quartz/CG on iPhone/iPad
In our current app, some consultants wrote code in OpenGL to make things look nice.Basically mimicing a UITableView, goes horizontal instead of vertical, and of course prettier.I was reading through a[详细]
2023-04-03 17:20 分类:问答Custom UIView's border drawing isn't smooth
I\'m trying to draw a simple speech bubble using the following code: @implementation SpeechBubbleView - (id)initWithFrame:(CGRect)frame {[详细]
2023-04-03 08:27 分类:问答