Method | Description | |
---|---|---|
FrameToSec ( int frame ) : double |
Converts frames to seconds
|
|
GetVideoClipDraggyShoveIndex ( Vidka.Core.EditorDraggy draggy ) : int |
Returns index of the clip before which the draggy should be inserted had it been dropped
|
|
ProjectDimensions ( |
||
SecToFrame ( double sec ) : int |
Converts seconds to frames
|
|
collision_audio ( int x ) : |
||
collision_main ( int x ) : |
||
collision_mainEases ( int x ) : |
||
collision_original_all ( int x, int w, IEnumerable |
||
collision_original_one ( int x, int w, long totalLengthFrames, long start, long end ) : bool |
this returns just the bool because the collision choice is the one clip But calling this prepares the lastCollision_? variables
|
|
collision_whatTimeline ( int y, int h ) : ProjectDimensionsTimelineType | ||
convert_AbsX2Frame ( int x ) : long |
Converts x-coordinate (absolute) to frame. Used in deltaX --> nFrames conversion
|
|
convert_AbsX2Seconds ( int x ) : float | ||
convert_Frame2ScreenX ( long frame ) : int |
Converts frame to x-coordinate on screen
|
|
convert_Frame2ScreenX_OriginalTimeline ( long frame, long lengthFile, int screenW ) : int |
Converts frmae to x-coordinate (on screen!!!) on the original timeline
|
|
convert_FrameToAbsX ( long frame ) : int |
Converts frame to x-coordinate (absolute)
|
|
convert_ScreenX2Frame ( int x ) : long |
Converts x-coordinate (on screen!!!) to frame
|
|
convert_ScreenX2Frame_OriginalTimeline ( int x, long lengthFile, int screenW ) : long |
Converts x-coordinate (on screen!!!) to frame on the original timeline
|
|
convert_Sec2ScreenX ( double sec ) : int |
Converts second to x-coordinate on screen. Used for draing Axis when fps is not a round int (29.9)
|
|
convert_Sec2ScreenX_OriginalTimeline ( double sec, long lengthFile, int screenW ) : int |
Converts sec to x-coordinate (on screen!!!) on the original timeline
|
|
convert_SecToAbsX ( double sec ) : int |
Converts second to x-coordinate (absolute). Used for draing Axis when fps is not a round int (29.9)
|
|
getCurrentScrollX ( ) : int |
used to grab the new scroll after a zoom operation and set it in the UI
|
|
getScreenX1_video ( |
||
getTotalWidthPixels ( ) : int | ||
getTotalWidthPixelsForceRecalc ( ) : int | ||
getY_audio1 ( int h ) : int | ||
getY_audio2 ( int h ) : int | ||
getY_main1 ( int h ) : int | ||
getY_main2 ( int h ) : int | ||
getY_main_easing1 ( int h ) : int | ||
getY_main_easing2 ( int h ) : int | ||
getY_main_half ( int h ) : int | ||
getY_original1 ( int h ) : int | ||
getY_original2 ( int h ) : int | ||
getY_original_half ( int h ) : int | ||
getY_timeAxisHeight ( int h ) : int | ||
isEvenOnTheScreen ( long frame, int w ) : bool |
just for one point
|
|
isEvenOnTheScreen ( long fStart, long fEnd, int w ) : bool |
for an actual event with start and finish (in frames)
|
|
isFromEastToWest ( long frameStart, long frameEnd, int w ) : bool |
the screen is too zoomed-in and neither of the bounds of the clip {} are not within our view [] but the middle is... {----[___]-}
|
|
setNewDimensions ( int floatPlayerWidth, int scrollbarWidth ) : void | ||
setProj ( |
||
setScroll ( int x ) : void |
Method | Description | |
---|---|---|
ZoomIn ( int mouseX, int width ) : void |
This changes scrollx and projectWidth
|
|
ZoomOut ( int mouseX, int width ) : void |
This changes scrollx and projectWidth
|
|
calculateCollision_proj ( int x, long frameStart, long frameLength ) : bool |
Common collision helper. Calculates collision with objects relative to entire project timeline (as opped to "original" which has its own measure system)
|
|
changeZoom ( float factor, int mouseX, int width ) : void |
This changes scrollx and projectWidth
|
|
init ( ) : void | ||
recalculateProjectWidth ( ) : int |
public GetVideoClipDraggyShoveIndex ( Vidka.Core.EditorDraggy draggy ) : int | ||
draggy | Vidka.Core.EditorDraggy | |
return | int |
public ProjectDimensions ( |
||
proj | ||
return | System |
public collision_audio ( int x ) : |
||
x | int | |
return |
public collision_main ( int x ) : |
||
x | int | |
return |
public collision_mainEases ( int x ) : |
||
x | int | |
return |
public collision_original_all ( int x, int w, IEnumerable |
||
x | int | |
w | int | |
clips | IEnumerable |
|
return |
public collision_original_one ( int x, int w, long totalLengthFrames, long start, long end ) : bool | ||
x | int | |
w | int | |
totalLengthFrames | long | |
start | long | |
end | long | |
return | bool |
public collision_whatTimeline ( int y, int h ) : ProjectDimensionsTimelineType | ||
y | int | |
h | int | |
return | ProjectDimensionsTimelineType |
public convert_AbsX2Seconds ( int x ) : float | ||
x | int | |
return | float |
public convert_Frame2ScreenX ( long frame ) : int | ||
frame | long | |
return | int |
public convert_Frame2ScreenX_OriginalTimeline ( long frame, long lengthFile, int screenW ) : int | ||
frame | long | |
lengthFile | long | |
screenW | int | |
return | int |
public convert_FrameToAbsX ( long frame ) : int | ||
frame | long | |
return | int |
public convert_ScreenX2Frame ( int x ) : long | ||
x | int | |
return | long |
public convert_ScreenX2Frame_OriginalTimeline ( int x, long lengthFile, int screenW ) : long | ||
x | int | |
lengthFile | long | |
screenW | int | |
return | long |
public convert_Sec2ScreenX ( double sec ) : int | ||
sec | double | |
return | int |
public convert_Sec2ScreenX_OriginalTimeline ( double sec, long lengthFile, int screenW ) : int | ||
sec | double | |
lengthFile | long | |
screenW | int | |
return | int |
public convert_SecToAbsX ( double sec ) : int | ||
sec | double | |
return | int |
public getScreenX1_video ( |
||
vclip | ||
return | int |
public getTotalWidthPixelsForceRecalc ( ) : int | ||
return | int |
public isEvenOnTheScreen ( long frame, int w ) : bool | ||
frame | long | |
w | int | |
return | bool |
public isEvenOnTheScreen ( long fStart, long fEnd, int w ) : bool | ||
fStart | long | |
fEnd | long | |
w | int | |
return | bool |
public isFromEastToWest ( long frameStart, long frameEnd, int w ) : bool | ||
frameStart | long | |
frameEnd | long | |
w | int | |
return | bool |
public setNewDimensions ( int floatPlayerWidth, int scrollbarWidth ) : void | ||
floatPlayerWidth | int | |
scrollbarWidth | int | |
return | void |
public setProj ( |
||
proj | ||
return | void |