I know that it's deprecated, and has been for a long time. However, I have a C++ browser plugin that still uses QuickDraw, and it isn't updating correctly. When I push a button, or scroll, it often won't do anything until some other event forces the screen to re-draw. I've traced through, and I'm drawing at the right time, and doing a QD...
I am looking for a raster graphics framework for Mac OS X. Specifically, I want some kind of view that I can manipulate (at least conceptually) like a matrix of pixels. My program will generate the pixel data programmatically.
QuickDraw fits that description nicely, but is deprecated. As far as I can tell, there is nothing equivalent in...
I just upgraded my mac to Firefox 3.6, and now neither of my TIFF Viewing plugins work.
in 3.5, If I had Quicktime on, then I'd get the tiff, viewed through quicktime. If I had Quicktime disabled, but my own plugin, AcellViewTIFF enabled, then I would get ViewTIFF viewing the TIFF. Since I'm the author of ViewTIFF, That's how I had it ...
I'm mantaining an ancient Firefox plugin. It uses GetWindowFromPort to get
a WindowPtr object out of the NP_Port object which is the platform
specific window data in the WidowPtr object. Now it always returns NULL.
NP_Port object is non-null as is the port field (CGraphPtr) of that
object. However, without GetWindowFromPort, I no longer...
This project is a generic C++ plugin with core-graphics support. I am unable to convert a PicHandle to CGImageRef successfully. Saving off image from CFDataRef results in a bad image.
if(pic)
{
Handle thePictureFileHandle;
thePictureFileHandle = NewHandleClear(512);
HandAndHand((Handle)pic,thePictureFileHandle);
d...
Hi,
How do i draw truncated text with ATSUI?? I have a legacy app which uses QuickDraw API. it uses StringWidth , TruncString and DrawString functions. I could replace the StringWidth and DrawString with ATSUI's ATSUMeasureTextImage and ATSUDrawText. However i could not find a way to truncate a string so that it fits into a rect.
I use...