Skip to content

problem with painting nodes PaintTree with poUnbuffered in options and setMapMode... #1074

@johnek123

Description

@johnek123

When using mapping mode - nodes draw in incorrect positions.

setMapMode       (image.canvas.handle, MM_ANISOTROPIC);
setWindowExtEx   (image.canvas.handle, 1, 1, nil);
setViewportExtEx (image.canvas.handle, 2, 2, nil);

treeview.paintTree (
                    image.canvas,
                    rect  (0, 0, image.width, 100),
                    point (0, 0),
                    [poGridLines, poUnbuffered],
                    pfDevice
                    );

image
vt.paint.tree.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Low PriorityPull Requests InvitedThere are no current plans to address the issue, but we would be happy if someone supplies a PR.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions