API  1.0.0
CPView(Scaling) Category Reference

Instance Methods

(CGSize) - scaleSize
 
(void) - setScaleSize:
 

Detailed Description

Definition at line 3217 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 3243 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 3224 of file CPView.j.


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