C# 클래스 SubLib.Core.Timing.FrameRateOperator

Performs frame rate operations.
파일 보기 프로젝트 열기: GNOME/gnome-subtitles 1 사용 예제들

공개 메소드들

메소드 설명
ChangeCurrent ( float frameRate ) : void

Changes the current frame rate of the subtitles.

This changes the frame rate currently being used with the subtitles, which is sometimes refered to as the output frame rate.

ChangeOriginal ( float frameRate ) : void

Updates the subtitles' frames using the specified frame rate as the one they had when they were opened.

This results on having the subtitles with the frames they would have if they had been opened with this frame rate. The original frame rate is sometimes refered to as the input frame rate.

FrameRateOperator ( Subtitles subtitles ) : SubLib.Core.Domain

메소드 상세

ChangeCurrent() 공개 메소드

Changes the current frame rate of the subtitles.
This changes the frame rate currently being used with the subtitles, which is sometimes refered to as the output frame rate.
public ChangeCurrent ( float frameRate ) : void
frameRate float The new frame rate to be used.
리턴 void

ChangeOriginal() 공개 메소드

Updates the subtitles' frames using the specified frame rate as the one they had when they were opened.
This results on having the subtitles with the frames they would have if they had been opened with this frame rate. The original frame rate is sometimes refered to as the input frame rate.
public ChangeOriginal ( float frameRate ) : void
frameRate float The original subtitles' frame rate.
리턴 void

FrameRateOperator() 공개 메소드

public FrameRateOperator ( Subtitles subtitles ) : SubLib.Core.Domain
subtitles SubLib.Core.Domain.Subtitles
리턴 SubLib.Core.Domain