OpenShot Video Editor  2.0.0
Functions | Variables
functions.js File Reference

Misc Functions used by the OpenShot Timeline. More...

Go to the source code of this file.

Functions

function drawAudio (scope, clip_id)
 
function findElement (arr, propName, propValue)
 
function findTrackAtLocation (scope, top)
 
function getTrackContainerHeight ()
 
function hasLockedTrack (scope, top, bottom)
 
function moveBoundingBox (scope, previous_x, previous_y, x_offset, y_offset, left, top)
 
function padNumber (value, pad_length)
 
function secondsToTime (secs, fps_num, fps_den)
 
function setBoundingBox (item)
 

Variables

var bounding_box = Object()
 

Detailed Description

Misc Functions used by the OpenShot Timeline.

Author
Jonathan Thomas jonat.nosp@m.han@.nosp@m.opens.nosp@m.hot..nosp@m.org
Cody Parker cody@.nosp@m.your.nosp@m.codep.nosp@m.ro.c.nosp@m.om

LICENSE

Copyright (c) 2008-2014 OpenShot Studios, LLC http://www.openshotstudios.com/. This file is part of OpenShot Video Editor, an open-source project dedicated to delivering high quality video editing and animation solutions to the world. For more information visit http://www.openshot.org/.

OpenShot Video Editor is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

OpenShot Video Editor is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with OpenShot Library. If not, see http://www.gnu.org/licenses/.

Definition in file functions.js.

Function Documentation

function drawAudio (   scope,
  clip_id 
)

Definition at line 52 of file functions.js.

function findElement (   arr,
  propName,
  propValue 
)

Definition at line 31 of file functions.js.

function findTrackAtLocation (   scope,
  top 
)

Definition at line 140 of file functions.js.

function getTrackContainerHeight ( )

Definition at line 41 of file functions.js.

function hasLockedTrack (   scope,
  top,
  bottom 
)

Definition at line 161 of file functions.js.

function moveBoundingBox (   scope,
  previous_x,
  previous_y,
  x_offset,
  y_offset,
  left,
  top 
)

Definition at line 214 of file functions.js.

function padNumber (   value,
  pad_length 
)

Definition at line 114 of file functions.js.

function secondsToTime (   secs,
  fps_num,
  fps_den 
)

Definition at line 120 of file functions.js.

function setBoundingBox (   item)

Definition at line 182 of file functions.js.

Variable Documentation

var bounding_box = Object()

Definition at line 179 of file functions.js.