|
From: | Johan Ceuppens |
Subject: | Re: Painter Fuzzy Node in github |
Date: | Wed, 17 Dec 2014 00:10:58 +1200 |
Hi Johan,
I still don't understand where this ties into Opal, which is an implementation of the CoreGraphics APIs. Which CoreGraphics APIs require this functionality to implement them? CoreGraphics is an immediate mode API - it doesn't provide any kind of scene graph. Scene graphs are built on top using CoreAnimation layers (or Cocoa Views). I'm still not sure where these fit into Opal. I'd also recommend that you read the OpenStep or Cocoa API naming conventions, as your method names are highly problematic (e.g. get methods that don't take a pointer) and you're writing very large amounts of code that could be trivially replaced with a fraction of the amount (and with significantly less overhead - creating a class is not free, each one will use at least 4KB of RAM in the runtime and you're creating a load of classes that just differ by a function that could easily be a block [or even function pointer] ivar).
Please slow down, take a step back, work out:
- What you are trying to do.
- How, if at all, it fits in with GNUstep.
- What the best way of implementing it is.
[Prev in Thread] | Current Thread | [Next in Thread] |