Objective-C API Library Reference  4.3.0-42-g45f162a
 All Classes Functions Typedefs Properties Pages
Public Functions | Properties | List of all members
PWCollaborationLayer Class Reference

The PWCollaborationLayer class renders markup on the acetate layer for a given view.

Constructors

(id) - initWithView:
 

Public Functions

(void) - clear
 
(CGPoint) - localToNormalized:
 
(CGPoint) - localToSource:
 
(CGPoint) - normalizedToLocal:
 
(CGPoint) - sourceToLocal:
 

Properties

PWFrameworkframework
 
CALayer * markupLayer
 
PWAcetateToolsettoolset
 
PWViewview
 

Methods Descriptions

- (void) clear

Clears all markup.

- (id) initWithView: (PWView *)  view

Initializes a new instance of PWCollaborationLayer.

- (CGPoint) localToNormalized: (CGPoint)  local

Takes a point expressed as local coordinates and converts it into normalized coordinates.

- (CGPoint) localToSource: (CGPoint)  local

Takes a point expressed as local coordinates and converts it into coordinates of the back buffer image (source coordinates).

- (CGPoint) normalizedToLocal: (CGPoint)  normalized

Takes a point expressed as normalized coordinates and converts it into local coordinates.

- (CGPoint) sourceToLocal: (CGPoint)  source

Takes a point expressed as image (source coordinates) coordinates and converts it into local coordinates.

Properties Descriptions

- (PWFramework*) framework
readnonatomicweak

The framework of the client for which rendering will be done.

- (CALayer*) markupLayer
readnonatomicassign

The CoreAnimation layer for the markup.

- (PWAcetateToolset*) toolset
readwritenonatomicstrong

The toolset used for rendering.

- (PWView*) view
readnonatomicweak

The view where markup will be rendered.