Getting roundWidth or roundHeight with Internals Toolbox

External developers... This forum's for you!

Getting roundWidth or roundHeight with Internals Toolbox

Postby HairyHighlandCow » Sat Nov 19, 2016 4:56 am

Hi,
Is it possible to access the 'roundWidth' or 'roundHeight' properties of a roundrect draw graphic using the internals toolbox? The 'GetSetObjInfo' sample project is pretty comprehensive, but I can't find any reference to 'roundWidth' in there, or in the internals toolbox header file 'InternalsToolbox_472.h'.
All the best,
Alec
Externals, projects and software made with SC:
www.hairyhighlandcow.net/software/SC-projects.html
User avatar
HairyHighlandCow
 
Posts: 229
Joined: Sun Jul 06, 2008 1:45 pm
Location: London, UK

Re: Getting roundWidth or roundHeight with Internals Toolbox

Postby codegreen » Sat Nov 19, 2016 10:28 am

I don't think there's a way at present.

Are you asking out of curiosity, or do you have a real use/need for this?

-Mark
codegreen
 
Posts: 1472
Joined: Mon Jul 14, 2008 11:03 pm

Re: Getting roundWidth or roundHeight with Internals Toolbox

Postby HairyHighlandCow » Sun Nov 20, 2016 5:05 am

Hi Mark,
I'm making an external which draws graphics into picturedata. One setting it has reads information about the draw graphic it is targeting. So given the name of a graphic, it can find out what type it is e.g. Oval and adjust drawing automatically for that shape type. For roundrects, I can always add an extra parameter to pass the external the roundwidth and roundheight. It would be useful to have access to these properties in the Internals Toolbox at some point, however.
All the best,
Alec
Externals, projects and software made with SC:
www.hairyhighlandcow.net/software/SC-projects.html
User avatar
HairyHighlandCow
 
Posts: 229
Joined: Sun Jul 06, 2008 1:45 pm
Location: London, UK

Re: Getting roundWidth or roundHeight with Internals Toolbox

Postby codegreen » Sun Nov 20, 2016 11:20 am

Makes sense...

Done.

-Mark
codegreen
 
Posts: 1472
Joined: Mon Jul 14, 2008 11:03 pm

Re: Getting roundWidth or roundHeight with Internals Toolbox

Postby HairyHighlandCow » Mon Nov 21, 2016 11:15 am

Thanks Mark!
Externals, projects and software made with SC:
www.hairyhighlandcow.net/software/SC-projects.html
User avatar
HairyHighlandCow
 
Posts: 229
Joined: Sun Jul 06, 2008 1:45 pm
Location: London, UK


Return to Xcode and the Internals Toolbox

Who is online

Users browsing this forum: No registered users and 1 guest

cron