18 #include "pandabase.h"
19 #include "referenceCount.h"
20 #include "pointerTo.h"
55 static PT(PNMBrush) make_transparent();
56 static PT(PNMBrush) make_pixel(
const LColorf &
color, BrushEffect effect = BE_blend);
57 static PT(PNMBrush) make_spot(
const LColorf &color,
float radius,
bool fuzzy,
58 BrushEffect effect = BE_blend);
59 static PT(PNMBrush) make_image(
const PNMImage &image,
float xc,
float yc,
60 BrushEffect effect = BE_blend);
63 INLINE
float get_xc()
const;
64 INLINE
float get_yc()
const;
66 virtual void draw(
PNMImage &image,
int x,
int y,
float pixel_scale)=0;
67 virtual void fill(
PNMImage &image,
int xfrom,
int xto,
int y,
The name of this class derives from the fact that we originally implemented it as a layer on top of t...
This class is used to control the shape and color of the drawing operations performed by a PNMPainter...
This is the base class for all three-component vectors and points.
A base class for all things that want to be reference-counted.