GithubHelp home page GithubHelp logo

afrog33k / canvasplusplus Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 508 KB

Automatically exported from code.google.com/p/canvasplusplus

C++ 75.30% Objective-C++ 18.17% Objective-C 0.44% C 1.47% HTML 4.62%

canvasplusplus's People

Contributors

thradams avatar

Watchers

 avatar

canvasplusplus's Issues

Transformations GDI

Not implemented, but I believe GDI has everthing we need to implement this 
feature.

See:

3 Transformations
http://dev.w3.org/html5/2dcontext/#dom-context-2d-scale

context . scale(x, y)
Changes the transformation matrix to apply a scaling transformation with the 
given characteristics.
context . 

rotate(angle)
Changes the transformation matrix to apply a rotation transformation with the 
given characteristics. The angle is in radians.
context . 

translate(x, y)
Changes the transformation matrix to apply a translation transformation with 
the given characteristics.
context . 

transform(a, b, c, d, e, f)
Changes the transformation matrix to apply the matrix given by the arguments as 
described below.
context . 

setTransform(a, b, c, d, e, f)
Changes the transformation matrix to the matrix given by the arguments as 
described below.


Original issue reported on code.google.com by thiago.adams on 2 Feb 2012 at 12:57

Missing font parser (GDI, D2D etc. will use the same parser)


See:
3.7 Shorthand font property: the font property
http://www.w3.org/TR/css3-fonts/#font-prop

The ‘font’ property is, except as described below, a shorthand property for 
setting ‘font-style’, ‘font-variant’, ‘font-weight’, 
‘font-size’, ‘line-height’, ‘font-family’ at the same place in the 
stylesheet.

Samples:

p { font: 12pt/14pt sans-serif }
p { font: 80% sans-serif }
p { font: x-large/110% "new century schoolbook", serif }
p { font: bold italic large Palatino, serif }
p { font: normal small-caps 120%/120% fantasy }
p { font: oblique 12pt "Helvetica Neue", serif; font-stretch: condensed }

We should be abble to write:

context.font = "12pt bold sans-serif";



Original issue reported on code.google.com by thiago.adams on 2 Feb 2012 at 12:51

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.