コード例 #1
0
 /// <summary>
 /// Set image sizes for all nodes in the tre
 /// </summary>
 private void SetNewImageSize(BinaryNode node)
 {
     node.size = CalculateNewImageSize(node);
 }
コード例 #2
0
 /// <summary>
 /// Set coordinates for all nodes in the tree.
 /// </summary>
 private void SetImageCoordinate(BinaryNode node)
 {
     node.coordinates = CalculateImageCoordinates(node);
 }
コード例 #3
0
 /// <summary>
 /// Set aspect ratios of all nodes in the tree
 /// </summary>
 private void SetAspectRatio(BinaryNode node)
 {
     node.aspectRatio = CalculateAspectRatio(node);
 }