API  0.9.10
CPView(Scaling) Category Reference

Instance Methods

(CGSize) - scaleSize
 
(void) - setScaleSize:
 

Detailed Description

Definition at line 3176 of file CPView.j.

Method Documentation

◆ scaleSize()

- (CGSize) scaleSize
implementation

Return the scaleSize of the view, this scaleSize is used to scale in css

Extends class CPView.

Definition at line 3202 of file CPView.j.

◆ setScaleSize:()

- (void) setScaleSize: (CGSize)  aSize
implementation

Set the zoom of the view. This will call scaleUnitSquareToSize: and setNeedsDisplay: This method doesn't care about the last zoom you set in the view

Parameters
aSize,thesize corresponding the new unit scales

Extends class CPView.

Definition at line 3183 of file CPView.j.


The documentation for this category was generated from the following file: