Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 7a31997661
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (37 sloc) 1.689 kb
(* Yoann Padioleau
*
* Copyright (C) 2012 Facebook
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation, with the
* special exception on linking described in file license.txt.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the file
* license.txt for more details.
*)
open Common
(* floats are the norm in graphics *)
open Common.ArithFloatInfix
open Figures
module F = Figures
module Color = Simple_color
(*****************************************************************************)
(* Prelude *)
(*****************************************************************************)
(* todo: factorize with codemap/cairo_helpers.ml *)
(*****************************************************************************)
(* Text related *)
(*****************************************************************************)
(*****************************************************************************)
(* Distance conversion *)
(*****************************************************************************)
let origin = { Cairo. x = 0.; y = 0. }
(*****************************************************************************)
(* Surface *)
(*****************************************************************************)
(*****************************************************************************)
(* Misc *)
(*****************************************************************************)
Jump to Line
Something went wrong with that request. Please try again.