ECode CPicture::GetWidth( /* [out] */ Int32* width) { VALIDATE_NOT_NULL(width); *width = NativeGetWidth(mNativePicture); return NOERROR; }
/** @param pLength the original image's width */ ECode CLargeBitmap::GetWidth( /* [out] */ Int32* length) { VALIDATE_NOT_NULL(length); FAIL_RETURN(CheckRecycled("getWidth called on recycled large bitmap")); *length = NativeGetWidth(mNativeLargeBitmap); return NOERROR; }