equal
deleted
inserted
replaced
214 break; |
214 break; |
215 case EReferencePointVisualRight: |
215 case EReferencePointVisualRight: |
216 // the bottom right corner of a rect is actually outside the rect |
216 // the bottom right corner of a rect is actually outside the rect |
217 aDefaultValue = aVisualRect.iBr.iX; |
217 aDefaultValue = aVisualRect.iBr.iX; |
218 break; |
218 break; |
|
219 case EReferencePointDisplayHeightMinusVisualTop: |
|
220 { |
|
221 TReal32 height = aEngine.GetReferenceValue( aRef ); // this will be display.height |
|
222 height -= aVisualRect.iTl.iY; |
|
223 aDefaultValue = height; |
|
224 break; |
|
225 } |
219 default: |
226 default: |
220 // This will return reference points that depend on display size |
227 // This will return reference points that depend on display size |
221 aDefaultValue = aEngine.GetReferenceValue( aRef ); |
228 aDefaultValue = aEngine.GetReferenceValue( aRef ); |
222 break; |
229 break; |
223 } |
230 } |