/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.openzen.drawablegui; /** * * @author Hoofdgebruiker */ public interface DDrawingContext { float getScale(); void repaint(int x, int y, int width, int height); void setCursor(Cursor cursor); void focus(DComponent component); void scrollInView(int x, int y, int width, int height); DFontMetrics getFontMetrics(DFont font); enum Cursor { NORMAL, HAND, MOVE, TEXT, E_RESIZE, S_RESIZE, NE_RESIZE, NW_RESIZE, } }