Exemple #1
0
ECode CPicture::GetHeight(
    /* [out] */ Int32* height)
{
    VALIDATE_NOT_NULL(height);
    *height = NativeGetHeight(mNativePicture);
    return NOERROR;
}
Exemple #2
0
/** @param pHeight the original image's height */
ECode CLargeBitmap::GetHeight(
    /* [out] */ Int32* height)
{
    VALIDATE_NOT_NULL(height);

    FAIL_RETURN(CheckRecycled("getHeight called on recycled large bitmap"));
    *height =  NativeGetHeight(mNativeLargeBitmap);
    return NOERROR;
}