I have a subclass of NSView and I want to draw into it after I retrieve an
Image in an NSImageView.
I'm trying to set 2 instance variables in the drawRect block of code...
@property(readwrite) NSRect tRect;
@property (retain, readwrite) NSGraphicsContext*savedContext;
___
I am trying to create an array of CGImageRefs that I will use to create
CGLayers.
myCGImageRefImage is the CGImageRef of the key image.
Each loop, I'm trying to reload imgForLayer with this key image.
The line...imgForLayer = CGImageCreateCopy(myCGImageRefImage) ...doesn't work
at all.
Given:
Given: A litho Image, Black & White pixels only.
I want to show just the Black Pixels in a subclassed NSView.
I've posted previously with some code and had 1 simple response that has not
panned out for me. Any ideas out there, anybody been down this road?
Thanks
Rick
_
I have a litho image (black & white pixels only) and I want to make all the
white pixels transparent. I am using Quartz 2d to display the image and I have
a Quartz composition containing a single .cikernel...
kernel vec4 whiteToTransparent(sampler source_image)
{
vec4 pixValue;
pixValue =
I'm using... vImage_Error err = vImageContrastStretch_Planar8 (&src, &dest,
flags );
and getting a scrambled image from the code? Each pixel returned is at the
right height but offset left 3 pixels. Anyone wanting to you to look the images
email me.
- (NSImage*)vImageContrastStretch:(NSImage
ubject: Re: Core Data Entity object
> To: [EMAIL PROTECTED]
> Cc: "Cocoa-dev List"
> Date: Tuesday, August 26, 2008, 5:55 AM
> On Tue, Aug 26, 2008 at 8:43 AM, R T
> <[EMAIL PROTECTED]> wrote:
> > Actually, there is a choice in the IB Library, under
> 'O
A Core Data Entity object added to a XIB on a sheet of a document window is
created but the add & remove buttons are not highlighted. Why?
Thanks
Rick
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
On Aug 19, 2008, at 21:39, R T wrote:
> I have a Core Data Document-based Application.a document window
> with a tableview, a text view and a button. When the button is
> selected, a number is read from the text field and that many
> objects are programatically added to t
I have a Core Data Document-based Application.a document window with a
tableview, a text view and a button. When the button is selected, a number is
read from the text field and that many objects are programatically added to the
tableview. Then a sheet is opened. The tableview presents only
>From the xcdatamodel of a "Core Data Document-based Application", I have two
>entities...
1st one entity is a set of rgb values.
2nd the other entity is a collection of these sets.
... so the add button of the 1st entity should not be available until an object
of the 2
Using Core Data, my xcdatamodel has 1 entity (NSManagedObject) with 10
attributes. I need to add and remove the objects programmatically (not by
buttons). I have...
IBOutlet NSArrayController *ParamsNResults;
IBOutlet NSTableView *ParamsNResultsTableView;
...and have created
11 matches
Mail list logo