def add_object_align_init(context: 'bpy.types.Context', operator:
    'bpy.types.Operator') ->'mathutils.Matrix':
    """Return a matrix using the operator settings and view context. 

    :param context: The context to use. 
    :type context: 'bpy.types.Context'
    :param operator: The operator, checked for location and rotation properties. 
    :type operator: 'bpy.types.Operator'
    :return:  the matrix from the context and settings. 
    """
    pass
