Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QDGraphics anticts



Hello all.. Hope all is sport'E today?

Just wondering what the best object to use for this C version of making a
QDGraphics object:

-- the C version.
NewGWorldFromPtr(&gworld_ptr, k32ARGBPixelFormat,
&bounds_rect, NULL, NULL, 0, buffer->data, buffer_rowbytes);

My best guess in Java:

new QDGraphics(QDConstants.k32ARGBPixelFormat, bounds_rect);

I don9t think I need the rest of the stuff that9s in the C code above. Or is
the other QDGraphics object better:

new QDGraphics(QDConstants.k32ARGBPixelFormat, bounds_rect, null, null,
QDGraphics.kNativeSize);

Well just thought I would ask. Nether of them seem to work anyways for my
opengl texturing. Well I will get there in the end.

tops

aNt




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.