An object-oriented knowledge base is a database that is constructed on object data model. Using mathematical logic as formal representation, an object-oriented knowledge base can be constructed to support classification, aggregation, generalization, and association. It further extends the existing databases with procedural semantics. In this paper we describe the application of object-oriented knowledge bases as the basis for computer graphics systems. In particular, we discuss how solid objects, graphical features, and geometric constraints can be represented in logic. Furthermore, we describe the approaches to process declarative transactions, side effects, windows, and incremental interpretation taking advantages of knowledge.