PerspectiveWindow Class Reference

#include <perspective.h>

Inherits BC_Window.

Collaboration diagram for PerspectiveWindow:

Collaboration graph
[legend]

Public Member Functions

 PerspectiveWindow (PerspectiveMain *plugin, int x, int y)
 ~PerspectiveWindow ()
int create_objects ()
int close_event ()
int resize_event (int x, int y)
void update_canvas ()
void update_mode ()
void update_coord ()
void calculate_canvas_coords (int &x1, int &y1, int &x2, int &y2, int &x3, int &y3, int &x4, int &y4)

Data Fields

PerspectiveCanvascanvas
PerspectiveCoordx
PerspectiveCoordy
PerspectiveResetreset
PerspectiveModemode_perspective
PerspectiveModemode_sheer
PerspectiveModemode_stretch
PerspectiveMainplugin
PerspectiveDirectionforward
PerspectiveDirectionreverse

Detailed Description

Definition at line 122 of file perspective.h.


Constructor & Destructor Documentation

PerspectiveWindow::PerspectiveWindow ( PerspectiveMain plugin,
int  x,
int  y 
)

Definition at line 97 of file perspective.C.

PerspectiveWindow::~PerspectiveWindow (  ) 

Definition at line 112 of file perspective.C.


Member Function Documentation

int PerspectiveWindow::create_objects (  ) 

int PerspectiveWindow::close_event (  )  [virtual]

Reimplemented from BC_WindowBase.

int PerspectiveWindow::resize_event ( int  x,
int  y 
) [virtual]

Reimplemented from BC_WindowBase.

Definition at line 192 of file perspective.C.

void PerspectiveWindow::update_canvas (  ) 

void PerspectiveWindow::update_mode (  ) 

Definition at line 257 of file perspective.C.

References forward, mode_perspective, mode_sheer, mode_stretch, AffineEngine::PERSPECTIVE, plugin, reverse, AffineEngine::SHEER, AffineEngine::STRETCH, and BC_Toggle::update().

Here is the call graph for this function:

void PerspectiveWindow::update_coord (  ) 

Definition at line 266 of file perspective.C.

References PerspectiveMain::get_current_x(), PerspectiveMain::get_current_y(), plugin, BC_TumbleTextBox::update(), x, and y.

Here is the call graph for this function:

void PerspectiveWindow::calculate_canvas_coords ( int &  x1,
int &  y1,
int &  x2,
int &  y2,
int &  x3,
int &  y3,
int &  x4,
int &  y4 
)

Definition at line 272 of file perspective.C.

References canvas, BC_WindowBase::get_h(), BC_WindowBase::get_w(), BC_WindowBase::h, AffineEngine::PERSPECTIVE, plugin, AffineEngine::STRETCH, and BC_WindowBase::w.

Referenced by update_canvas().

Here is the call graph for this function:


Field Documentation

Definition at line 143 of file perspective.h.

Referenced by calculate_canvas_coords(), create_objects(), and update_canvas().

Reimplemented from BC_WindowBase.

Definition at line 144 of file perspective.h.

Referenced by create_objects(), and update_coord().

Reimplemented from BC_WindowBase.

Definition at line 144 of file perspective.h.

Referenced by create_objects(), and update_coord().

Definition at line 145 of file perspective.h.

Definition at line 146 of file perspective.h.

Referenced by create_objects(), and update_mode().

Definition at line 146 of file perspective.h.

Referenced by create_objects(), and update_mode().

Definition at line 146 of file perspective.h.

Referenced by create_objects(), and update_mode().

Definition at line 148 of file perspective.h.

Referenced by create_objects(), and update_mode().

Definition at line 148 of file perspective.h.

Referenced by create_objects(), and update_mode().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:35:11 2008 for Cinelerra by  doxygen 1.5.5