package pfff

  1. Overview
  2. Docs
Tools and APIs for program analysis, code visualization, refactoring

Install

Dune Dependency

Authors

Maintainers

Sources

0.39.5.tar.gz
md5=e23dbd320a8681b74315162a02bf97a7
sha512=2998432bcd6d9a459331d733c4446d35459d42787fcf2fd332d3ec5131a4d358bb8f060b45d38696bcd584e1eaa8c1b21b82d7d3005e83c1ecefd22fec842ee7

doc/pfff-h_visualization/Figures/index.html

Module Figures

type point = {
  1. x : float;
  2. y : float;
}
type rectangle = {
  1. p : point;
  2. q : point;
}
val s_of_rectangle : rectangle -> string
val rect_width : rectangle -> float
val rect_height : rectangle -> float
val rect_area : rectangle -> float
val valid_rect : rectangle -> bool
val point_is_in_rectangle : point -> rectangle -> bool
val intersection_rectangles : rectangle -> rectangle -> rectangle option
type point_pixel = {
  1. xpix : int;
  2. ypix : int;
}
type rect_pixel = {
  1. lower_left : point_pixel;
  2. upper_right : point_pixel;
}
val rect_pixel_width : rect_pixel -> int
val rect_pixel_height : rect_pixel -> int
val random_point_in_rect_pixel : rect_pixel -> point_pixel
OCaml

Innovation. Community. Security.