Make bezier control point coordinates relative
authorSam Moore <matches@ucc.asn.au>
Thu, 14 Aug 2014 16:48:03 +0000 (00:48 +0800)
committerSam Moore <matches@ucc.asn.au>
Thu, 14 Aug 2014 16:48:03 +0000 (00:48 +0800)
commite88c1ef58e2446cf57d5f7b0d5d4e5bfff0b8c37
treeba9a6d9db469aa9cac1de6ba8d5d267333f7191c
parentda646c739f87bf28c5a7af2bc180b93b3444321b
Make bezier control point coordinates relative

So the quad tree should just have to care about bounding rectangles.
Also so the GPU renderer now doesn't need transforming but CPU renderer does now.

AddBezier assumes absolute coordinates and transforms to relative coordinates
AddBezierData is assuming relative coordinates.

Totally clear.

PS: Basically whatever is convenient/efficient for the GPU is inconvenient/inefficient for the CPU
and vice versa. Fun!
src/bezier.h
src/document.cpp
src/main.cpp
src/objectrenderer.cpp

UCC git Repository :: git.ucc.asn.au