Property | Type | Description | |
---|---|---|---|
ImageSourceProperty |
Method | Description | |
---|---|---|
CoerceScale ( bool recompute ) : void |
Coerce the scale into being within the proper range. Optionally compute the constraints on the scale so that it will always fill the entire screen and will never get too big to be contained in a hardware surface.
|
|
ResizeImage ( bool center ) : void |
Adjust the size of the image according to the coerced scale factor. Optionally center the image, otherwise, try to keep the original midpoint of the pinch in the same spot on the screen regardless of the scale.
|
|
ScalingGifView ( ) : System.Linq | ||
ScalingGifView_Loaded ( object sender, |
||
viewport_ViewportChanged ( object sender, System e ) : void |
Either the user has manipulated the image or the size of the viewport has changed. We only care about the size.
|
Method | Description | |
---|---|---|
CoerceScaleImpl ( double viewWidth, double viewHeight, double bitmapWidth, double bitmapHeight, double scale ) : double>.Tuple |
||
SetContentProvider ( byte asset ) : void | ||
SetContentProvider ( string sourceUrl ) : void | ||
myGridGestureListener_DoubleTap ( object sender, Microsoft e ) : void | ||
myGridGestureListener_PinchCompleted ( object sender, Microsoft.Phone.Controls.PinchGestureEventArgs e ) : void | ||
myGridGestureListener_PinchDelta ( object sender, Microsoft.Phone.Controls.PinchGestureEventArgs e ) : void | ||
myGridGestureListener_PinchStarted ( object sender, Microsoft.Phone.Controls.PinchStartedGestureEventArgs e ) : void |
public CoerceScale ( bool recompute ) : void | ||
recompute | bool | Will recompute the min max scale if true. |
return | void |
public ScalingGifView_Loaded ( object sender, |
||
sender | object | |
e | ||
return | void |
public viewport_ViewportChanged ( object sender, System e ) : void | ||
sender | object | |
e | System | |
return | void |