Jean-Daniel,
That was it! Thanks a bunch!
Mike
On Sep 3, 2008, at 10:04 AM, Jean-Daniel Dupas wrote:
Create an NSGraphicsContext from you CGContext:
+ [NSGraphicsContext graphicsContextWithGraphicsPort:flipped:];
Set it as the current context
+ [NSGraphicsContext setCurrentContext:];
And
those limitations.
It would be, ahem, illustrative if there was an example or two of
drawing simple NSAttributedString-based unicode text using CG in a
CALayer within an NSView.
Thanks again,
Mike
On Sep 2, 2008, at 9:55 PM, David Duncan wrote:
On Sep 2, 2008, at 7:43 PM, Mike Rossetti
Are there limitations on what kind of text can be drawn using
CTLineDraw in a Quartz context? I'm finding it impossible to set the
font color.
Here is some code I've been experimenting with:
...
NSFontDescriptor *fontDesc
= [NSFontDescriptor fontDescriptorWithFontAttributes:
[NSD
Before I spend a lot of time attempting the following I would
appreciate any advice based on your experience:
I've got a drawing-like application where I'd like the user to be able
to rotate individual elements of the drawing. When the mouse is
hovering over an element I draw a manipulatio
I've been putting together a drawing package using layers and having a
terrific time! But I'd appreciate a bit of guidance on the
recommended approach for highlighting a layer as the mouse moves over
the layer. This is intended to give the user positive feedback as to
which drawing elemen
So I've discovered an interesting behavior in NSPathControl and am
wondering if it warrants a Radar.
I'm building up my own presentation of the file path to be shown in
the NSPathControl. Specifically, if the file for which the path is
being presented is in some standard location then I'm
Hah! I believe Paul and Jens have identified the problem! Yes, I am
using [[Tip alloc] init]. I'll rework that portion of the code and
ping back later confirmating the good news.
Thanks guys!
Mike
On Apr 17, 2008, at 11:13 PM, Paul Goracke wrote:
[snip]
I think the problem is in your cr
On Apr 17, 2008, at 10:12 PM, Jack Repenning wrote:
On Apr 17, 2008, at 8:47 PM, Mike Rossetti wrote:
Yes, that's my understanding. But according to the comments I
mentioned in my earlier message, Core Data provides the
implementations. And clearly it does since I can edit, sav
Hi Jack,
Thanks for the reply!
On Apr 17, 2008, at 9:26 PM, Jack Repenning wrote:
On Apr 17, 2008, at 8:15 PM, Mike Rossetti wrote:
Bindings clearly work so I'm surprised the setTipName isn't
synthesized and available for my use.
You haven't given us enough info to be su
I'm a bit confused by @dynamic and hoping there's a simple explanation.
My little project has a data model and a custom class (Tip) for one of
the classes in the model. The Tip interface defines the attributes,
one of which is:
@property (retain) NSString *tipName;
Tip's implementation
Are there any examples of using a NSPopupButtonCell to draw images for
the popup choices?
I have a table view where one column uses NSPopupButtonCell to present
choices. It's currently showing the name of the choice, but I'd like
to show an image instead. This is all bindings, of course,
I've got an NSTableView with multiple text column and I'd like to be
able to control where a drop of some text goes based on in which
column the user is making the drop. Since the validateDrop: member
function of the table's data source does not provide a 'proposed
column', I'm going to gue
12 matches
Mail list logo