50 static PT(
PNMBrush) make_transparent();
51 static PT(
PNMBrush) make_pixel(
const LColorf &color, BrushEffect effect = BE_blend);
52 static PT(
PNMBrush) make_spot(
const LColorf &color,
float radius,
bool fuzzy,
53 BrushEffect effect = BE_blend);
55 BrushEffect effect = BE_blend);
58 INLINE
float get_xc()
const;
59 INLINE
float get_yc()
const;
61 virtual void draw(
PNMImage &image,
int x,
int y,
float pixel_scale)=0;
62 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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class is used to control the shape and color of the drawing operations performed by a PNMPainter...
A base class for all things that want to be reference-counted.