Git Product home page Git Product logo

frost's Introduction

Overview

Frost is a hardware accelerated drawing and composition library written in C#. The API takes inspiration from the HTML 5 Canvas element and integrates powerful drawing, shaping, and composition APIs unified by device-based lazy resource management. The library itself does not rely upon a specific platform, but the reference implementation relies upon Windows and DirectX through SharpDX.

Use Cases

Frost is written and designed to be fast, so it should be suitable for anything ranging from texture generation in video games to UI rendering.

Usability

The project is in beta stage without much documentation. The library and reference implementation are practically complete and stable, barring the implementation of signed distance fields.

How to Use

Simply grab a copy of the repository, open the solution file in VS 2010, and build the project in release. In your own projects, if you use only platform agnostic functionality, just reference Frost.dll in your project. If you need platform specific functionality, you'll need to reference all of the implementation libraries as well.

frost's People

Contributors

fealty avatar saracen avatar

Stargazers

 avatar Angus H. avatar /人 ⌒ ‿‿ ⌒ 人\ avatar  avatar Aaron Dandy avatar Ernst Naezer avatar  avatar

Watchers

 avatar

frost's Issues

Glyph Shaping & Line Breaking

Some fonts and certain scripts require that glyphs be shaped with line breaks taken into account. The current shaping code does not take line breaks into account. If need arises, the existing text pipeline can be modified to support correct shaping. First, process text as normal through to the end of the typesetting stage. Then save the breaking points determined by the typesetter. These breaking points will be processed as though they are forced. Reshape the text with the runs split by the forced line breaks. Then typeset the results with the forced line breaks. The remainder of the pipeline remains unchanged.

Report from ContractOk tool execution under Frost

Hi developer of Frost,

I have used this unit as input for a conformance checking tool called: ContractOk - https://github.com/alyssonfm/contractok, and ContractOk was able to detect some nonconformances between source code and its contracts. This report: https://drive.google.com/file/d/0B-nGK4FS2Et9OXlnU2dzV01IRkU/view?pref=2&pli=1 shows all nonconformances detected and presents a set of suggestions for fixing the problems.

Here: https://drive.google.com/file/d/0B3jqf6hjutsdLWVsSVB3RWhTQUE/view?usp=sharing there is a version of Frost with the proposed suggestions for fixing the nonconformances found by ContractOk.

If you have any question, contact me at: alyssonfilgueira at copin.ufcg.edu.br

Typesetter: Failure

The current strategy of attempting to set a paragraph five times, increasing the tolerance each pass, before aborting with a forced set is inadequate. Ideally, the typeset will always succeed. The success may not be optimally broken, but it should never cause overfull lines. This may require adding more elements such as micro-typography or a number of TeX features to defer the probability of failure. It may just have to be left up to the API user to deal with typesetting failure.

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.