BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 09-04-2009, 02:51 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2009
Model: 8800
PIN: N/A
Carrier: Vodafone
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Anchor positioning for drawBitmap

Please Login to Remove!

Hi. I'm porting an application on Blackberry and I want to use RIM's API. I noticed that the drawBitmap and drawImage methods don't offer the possibility of changing the anchor position. Is there any other way to do this or I have to make the drawings starting from the default top-left corner?
Offline  
Old 09-10-2009, 05:20 AM   #2 (permalink)
New Member
 
Join Date: Sep 2009
Model: Storm
PIN: N/A
Carrier: Vodafone
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

The anchor position is always the top left region of what the Graphics object can draw. I guess the only thing you can do is programatically calculate the x and y anchor values based on whatever you need.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

New In Box Siemens DC INVERTER SIMOVERT VC 6SE7026-0TD61
$7498.0
New In Box Siemens DC INVERTER SIMOVERT VC 6SE7026-0TD61 pictureNew Siemens 6AV6 542-0CC10-0AX0 HMI 6AV6542-0CC10-0AX0 6AV65420CC100AX0
$4430.0
New Siemens 6AV6 542-0CC10-0AX0 HMI 6AV6542-0CC10-0AX0 6AV65420CC100AX0 pictureNew In Box Siemens TD200 6ES7 272-0AA30-0YA1 6ES7272-0AA30-0YA1
$260.0
New In Box Siemens TD200 6ES7 272-0AA30-0YA1 6ES7272-0AA30-0YA1 pictureNew SAX61.03 Siemens Valve Actuator DHL Free
$372.0
New SAX61.03 Siemens Valve Actuator DHL Free pictureNew Sealed SIEMENS HMI MP270B 6AV6 545-0AG10-0AX0 6AV6545-0AG10-0AX0
$4022.0
New Sealed SIEMENS HMI MP270B 6AV6 545-0AG10-0AX0 6AV6545-0AG10-0AX0 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.