Lines Matching defs:SurfaceImpl
167 class SurfaceImpl : public Surface {
177 SurfaceImpl();
178 ~SurfaceImpl();
227 SurfaceImpl::SurfaceImpl() :
232 SurfaceImpl::~SurfaceImpl() {
236 void SurfaceImpl::Init(WindowID wid) {
249 void SurfaceImpl::Init(SurfaceID hdc_, WindowID) {
254 void SurfaceImpl::InitPixMap(int width, int height, Surface *WXUNUSED(surface_), WindowID) {
265 void SurfaceImpl::Release() {
279 bool SurfaceImpl::Initialised() {
284 void SurfaceImpl::PenColour(ColourAllocated fore) {
288 void SurfaceImpl::BrushColour(ColourAllocated back) {
292 void SurfaceImpl::SetFont(Font &font_) {
298 int SurfaceImpl::LogPixelsY() {
302 int SurfaceImpl::DeviceHeightFont(int points) {
306 void SurfaceImpl::MoveTo(int x_, int y_) {
311 void SurfaceImpl::LineTo(int x_, int y_) {
317 void SurfaceImpl::Polygon(Point *pts, int npts, ColourAllocated fore, ColourAllocated back) {
323 void SurfaceImpl::RectangleDraw(PRectangle rc, ColourAllocated fore, ColourAllocated back) {
329 void SurfaceImpl::FillRectangle(PRectangle rc, ColourAllocated back) {
335 void SurfaceImpl::FillRectangle(PRectangle rc, Surface &surfacePattern) {
337 if (((SurfaceImpl&)surfacePattern).bitmap)
338 br = wxBrush(*((SurfaceImpl&)surfacePattern).bitmap);
346 void SurfaceImpl::RoundedRectangle(PRectangle rc, ColourAllocated fore, ColourAllocated back) {
358 void SurfaceImpl::AlphaRectangle(PRectangle rc, int cornerSize,
444 void SurfaceImpl::Ellipse(PRectangle rc, ColourAllocated fore, ColourAllocated back) {
450 void SurfaceImpl::Copy(PRectangle rc, Point from, Surface &surfaceSource) {
453 ((SurfaceImpl&)surfaceSource).hdc,
457 void SurfaceImpl::DrawTextNoClip(PRectangle rc, Font &font, int ybase,
470 void SurfaceImpl::DrawTextClipped(PRectangle rc, Font &font, int ybase,
485 void SurfaceImpl::DrawTextTransparent(PRectangle rc, Font &font, int ybase,
501 void SurfaceImpl::MeasureWidths(Font &font, const char *s, int len, int *positions) {
541 int SurfaceImpl::WidthText(Font &font, const char *s, int len) {
551 int SurfaceImpl::WidthChar(Font &font, char ch) {
563 int SurfaceImpl::Ascent(Font &font) {
571 int SurfaceImpl::Descent(Font &font) {
578 int SurfaceImpl::InternalLeading(Font &WXUNUSED(font)) {
582 int SurfaceImpl::ExternalLeading(Font &font) {
589 int SurfaceImpl::Height(Font &font) {
594 int SurfaceImpl::AverageCharWidth(Font &font) {
599 int SurfaceImpl::SetPalette(Palette *WXUNUSED(pal), bool WXUNUSED(inBackGround)) {
603 void SurfaceImpl::SetClip(PRectangle rc) {
607 void SurfaceImpl::FlushCachedState() {
610 void SurfaceImpl::SetUnicodeMode(bool unicodeMode_) {
614 void SurfaceImpl::SetDBCSMode(int WXUNUSED(codePage)) {
620 return new SurfaceImpl;