calcPositionForGeometry function
CameraPosition
calcPositionForGeometry(
- BaseCamera camera,
- Geometry geometry,
- StyleZoomToTiltRelation? styleZoomToTiltRelation,
- Padding? screenArea,
- Tilt? tilt,
- Bearing? bearing,
- ScreenSize? size,
Implementation
CameraPosition calcPositionForGeometry(
BaseCamera camera,
Geometry geometry,
StyleZoomToTiltRelation? styleZoomToTiltRelation,
Padding? screenArea,
Tilt? tilt,
Bearing? bearing,
ScreenSize? size
){
var _a0 = camera._copyFromDartTo_CBaseCamera();
var _a1 = geometry._copyFromDartTo_CGeometry();
var _a2 = styleZoomToTiltRelation._copyFromDartTo_COptional_CStyleZoomToTiltRelation();
var _a3 = screenArea._copyFromDartTo_COptional_CPadding();
var _a4 = tilt._copyFromDartTo_COptional_CTilt();
var _a5 = bearing._copyFromDartTo_COptional_CBearing();
var _a6 = size._copyFromDartTo_COptional_CScreenSize();
_CCameraPosition res = _CFunction_G_calcPositionForGeometry_With_CBaseCamera_CGeometry_COptional_CStyleZoomToTiltRelation_COptional_CPadding_COptional_CTilt_COptional_CBearing_COptional_CScreenSize(_a0, _a1, _a2, _a3, _a4, _a5, _a6);
_a2._releaseIntermediate();
_a1._releaseIntermediate();
_a0._releaseIntermediate();
return res._toDart();
}