Ask a Question related to Mac Programming, Design and Development.
-
Dad #1
QuickDraw view bug?
I have a customized QuickDraw view in my nib-based Obj-C Project. It
is a background image that covers the entire main window.
Intermittently only a small rectangle of the overall image is drawn, as
if it is clipped or something. What is drawn is drawn correctly, but
the rest of the window's image is never drawn. Forcing updates doesn't
correct the problem, but quitting and relaunching often does. It
appears to be memory related, because doing something different often
restores the full image.
I have a window that is drawn initially then removed before the main
window is displayed, but it's position and size don't correspond to the
portion being displayed, only being similar in size.
Thanks for any help!
Bill Patterson
Dad Guest
-
View-View Event Processing
I am not getting View to View Event processing to work. I have looked through most of the Flex 2 and Flex 3 docs plus several of the Flex books to... -
DW Split View - Design View
When working in DW in Split View, when the user clicks into the Design View window the view automatically updates the view if code view has changed.... -
HIViews and Quickdraw
Hi, In order to support brush metal, I am adapting my Carbon Quickdraw framework to support compositing. Everything works fine for standard... -
QuickDraw MacGraw Style
Disclaimer: I would have posted this on PVII Newsgroups, but I can't from work - plus someone here may learn from it. I have tried to duplicate... -
Wierd error when going to Design View from HTML view
When I go from HTML view (in a webform) to Design View I get the following error: Could not open in Design view. Quote values differently inside a... -
Dad #2
Re: QuickDraw view bug?
> In <130820031458115074%BillPat@iadfw.net> Dad wrote:
Thanks for the suggestions.>> > I have a customized QuickDraw view in my nib-based Obj-C Project. It
> > is a background image that covers the entire main window.
> > Intermittently only a small rectangle of the overall image is drawn,
> > as if it is clipped or something.
> How to draw:
>
> [url]http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&[/url]
> selm=20030803142726811-0700%40news.la.sbcglobal.net
>
> Oh, and one more thing. Don't pay any attention, in drawRect, to the
> incoming rect parameter. Just draw your whole frame.
>
> m.
I was already hard-coding the rectangle to draw. Intermittently it
works fine, but a subsequent quit and relaunch may draw incorrectly.
The incorrect location and size is consistent each time it fails to
draw correctly.
I am using the source from one of Apple's sample which is a subclass of
QuickDrawView, so I believe it is subclassed to NSView through that.
I am not manually calling the drawRect routine anywhere, although it
certainly looks to me like somehow the active port is wrong or a
clipping region hasn't been properly set. Note that other objects on
top of this picture draw correctly at all times.
Any more suggestions?
Thanks,
Bill P
Dad Guest



Reply With Quote

