Giter Club home page Giter Club logo

ovt's People

ovt's Issues

Remove cairo dependency for placement

Placement depends on the cairo stroke_extents and fill_extents to bound the
objects being placed. This is slow and a bit error-prone.

The hangup is that I don't know the extents of text primitives without
cairo. Perhaps this will be a special case, but I should be able to remove
the dependency for other primitives.

Original issue reported on code.google.com by [email protected] on 16 Jul 2007 at 9:55

Improve errors and exceptions

The current exceptions were written without much consideration. They don't
provide much useful information and some are probably unnecessary.

Original issue reported on code.google.com by [email protected] on 16 Jul 2007 at 10:02

Prefer round numbers for ticks and bounds

When ticks or data scaling are determined from the data, prefer round
numbers near the real bounds rather than the real bounds themselves. This
should be easier to interpret.

Original issue reported on code.google.com by [email protected] on 29 Jul 2007 at 10:02

Labels do not appear centered

Labels should be centered at the point given to the `Label constructor.
With regard to ticks, they appear just to the right of center.

Original issue reported on code.google.com by [email protected] on 26 Jun 2007 at 10:22

Handle attributes cleanly

Attributes like color and line thickness pertain to both primitives and
datasets. Some attributes are meaningful only for a subset of primitives
while others may apply to all. Some may have reasonable defaults. It will
be necessary to discriminate between a value specified by the user and a
default value. It would be nice for attributes to be as uniform as possible
across primitives and datasets. It would be nice to be able to add
attributes easily.

Original issue reported on code.google.com by [email protected] on 24 Jul 2007 at 5:11

cairo-ocaml doesn't build against ocaml 3.10

Building cairo-ocaml from cvs fails. To fix it, swap the order of includes
in src/ml_cairo_bigarr.c so that ml_cairo.h comes before caml/bigarray.h.
This fix should be submitted to cairo-ocaml.

The error:
{{{
make[1]: Entering directory `/home/yminsky/src/cairo-ocaml/src'
ocamlc.opt -ccopt "-g -I/usr/include/cairo -I/usr/include/freetype2
-I/usr/include/libpng12  " ml_cairo_bigarr.c
ml_cairo_bigarr.c:13: warning: 'struct caml_bigarray' declared inside
parameter list
ml_cairo_bigarr.c:13: warning: its scope is only this definition or
declaration, which is probably not what you want
ml_cairo_bigarr.c: In function 'ml_bigarray_byte_size':
ml_cairo_bigarr.c:18: warning: implicit declaration of function 'Bigarray_val'
ml_cairo_bigarr.c:18: warning: passing argument 1 of 'bigarray_byte_size'
makes pointer from integer without a cast
ml_cairo_bigarr.c: In function 'ml_bigarray_kind_float':
ml_cairo_bigarr.c:24: warning: initialization makes pointer from integer
without a cast
ml_cairo_bigarr.c:26: error: dereferencing pointer to incomplete type
ml_cairo_bigarr.c:26: error: 'BIGARRAY_KIND_MASK' undeclared (first use in
this function)
ml_cairo_bigarr.c:26: error: (Each undeclared identifier is reported only once
ml_cairo_bigarr.c:26: error: for each function it appears in.)
ml_cairo_bigarr.c:28: error: 'BIGARRAY_FLOAT32' undeclared (first use in
this function)
ml_cairo_bigarr.c:29: error: 'BIGARRAY_FLOAT64' undeclared (first use in
this function)
ml_cairo_bigarr.c:30: error: 'BIGARRAY_COMPLEX32' undeclared (first use in
this function)
ml_cairo_bigarr.c:31: error: 'BIGARRAY_COMPLEX64' undeclared (first use in
this function)
ml_cairo_bigarr.c:36: warning: control reaches end of non-void function
ml_cairo_bigarr.c: In function 'ml_cairo_image_surface_create_for_data':
ml_cairo_bigarr.c:42: warning: implicit declaration of function
'Data_bigarray_val'
ml_cairo_bigarr.c:46: warning: passing argument 1 of
'cairo_image_surface_create_for_data' makes pointer from integer without a cast
make[1]: *** [ml_cairo_bigarr.o] Error 2
make[1]: Leaving directory `/home/yminsky/src/cairo-ocaml/src'
make: *** [all] Error 2
}}}

Original issue reported on code.google.com by [email protected] on 9 Jul 2007 at 5:41

Add axis labels

Allow the user to specify a label for each axis and place it appropriately.

Original issue reported on code.google.com by [email protected] on 16 Jul 2007 at 10:04

Separate placement from simple scene nodes

Placement eventually gets turned in to simple scene nodes, so make this
explicit by using a separate type for structures with placement
information. Polymorphic variants might be useful here.

Original issue reported on code.google.com by [email protected] on 16 Jul 2007 at 9:51

Allow control over label placement

Labels are currently placed at the upper right of a box bounding the
labelled object. Allow labels to be placed in some relatively flexible way.
It would be reasonable to start with Left of/Right of/Above/Below.

Original issue reported on code.google.com by [email protected] on 9 Jul 2007 at 9:07

baseline.py copies baseline even if image hasn't changed

gallery.py checks for changes from the baseline by comparing image data,
not file data. This is necessary as Cairo writes timestamps to PNGs. If the
image data has not changed, gallery.py should not update the baseline as
this will cause needless commits.

Original issue reported on code.google.com by [email protected] on 26 Jun 2007 at 6:25

Add gridlines

In addition to ticks, frame should support a grid decorator.

Original issue reported on code.google.com by [email protected] on 29 Jul 2007 at 10:08

Support text/date labels for ticks

Time series and bar charts won't work well with the current tick labeling
scheme. Support labels which do not come directly from the tick's offset value.

Original issue reported on code.google.com by [email protected] on 29 Jul 2007 at 10:07

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.