package pfff

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.37.7.tar.gz
md5=d069f379342be72574b4cdc52f4ed9b4
sha512=68e9971364f5e016bad8f94bb72fd15252f19c7964424992309cdb4a9fc922dbe15d07619f500f4bcbc72f820c93d4da20f0759bb4276cd073a29a179bef9300

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.