Re: OSC canvas width/height
site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=tWO5ufib9XBlF8zy9jvoXlQKoNilcsWo4aw++Yu0ZDQ=; b=XGeViPbnBbvK7bp8QyfVbHHSYT5XgB0qHHlofS8CSnPlsoLUXMzpapOj3GmZ9Tx807 G8YUPtqKVezAjaSNvIZDHAzTgwTkbwzkc5qsuup1mt2zz374Wgu8RrN+ZdsopePToBju u5f1RwVKJBOToBR8ZzG8U0EnuGW0xDwuLSIA4= Yes we are drawing in canvas space. I guess for now we'll have to put the buttons lower left and I'll file a feature request. thanks Martin www.digital-heaven.co.uk www.twitter.com/digitalheaven www.videospaceonline.com www.finalcutters.com ------------------------------------------------------ Digital Heaven Ltd is registered in England and Wales Company registration number: 3628396 Registered address: 55 Lynwood Drive, Worcester Park, Surrey KT4 7AE VAT registration number: GB 736 0989 03 On 14 Sep 2011, at 17:39, Darrin Cardani wrote:
Martin,
That's an interesting question. I'll assume you're drawing in canvas space (kFxDrawingCoordinates_CANVAS), since I think that's the only way you'll be able to draw where you want for this. (0, 0) is always the lower left corner. I don't think we have a way of getting the width and height of the canvas, though. I was thinking you might be able to convert from one space to another, but I don't think that works in this case. You may be constrained to the bottom and left edges. Please file a bug (or really enhancement request) on this.
Darrin
On Sep 14, 2011, at 8:41 AM, Martin Baker wrote:
We need to draw some buttons in the OSC similar to how FCPX's trim/crop/ken burns are shown.
How can we find out the width and height of the canvas to position the buttons in the top left of the canvas?
Martin Baker www.digital-heaven.co.uk www.twitter.com/digitalheaven www.videospaceonline.com www.finalcutters.com ------------------------------------------------------ Digital Heaven Ltd is registered in England and Wales Company registration number: 3628396 Registered address: 55 Lynwood Drive, Worcester Park, Surrey KT4 7AE VAT registration number: GB 736 0989 03
_______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/dcardani%40apple.com
This email sent to dcardani@apple.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... This email sent to site_archiver@lists.apple.com
participants (1)
-
Martin Baker