This repository has been archived by the owner on Jun 4, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* code_graph/: added view_matrix.ml and more files
- Loading branch information
Yoann Padioleau
authored and
Yoann Padioleau
committed
May 18, 2012
1 parent
451d4df
commit 8303335
Showing
6 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
(* 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 | ||
|
||
(*****************************************************************************) | ||
(* Prelude *) | ||
(*****************************************************************************) | ||
|
||
(* todo: factorize with codemap/cairo_helpers.ml *) | ||
|
||
|
||
(*****************************************************************************) | ||
(* Text related *) | ||
(*****************************************************************************) | ||
|
||
(*****************************************************************************) | ||
(* Distance conversion *) | ||
(*****************************************************************************) | ||
|
||
(*****************************************************************************) | ||
(* Surface *) | ||
(*****************************************************************************) | ||
|
||
let surface_of_pixmap pm = | ||
let cr = Cairo_lablgtk.create pm#pixmap in | ||
Cairo.get_target cr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
val _statusbar_addtext: (string -> unit) ref | ||
val _set_title: (string -> unit) ref |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
(* 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 | ||
|
||
module CairoH = Cairo_helpers3 | ||
|
||
(*****************************************************************************) | ||
(* Prelude *) | ||
(*****************************************************************************) | ||
|
||
(*****************************************************************************) | ||
(* Painting *) | ||
(*****************************************************************************) | ||
|
||
let paint w = | ||
raise Todo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
val paint: Model3.world -> unit |
Empty file.
Empty file.